diff options
author | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
commit | 289f11acb49b6dbb3081e09bf94a86f008f55814 (patch) | |
tree | e4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/libkern | |
parent | 4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff) | |
download | FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz |
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
Diffstat (limited to 'sys/libkern')
-rw-r--r-- | sys/libkern/libkern.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/libkern/libkern.h b/sys/libkern/libkern.h index c53fcb3..e32f72d 100644 --- a/sys/libkern/libkern.h +++ b/sys/libkern/libkern.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)libkern.h 8.1 (Berkeley) 6/10/93 - * $Id: libkern.h,v 1.4 1994/09/18 23:04:25 bde Exp $ + * $Id: libkern.h,v 1.5 1994/11/14 14:56:46 bde Exp $ */ #include <sys/types.h> @@ -58,6 +58,8 @@ char *rindex __P((const char *, int)); int scanc __P((u_int, u_char *, u_char *, int)); int skpc __P((int, int, char *)); char *strcat __P((char *, const char *)); +int strcmp __P((const char *, const char *)); char *strcpy __P((char *, const char *)); size_t strlen __P((const char *)); +int strncmp __P((const char *, const char *, size_t)); char *strncpy __P((char *, const char *, size_t)); |