summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1998-07-26 13:34:18 +0000
committermycroft <mycroft@NetBSD.org>1998-07-26 13:34:18 +0000
commit4024f73640e189f79136a4679e1d9b2f61acdae3 (patch)
tree736bf25d4c1123d80bb3e8843c2ff768d5816f92 /include
parent907740b59130f51ed2281ca161f69e27731781c5 (diff)
const poisoning.
Diffstat (limited to 'include')
-rw-r--r--include/string.h4
-rw-r--r--include/unistd.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/string.h b/include/string.h
index 1721d9d75b9..7ae2c6c1ba2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.15 1998/05/06 20:17:55 kleink Exp $ */
+/* $NetBSD: string.h,v 1.16 1998/07/26 13:34:18 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -63,7 +63,7 @@ int strcmp __P((const char *, const char *));
int strcoll __P((const char *, const char *));
char *strcpy __P((char *, const char *));
size_t strcspn __P((const char *, const char *));
-char *strerror __P((int));
+const char *strerror __P((int));
size_t strlen __P((const char *));
char *strncat __P((char *, const char *, size_t));
int strncmp __P((const char *, const char *, size_t));
diff --git a/include/unistd.h b/include/unistd.h
index b0f43a2e195..46faadd62c1 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.58 1998/07/02 21:20:54 kleink Exp $ */
+/* $NetBSD: unistd.h,v 1.59 1998/07/26 13:34:18 mycroft Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -291,7 +291,7 @@ int getdomainname __P((char *, size_t));
int getgrouplist __P((const char *, gid_t, gid_t *, int *));
mode_t getmode __P((const void *, mode_t));
int getsubopt __P((char **, char * const *, char **));
-char *getusershell __P((void));
+const char *getusershell __P((void));
int initgroups __P((const char *, gid_t));
int iruserok __P((u_int32_t, int, const char *, const char *));
int nfssvc __P((int, void *));
@@ -315,7 +315,7 @@ int setrgid __P((gid_t));
int setruid __P((uid_t));
void setusershell __P((void));
void strmode __P((mode_t, char *));
-char *strsignal __P((int));
+const char *strsignal __P((int));
int swapctl __P((int, const void *, int));
int swapon __P((const char *)); /* obsoleted by swapctl() */
int syscall __P((int, ...));