diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-11-28 07:16:55 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-11-28 07:16:55 +0000 |
commit | efe7545fedd75d79db801efe237e3436dfb03b21 (patch) | |
tree | b980c51375f74f25346274e2e52eb8a23aaf0b57 /lib | |
parent | 9e96ba9843efa92ef2d9357032915801b8fe6e93 (diff) |
repair libkern support (again) and add rcsids
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/string/bcmp.c | 6 | ||||
-rw-r--r-- | lib/libc/string/bzero.c | 6 | ||||
-rw-r--r-- | lib/libc/string/strcat.c | 6 | ||||
-rw-r--r-- | lib/libc/string/strcmp.c | 6 | ||||
-rw-r--r-- | lib/libc/string/strcpy.c | 6 | ||||
-rw-r--r-- | lib/libc/string/strncmp.c | 6 | ||||
-rw-r--r-- | lib/libc/string/strncpy.c | 8 |
7 files changed, 31 insertions, 13 deletions
diff --git a/lib/libc/string/bcmp.c b/lib/libc/string/bcmp.c index 2beeef82983..8dc8798f25c 100644 --- a/lib/libc/string/bcmp.c +++ b/lib/libc/string/bcmp.c @@ -1,3 +1,5 @@ +/* $OpenBSD: bcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ + /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. @@ -28,10 +30,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: bcmp.c,v 1.5 2003/06/02 20:18:38 millert Exp $"; +static char *rcsid = "$OpenBSD: bcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else #include <lib/libkern/libkern.h> diff --git a/lib/libc/string/bzero.c b/lib/libc/string/bzero.c index 7e557ecd4a8..9d8a2cef3a2 100644 --- a/lib/libc/string/bzero.c +++ b/lib/libc/string/bzero.c @@ -1,3 +1,5 @@ +/* $OpenBSD: bzero.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ + /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. @@ -28,10 +30,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: bzero.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; +static char *rcsid = "$OpenBSD: bzero.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else #include <lib/libkern/libkern.h> diff --git a/lib/libc/string/strcat.c b/lib/libc/string/strcat.c index 885822bae3e..4f9734ab9e3 100644 --- a/lib/libc/string/strcat.c +++ b/lib/libc/string/strcat.c @@ -1,3 +1,5 @@ +/* $OpenBSD: strcat.c,v 1.7 2004/11/28 07:16:54 mickey Exp $ */ + /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -28,10 +30,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strcat.c,v 1.6 2003/07/24 01:15:42 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strcat.c,v 1.7 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else #include <lib/libkern/libkern.h> diff --git a/lib/libc/string/strcmp.c b/lib/libc/string/strcmp.c index 9bda0a8d756..0fe34c28044 100644 --- a/lib/libc/string/strcmp.c +++ b/lib/libc/string/strcmp.c @@ -1,3 +1,5 @@ +/* $OpenBSD: strcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ + /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -31,10 +33,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strcmp.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else #include <lib/libkern/libkern.h> diff --git a/lib/libc/string/strcpy.c b/lib/libc/string/strcpy.c index e5c3d7dcbe8..0acd1bbadf0 100644 --- a/lib/libc/string/strcpy.c +++ b/lib/libc/string/strcpy.c @@ -1,3 +1,5 @@ +/* $OpenBSD: strcpy.c,v 1.7 2004/11/28 07:16:54 mickey Exp $ */ + /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -28,10 +30,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strcpy.c,v 1.6 2003/07/24 01:15:42 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strcpy.c,v 1.7 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else #include <lib/libkern/libkern.h> diff --git a/lib/libc/string/strncmp.c b/lib/libc/string/strncmp.c index 82420e215e1..ddab42dc759 100644 --- a/lib/libc/string/strncmp.c +++ b/lib/libc/string/strncmp.c @@ -1,3 +1,5 @@ +/* $OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ + /* * Copyright (c) 1989 The Regents of the University of California. * All rights reserved. @@ -28,10 +30,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strncmp.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else #include <lib/libkern/libkern.h> diff --git a/lib/libc/string/strncpy.c b/lib/libc/string/strncpy.c index 00493f4f7f5..d73008c6dbd 100644 --- a/lib/libc/string/strncpy.c +++ b/lib/libc/string/strncpy.c @@ -1,3 +1,5 @@ +/* $OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $ */ + /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -31,10 +33,14 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strncpy.c,v 1.4 2003/06/11 21:08:16 deraadt Exp $"; +static char *rcsid = "$OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif /* * Copy src to dst, truncating or null-padding to always copy n bytes. |