diff options
| author | mycroft <mycroft@NetBSD.org> | 1998-07-26 13:34:18 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1998-07-26 13:34:18 +0000 |
| commit | 4024f73640e189f79136a4679e1d9b2f61acdae3 (patch) | |
| tree | 736bf25d4c1123d80bb3e8843c2ff768d5816f92 /lib/libc/string | |
| parent | 907740b59130f51ed2281ca161f69e27731781c5 (diff) | |
const poisoning.
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/__strerror.c | 6 | ||||
| -rw-r--r-- | lib/libc/string/__strsignal.c | 6 | ||||
| -rw-r--r-- | lib/libc/string/strerror.c | 6 | ||||
| -rw-r--r-- | lib/libc/string/strsignal.c | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/string/__strerror.c b/lib/libc/string/__strerror.c index 2b9aeddd45d..24a2c2d9b5f 100644 --- a/lib/libc/string/__strerror.c +++ b/lib/libc/string/__strerror.c @@ -1,4 +1,4 @@ -/* $NetBSD: __strerror.c,v 1.12 1998/02/16 11:27:16 lukem Exp $ */ +/* $NetBSD: __strerror.c,v 1.13 1998/07/26 13:36:34 mycroft Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -38,7 +38,7 @@ #if 0 static char *sccsid = "@(#)strerror.c 5.6 (Berkeley) 5/4/91"; #else -__RCSID("$NetBSD: __strerror.c,v 1.12 1998/02/16 11:27:16 lukem Exp $"); +__RCSID("$NetBSD: __strerror.c,v 1.13 1998/07/26 13:36:34 mycroft Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -59,7 +59,7 @@ __RCSID("$NetBSD: __strerror.c,v 1.12 1998/02/16 11:27:16 lukem Exp $"); * internal function __strerror(). */ -char * +const char * __strerror(num, buf, buflen) int num; char *buf; diff --git a/lib/libc/string/__strsignal.c b/lib/libc/string/__strsignal.c index 31bbd813f67..da980db1e9a 100644 --- a/lib/libc/string/__strsignal.c +++ b/lib/libc/string/__strsignal.c @@ -1,4 +1,4 @@ -/* $NetBSD: __strsignal.c,v 1.14 1998/02/03 18:49:09 perry Exp $ */ +/* $NetBSD: __strsignal.c,v 1.15 1998/07/26 13:36:34 mycroft Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -38,7 +38,7 @@ #if 0 static char *sccsid = "@(#)strerror.c 5.6 (Berkeley) 5/4/91"; #else -__RCSID("$NetBSD: __strsignal.c,v 1.14 1998/02/03 18:49:09 perry Exp $"); +__RCSID("$NetBSD: __strsignal.c,v 1.15 1998/07/26 13:36:34 mycroft Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -53,7 +53,7 @@ __RCSID("$NetBSD: __strsignal.c,v 1.14 1998/02/03 18:49:09 perry Exp $"); #include <string.h> #include "extern.h" -char * +const char * __strsignal(num, buf, buflen) int num; char *buf; diff --git a/lib/libc/string/strerror.c b/lib/libc/string/strerror.c index bc02b1587d1..aec89bb2132 100644 --- a/lib/libc/string/strerror.c +++ b/lib/libc/string/strerror.c @@ -1,4 +1,4 @@ -/* $NetBSD: strerror.c,v 1.8 1998/02/16 11:27:16 lukem Exp $ */ +/* $NetBSD: strerror.c,v 1.9 1998/07/26 13:36:34 mycroft Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -38,7 +38,7 @@ #if 0 static char *sccsid = "@(#)strerror.c 5.6 (Berkeley) 5/4/91"; #else -__RCSID("$NetBSD: strerror.c,v 1.8 1998/02/16 11:27:16 lukem Exp $"); +__RCSID("$NetBSD: strerror.c,v 1.9 1998/07/26 13:36:34 mycroft Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -52,7 +52,7 @@ __RCSID("$NetBSD: strerror.c,v 1.8 1998/02/16 11:27:16 lukem Exp $"); * internal function __strerror(). */ -char * +const char * strerror(num) int num; { diff --git a/lib/libc/string/strsignal.c b/lib/libc/string/strsignal.c index 9ffa6ff85e4..5a0d9af1709 100644 --- a/lib/libc/string/strsignal.c +++ b/lib/libc/string/strsignal.c @@ -1,4 +1,4 @@ -/* $NetBSD: strsignal.c,v 1.7 1997/10/16 23:09:10 christos Exp $ */ +/* $NetBSD: strsignal.c,v 1.8 1998/07/26 13:36:34 mycroft Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -38,7 +38,7 @@ #if 0 static char *sccsid = "@(#)strerror.c 5.6 (Berkeley) 5/4/91"; #else -__RCSID("$NetBSD: strsignal.c,v 1.7 1997/10/16 23:09:10 christos Exp $"); +__RCSID("$NetBSD: strsignal.c,v 1.8 1998/07/26 13:36:34 mycroft Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -51,7 +51,7 @@ __RCSID("$NetBSD: strsignal.c,v 1.7 1997/10/16 23:09:10 christos Exp $"); __weak_alias(strsignal,_strsignal); #endif -char * +const char * strsignal(sig) int sig; { |
