summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-06-11 22:54:43 +0000
committerchristos <christos@NetBSD.org>2005-06-11 22:54:43 +0000
commit5b18fe838f643b7ea2303999efc19395f38a248c (patch)
tree58b03d2398070b3d2bdea114924f3bd7bda49348 /include
parent51b633d452fafe3e458d2477c413bda4a39eebdf (diff)
PR/30503: Nicolas Joly: swapctl(2) prototype does not match corresponding
syscall
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index cbec2ae9c22..467e102e51e 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.103 2005/05/22 19:10:15 kleink Exp $ */
+/* $NetBSD: unistd.h,v 1.104 2005/06/11 22:54:43 christos Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -335,7 +335,7 @@ int setruid(uid_t);
void setusershell(void);
void strmode(mode_t, char *);
__aconst char *strsignal(int);
-int swapctl(int, const void *, int);
+int swapctl(int, void *, int);
int swapon(const char *); /* obsoleted by swapctl() */
int syscall(int, ...);
quad_t __syscall(quad_t, ...);