OSDN Git Service

Include real prototype for bcmp
authorEric Andersen <andersen@codepoet.org>
Mon, 23 Oct 2000 15:26:33 +0000 (15:26 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 23 Oct 2000 15:26:33 +0000 (15:26 -0000)
include/string.h

index e276db7..dcdd24f 100644 (file)
@@ -99,7 +99,7 @@ extern size_t strspn __P ((__const char *__s, __const char *__accept));
 extern char *strsignal __P ((int __sig));
 
 /* More BSD compatabilty */
-#define bcmp   memcmp
+int bcmp(const void *s1, const void *s2, size_t n);
 
 /* Linux silly hour */
 char *strfry __P ((char *));