[Glibc-bsd-commits] r5353 - in trunk/freebsd-glue: debian include

rmh at alioth.debian.org rmh at alioth.debian.org
Sat Jan 18 23:22:56 UTC 2014


Author: rmh
Date: 2014-01-18 23:22:56 +0000 (Sat, 18 Jan 2014)
New Revision: 5353

Modified:
   trunk/freebsd-glue/debian/changelog
   trunk/freebsd-glue/include/unistd.h
Log:
Add swapon() and swapoff() prototypes to <unistd.h>.

Modified: trunk/freebsd-glue/debian/changelog
===================================================================
--- trunk/freebsd-glue/debian/changelog	2014-01-18 23:22:25 UTC (rev 5352)
+++ trunk/freebsd-glue/debian/changelog	2014-01-18 23:22:56 UTC (rev 5353)
@@ -10,6 +10,7 @@
   * Add getbsize().
   * Add arc4random_buf() prototype to <stdlib.h>.
   * Add _PATH_GBDE, _PATH_GELI and _PATH_MDCONFIG to <paths.h>.
+  * Add swapon() and swapoff() prototypes to <unistd.h>.
 
  -- Robert Millan <rmh at debian.org>  Wed, 08 Jan 2014 22:36:52 +0100
 

Modified: trunk/freebsd-glue/include/unistd.h
===================================================================
--- trunk/freebsd-glue/include/unistd.h	2014-01-18 23:22:25 UTC (rev 5352)
+++ trunk/freebsd-glue/include/unistd.h	2014-01-18 23:22:56 UTC (rev 5353)
@@ -58,6 +58,9 @@
 
 int getpeereid (int, uid_t *, gid_t *);
 
+int swapon (const char *);
+int swapoff (const char *);
+
 #endif /* __FreeBSD_kernel__ */
 
 void setproctitle(const char *fmt, ...);




More information about the Glibc-bsd-commits mailing list