diff options
Diffstat (limited to 'src/lib/libc/string/bcmp.c')
-rw-r--r-- | src/lib/libc/string/bcmp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libc/string/bcmp.c b/src/lib/libc/string/bcmp.c index 2cc38baee3..4ed00975a4 100644 --- a/src/lib/libc/string/bcmp.c +++ b/src/lib/libc/string/bcmp.c | |||
@@ -32,15 +32,19 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
35 | /*static char *sccsid = "from: @(#)bcmp.c 5.6 (Berkeley) 2/24/91";*/ | 35 | static char *rcsid = "$OpenBSD: bcmp.c,v 1.4 1996/08/19 08:33:57 tholo Exp $"; |
36 | static char *rcsid = "$Id: bcmp.c,v 1.1.1.1 1995/10/18 08:42:20 deraadt Exp $"; | ||
37 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ |
38 | 37 | ||
38 | #ifndef _KERNEL | ||
39 | #include <string.h> | 39 | #include <string.h> |
40 | #else | ||
41 | #include <lib/libkern/libkern.h> | ||
42 | #endif | ||
40 | 43 | ||
41 | /* | 44 | /* |
42 | * bcmp -- vax cmpc3 instruction | 45 | * bcmp -- vax cmpc3 instruction |
43 | */ | 46 | */ |
47 | int | ||
44 | bcmp(b1, b2, length) | 48 | bcmp(b1, b2, length) |
45 | const void *b1, *b2; | 49 | const void *b1, *b2; |
46 | register size_t length; | 50 | register size_t length; |