summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1998-01-12 16:05:40 +0000
committerkleink <kleink@NetBSD.org>1998-01-12 16:05:40 +0000
commitf1d296dd607a2c3440fb1e978ea5fbd5fae96ad5 (patch)
tree72da42466ed6f7290fa6a438b3b6e2fdb05b14e0 /include
parent98e7377438619f5971909492fae2152ca11826b0 (diff)
Per XPG4, move the prototype of swab() from <string.h> to <unistd.h>.
Diffstat (limited to 'include')
-rw-r--r--include/string.h3
-rw-r--r--include/unistd.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/string.h b/include/string.h
index 40627274794..4de4df426ce 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.8 1997/10/16 23:26:26 christos Exp $ */
+/* $NetBSD: string.h,v 1.9 1998/01/12 16:05:40 kleink Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -88,7 +88,6 @@ int strcasecmp __P((const char *, const char *));
char *strdup __P((const char *));
int strncasecmp __P((const char *, const char *, size_t));
char *strsep __P((char **, const char *));
-void swab __P((const void *, void *, size_t));
#endif
__END_DECLS
diff --git a/include/unistd.h b/include/unistd.h
index de1aa6fece2..e723ff67484 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.47 1998/01/05 06:14:51 thorpej Exp $ */
+/* $NetBSD: unistd.h,v 1.48 1998/01/12 16:05:40 kleink Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -165,6 +165,7 @@ int setruid __P((uid_t));
void setusershell __P((void));
void strmode __P((mode_t, char *));
char *strsignal __P((int));
+void swab __P((const void *, void *, size_t));
int swapctl __P((int, const void *, int));
int swapon __P((const char *)); /* obsoleted by swapctl() */
int symlink __P((const char *, const char *));