summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-07-13 18:12:49 +0000
committerchristos <christos@NetBSD.org>1997-07-13 18:12:49 +0000
commit2b322cb844929be022f96b0dc1dba2bda329a908 (patch)
tree52255bb8a4104ddb8bcdb064f7acb54b5e9c52b8 /include
parent34eb75ff52a8916555a6823a4bba0000d37fb3b1 (diff)
Add missing swapon prototype and mark it obsolete.
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 6f6ce8fa43b..0047391de39 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.36 1997/07/04 09:14:55 kleink Exp $ */
+/* $NetBSD: unistd.h,v 1.37 1997/07/13 18:12:49 christos Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -164,6 +164,7 @@ int setrgid __P((gid_t));
int setruid __P((uid_t));
void setusershell __P((void));
int swapctl __P((int, const void *, int));
+int swapon __P((const char *)); /* obsoleted by swapctl() */
int symlink __P((const char *, const char *));
void sync __P((void));
int syscall __P((int, ...));