patch-2.4.5 linux/arch/cris/lib/string.c
Next file: linux/arch/cris/mm/extable.c
Previous file: linux/arch/cris/lib/memset.c
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Tue May  1 16:04:56 2001
-  Orig file: 
v2.4.4/linux/arch/cris/lib/string.c
-  Orig date: 
Thu Feb  8 16:32:44 2001
diff -u --recursive --new-file v2.4.4/linux/arch/cris/lib/string.c linux/arch/cris/lib/string.c
@@ -31,9 +31,11 @@
 /*#                                                                         */
 /*#-------------------------------------------------------------------------*/
 
+#include <linux/types.h>
+
 void *memcpy(void *pdst,
              const void *psrc,
-             unsigned int pn)
+             size_t pn)
 {
   /* Ok.  Now we want the parameters put in special registers.
      Make sure the compiler is able to make something useful of this.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)