ports/devel/mime/files/patch-util.c
Marcus Alves Grando 10a73f5a15 Fix compile when >= 6.0
PR:		88253
Submitted by:	"Boris B. Samorodov" <bsam@ipt.ru>
2005-10-31 00:47:29 +00:00

20 lines
492 B
C

--- util.c.orig Sun Oct 30 23:38:55 2005
+++ util.c Sun Oct 30 23:39:26 2005
@@ -31,7 +31,7 @@
#if 0
char *
-memmem(const char *big, int blen, const char *lit, int llen)
+memmemory(const char *big, int blen, const char *lit, int llen)
{
const char *pos;
@@ -61,7 +61,7 @@
}
const char *
-memmem(const char *T, size_t n, const char *P, size_t m)
+memmemory(const char *T, size_t n, const char *P, size_t m)
{
static unsigned int q = 4294967291u;
static unsigned int d = 256;