Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include PR/30503: Nicolas Joly: swapctl(2) prototype does no...



details:   https://anonhg.NetBSD.org/src/rev/9f4db89c0a21
branches:  trunk
changeset: 581954:9f4db89c0a21
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 11 22:54:43 2005 +0000

description:
PR/30503: Nicolas Joly: swapctl(2) prototype does not match corresponding
syscall

diffstat:

 include/unistd.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e3f73974bc1b -r 9f4db89c0a21 include/unistd.h
--- a/include/unistd.h  Sat Jun 11 22:42:24 2005 +0000
+++ b/include/unistd.h  Sat Jun 11 22:54:43 2005 +0000
@@ -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 @@
 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, ...);



Home | Main Index | Thread Index | Old Index