diff src/c/memmem.c @ 920:7accd4546cf9

Fix memmem() signature; fix mono_reduce environment bookkeeping
author Adam Chlipala <adamc@hcoop.net>
date Tue, 08 Sep 2009 20:12:17 -0400
parents 782f0b4eea67
children 236dc296c32d
line wrap: on
line diff
--- a/src/c/memmem.c	Tue Sep 08 19:42:12 2009 -0400
+++ b/src/c/memmem.c	Tue Sep 08 20:12:17 2009 -0400
@@ -56,7 +56,7 @@
  * NULL if none is found.
  */
 void *
-memmem(const void *b1, const void *b2, size_t len1, size_t len2)
+memmem(const void *b1, size_t len1, const void *b2, size_t len2)
 {
         /* Initialize search pointer */
         char *sp = (char *) b1;