Include mach.h instead of string.h.
authorroland <roland>
Tue, 31 Jan 1995 20:29:03 +0000 (20:29 +0000)
committerroland <roland>
Tue, 31 Jan 1995 20:29:03 +0000 (20:29 +0000)
Use vm_size_t instead of size_t for arg and return types.

mach/mig_strncpy.c

index 27e15d1..2674693 100644 (file)
@@ -1,10 +1,9 @@
 /* Silly pointless function MiG needs.  */
 
-#include <ansidecl.h>
-#include <string.h>
+#include <mach.h>
 
-size_t
-__mig_strncpy (char *dest, char *src, size_t len)
+vm_size_t
+__mig_strncpy (char *dest, char *src, vm_size_t len)
 {
   size_t i;