mirror of git://sourceware.org/git/glibc.git
Adjust generic swapon prototype to match Linux version.
This commit is contained in:
parent
84ae135d32
commit
6851bd4d97
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue