This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.18-424-g6851bd4
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 21 Nov 2013 23:48:59 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.18-424-g6851bd4
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 6851bd4d97546fc7378864d36f42f9d2df15dac5 (commit)
from 84ae135d3282dc362bed0a5c9a575319ef336884 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6851bd4d97546fc7378864d36f42f9d2df15dac5
commit 6851bd4d97546fc7378864d36f42f9d2df15dac5
Author: Roland McGrath <roland@hack.frob.com>
Date: Thu Nov 21 15:44:26 2013 -0800
Adjust generic swapon prototype to match Linux version.
diff --git a/ChangeLog b/ChangeLog
index 6f8a021..ee88097 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-21 Roland McGrath <roland@hack.frob.com>
+
+ * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
+
2013-11-21 Meador Inge <meadori@codesourcery.com>
[BZ #11157]
diff --git a/sysdeps/generic/sys/swap.h b/sysdeps/generic/sys/swap.h
index 5299f9b..52c73c5 100644
--- a/sysdeps/generic/sys/swap.h
+++ b/sysdeps/generic/sys/swap.h
@@ -24,7 +24,7 @@
/* Make the block special device PATH available to the system for swapping.
This call is restricted to the super-user. */
-extern int swapon (const char *__path) __THROW;
+extern int swapon (const char *__path, int __flags) __THROW;
/* Stop using block special device PATH for swapping. */
extern int swapoff (const char *__path) __THROW;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/generic/sys/swap.h | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources