diff options
author | obrien <obrien@FreeBSD.org> | 2001-11-07 19:55:16 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-11-07 19:55:16 +0000 |
commit | d1bf0c4841834d6932a27295f99f70d9f55e62d1 (patch) | |
tree | e47c6230efb2d221680927cb452335d70bc9bf2a /sys/libkern | |
parent | 23eb56f57ba984bdb695b66890b3bb4567b73381 (diff) | |
download | FreeBSD-src-d1bf0c4841834d6932a27295f99f70d9f55e62d1.zip FreeBSD-src-d1bf0c4841834d6932a27295f99f70d9f55e62d1.tar.gz |
rcsid[]->__FBSDID
Diffstat (limited to 'sys/libkern')
-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 |