diff options
author | mickey <> | 2004-11-28 07:16:54 +0000 |
---|---|---|
committer | mickey <> | 2004-11-28 07:16:54 +0000 |
commit | 400dc0ede1161c72451b91080bb9b92c97ec449e (patch) | |
tree | 7341377c0ab7c6f301fccf1564b95690968413fc | |
parent | 541933b43e7adf4fc5c7e119a699dd1380faf4cd (diff) | |
download | openbsd-400dc0ede1161c72451b91080bb9b92c97ec449e.tar.gz openbsd-400dc0ede1161c72451b91080bb9b92c97ec449e.tar.bz2 openbsd-400dc0ede1161c72451b91080bb9b92c97ec449e.zip |
repair libkern support (again) and add rcsids
-rw-r--r-- | src/lib/libc/string/bcmp.c | 6 | ||||
-rw-r--r-- | src/lib/libc/string/bzero.c | 6 | ||||
-rw-r--r-- | src/lib/libc/string/strcat.c | 6 | ||||
-rw-r--r-- | src/lib/libc/string/strcmp.c | 6 | ||||
-rw-r--r-- | src/lib/libc/string/strcpy.c | 6 | ||||
-rw-r--r-- | src/lib/libc/string/strncmp.c | 6 | ||||
-rw-r--r-- | src/lib/libc/string/strncpy.c | 8 |
7 files changed, 31 insertions, 13 deletions
diff --git a/src/lib/libc/string/bcmp.c b/src/lib/libc/string/bcmp.c index 2beeef8298..8dc8798f25 100644 --- a/src/lib/libc/string/bcmp.c +++ b/src/lib/libc/string/bcmp.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: bcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ | ||
2 | |||
1 | /* | 3 | /* |
2 | * Copyright (c) 1987 Regents of the University of California. | 4 | * Copyright (c) 1987 Regents of the University of California. |
3 | * All rights reserved. | 5 | * All rights reserved. |
@@ -28,10 +30,10 @@ | |||
28 | */ | 30 | */ |
29 | 31 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char *rcsid = "$OpenBSD: bcmp.c,v 1.5 2003/06/02 20:18:38 millert Exp $"; | 33 | static char *rcsid = "$OpenBSD: bcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 34 | #endif /* LIBC_SCCS and not lint */ |
33 | 35 | ||
34 | #ifndef _KERNEL | 36 | #if !defined(_KERNEL) && !defined(_STANDALONE) |
35 | #include <string.h> | 37 | #include <string.h> |
36 | #else | 38 | #else |
37 | #include <lib/libkern/libkern.h> | 39 | #include <lib/libkern/libkern.h> |
diff --git a/src/lib/libc/string/bzero.c b/src/lib/libc/string/bzero.c index 7e557ecd4a..9d8a2cef3a 100644 --- a/src/lib/libc/string/bzero.c +++ b/src/lib/libc/string/bzero.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: bzero.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ | ||
2 | |||
1 | /* | 3 | /* |
2 | * Copyright (c) 1987 Regents of the University of California. | 4 | * Copyright (c) 1987 Regents of the University of California. |
3 | * All rights reserved. | 5 | * All rights reserved. |
@@ -28,10 +30,10 @@ | |||
28 | */ | 30 | */ |
29 | 31 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char *rcsid = "$OpenBSD: bzero.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; | 33 | static char *rcsid = "$OpenBSD: bzero.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 34 | #endif /* LIBC_SCCS and not lint */ |
33 | 35 | ||
34 | #ifndef _KERNEL | 36 | #if !defined(_KERNEL) && !defined(_STANDALONE) |
35 | #include <string.h> | 37 | #include <string.h> |
36 | #else | 38 | #else |
37 | #include <lib/libkern/libkern.h> | 39 | #include <lib/libkern/libkern.h> |
diff --git a/src/lib/libc/string/strcat.c b/src/lib/libc/string/strcat.c index 885822bae3..4f9734ab9e 100644 --- a/src/lib/libc/string/strcat.c +++ b/src/lib/libc/string/strcat.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: strcat.c,v 1.7 2004/11/28 07:16:54 mickey Exp $ */ | ||
2 | |||
1 | /* | 3 | /* |
2 | * Copyright (c) 1988 Regents of the University of California. | 4 | * Copyright (c) 1988 Regents of the University of California. |
3 | * All rights reserved. | 5 | * All rights reserved. |
@@ -28,10 +30,10 @@ | |||
28 | */ | 30 | */ |
29 | 31 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char *rcsid = "$OpenBSD: strcat.c,v 1.6 2003/07/24 01:15:42 deraadt Exp $"; | 33 | static char *rcsid = "$OpenBSD: strcat.c,v 1.7 2004/11/28 07:16:54 mickey Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 34 | #endif /* LIBC_SCCS and not lint */ |
33 | 35 | ||
34 | #ifndef _KERNEL | 36 | #if !defined(_KERNEL) && !defined(_STANDALONE) |
35 | #include <string.h> | 37 | #include <string.h> |
36 | #else | 38 | #else |
37 | #include <lib/libkern/libkern.h> | 39 | #include <lib/libkern/libkern.h> |
diff --git a/src/lib/libc/string/strcmp.c b/src/lib/libc/string/strcmp.c index 9bda0a8d75..0fe34c2804 100644 --- a/src/lib/libc/string/strcmp.c +++ b/src/lib/libc/string/strcmp.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: strcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ | ||
2 | |||
1 | /*- | 3 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | 4 | * Copyright (c) 1990 The Regents of the University of California. |
3 | * All rights reserved. | 5 | * All rights reserved. |
@@ -31,10 +33,10 @@ | |||
31 | */ | 33 | */ |
32 | 34 | ||
33 | #if defined(LIBC_SCCS) && !defined(lint) | 35 | #if defined(LIBC_SCCS) && !defined(lint) |
34 | static char *rcsid = "$OpenBSD: strcmp.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; | 36 | static char *rcsid = "$OpenBSD: strcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; |
35 | #endif /* LIBC_SCCS and not lint */ | 37 | #endif /* LIBC_SCCS and not lint */ |
36 | 38 | ||
37 | #ifndef _KERNEL | 39 | #if !defined(_KERNEL) && !defined(_STANDALONE) |
38 | #include <string.h> | 40 | #include <string.h> |
39 | #else | 41 | #else |
40 | #include <lib/libkern/libkern.h> | 42 | #include <lib/libkern/libkern.h> |
diff --git a/src/lib/libc/string/strcpy.c b/src/lib/libc/string/strcpy.c index e5c3d7dcbe..0acd1bbadf 100644 --- a/src/lib/libc/string/strcpy.c +++ b/src/lib/libc/string/strcpy.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: strcpy.c,v 1.7 2004/11/28 07:16:54 mickey Exp $ */ | ||
2 | |||
1 | /* | 3 | /* |
2 | * Copyright (c) 1988 Regents of the University of California. | 4 | * Copyright (c) 1988 Regents of the University of California. |
3 | * All rights reserved. | 5 | * All rights reserved. |
@@ -28,10 +30,10 @@ | |||
28 | */ | 30 | */ |
29 | 31 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char *rcsid = "$OpenBSD: strcpy.c,v 1.6 2003/07/24 01:15:42 deraadt Exp $"; | 33 | static char *rcsid = "$OpenBSD: strcpy.c,v 1.7 2004/11/28 07:16:54 mickey Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 34 | #endif /* LIBC_SCCS and not lint */ |
33 | 35 | ||
34 | #ifndef _KERNEL | 36 | #if !defined(_KERNEL) && !defined(_STANDALONE) |
35 | #include <string.h> | 37 | #include <string.h> |
36 | #else | 38 | #else |
37 | #include <lib/libkern/libkern.h> | 39 | #include <lib/libkern/libkern.h> |
diff --git a/src/lib/libc/string/strncmp.c b/src/lib/libc/string/strncmp.c index 82420e215e..ddab42dc75 100644 --- a/src/lib/libc/string/strncmp.c +++ b/src/lib/libc/string/strncmp.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */ | ||
2 | |||
1 | /* | 3 | /* |
2 | * Copyright (c) 1989 The Regents of the University of California. | 4 | * Copyright (c) 1989 The Regents of the University of California. |
3 | * All rights reserved. | 5 | * All rights reserved. |
@@ -28,10 +30,10 @@ | |||
28 | */ | 30 | */ |
29 | 31 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char *rcsid = "$OpenBSD: strncmp.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; | 33 | static char *rcsid = "$OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 34 | #endif /* LIBC_SCCS and not lint */ |
33 | 35 | ||
34 | #ifndef _KERNEL | 36 | #if !defined(_KERNEL) && !defined(_STANDALONE) |
35 | #include <string.h> | 37 | #include <string.h> |
36 | #else | 38 | #else |
37 | #include <lib/libkern/libkern.h> | 39 | #include <lib/libkern/libkern.h> |
diff --git a/src/lib/libc/string/strncpy.c b/src/lib/libc/string/strncpy.c index 00493f4f7f..d73008c6db 100644 --- a/src/lib/libc/string/strncpy.c +++ b/src/lib/libc/string/strncpy.c | |||
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $ */ | ||
2 | |||
1 | /*- | 3 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | 4 | * Copyright (c) 1990 The Regents of the University of California. |
3 | * All rights reserved. | 5 | * All rights reserved. |
@@ -31,10 +33,14 @@ | |||
31 | */ | 33 | */ |
32 | 34 | ||
33 | #if defined(LIBC_SCCS) && !defined(lint) | 35 | #if defined(LIBC_SCCS) && !defined(lint) |
34 | static char *rcsid = "$OpenBSD: strncpy.c,v 1.4 2003/06/11 21:08:16 deraadt Exp $"; | 36 | static char *rcsid = "$OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $"; |
35 | #endif /* LIBC_SCCS and not lint */ | 37 | #endif /* LIBC_SCCS and not lint */ |
36 | 38 | ||
39 | #if !defined(_KERNEL) && !defined(_STANDALONE) | ||
37 | #include <string.h> | 40 | #include <string.h> |
41 | #else | ||
42 | #include <lib/libkern/libkern.h> | ||
43 | #endif | ||
38 | 44 | ||
39 | /* | 45 | /* |
40 | * Copy src to dst, truncating or null-padding to always copy n bytes. | 46 | * Copy src to dst, truncating or null-padding to always copy n bytes. |