(mig_strncpy): Define as weak alias for __mig_strncpy.
authorroland <roland>
Tue, 24 Jan 1995 02:46:36 +0000 (02:46 +0000)
committerroland <roland>
Tue, 24 Jan 1995 02:46:36 +0000 (02:46 +0000)
mach/mig_strncpy.c

index 986fd84..27e15d1 100644 (file)
@@ -3,7 +3,7 @@
 #include <ansidecl.h>
 #include <string.h>
 
-int
+size_t
 __mig_strncpy (char *dest, char *src, size_t len)
 {
   size_t i;
@@ -18,3 +18,4 @@ __mig_strncpy (char *dest, char *src, size_t len)
   *dest = '\0';
   return i;
 }
+weak_alias (__mig_strncpy, mig_strncpy)