diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/libkern/strlcat.c | 8 | ||||
-rw-r--r-- | sys/libkern/strlcpy.c | 10 | ||||
-rw-r--r-- | sys/libkern/strsep.c | 13 |
3 files changed, 11 insertions, 20 deletions
diff --git a/sys/libkern/strlcat.c b/sys/libkern/strlcat.c index 405389c..71c502c 100644 --- a/sys/libkern/strlcat.c +++ b/sys/libkern/strlcat.c @@ -28,12 +28,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp $"; +static char *rcsid = "$OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp $"); #endif /* LIBC_SCCS and not lint */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <string.h> diff --git a/sys/libkern/strlcpy.c b/sys/libkern/strlcpy.c index fde5ff5..30ec341 100644 --- a/sys/libkern/strlcpy.c +++ b/sys/libkern/strlcpy.c @@ -28,14 +28,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -#if 0 -static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $"; -#endif +static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $"); #endif /* LIBC_SCCS and not lint */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <string.h> diff --git a/sys/libkern/strsep.c b/sys/libkern/strsep.c index 485f651..5e9fa9f 100644 --- a/sys/libkern/strsep.c +++ b/sys/libkern/strsep.c @@ -31,17 +31,14 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#include <string.h> -#include <stdio.h> - #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + +#include <string.h> +#include <stdio.h> /* * Get next token from string *stringp, where tokens are possibly-empty |