From: Ryan S. Arnold Date: Fri, 4 Oct 2013 17:07:04 +0000 (-0500) Subject: Update generic swapon definition to match prototype. X-Git-Tag: upstream/2.20~1569 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d39baad11e5092b56621902f8406c64c092a90dc;p=platform%2Fupstream%2Flinaro-glibc.git Update generic swapon definition to match prototype. --- diff --git a/ChangeLog b/ChangeLog index 6c0d322..2ff5516 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-10-04 Ryan S. Arnold + + * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to + match prototype. + 2013-10-04 Joseph Myers * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags): diff --git a/misc/swapon.c b/misc/swapon.c index 61933b8..0e587d4 100644 --- a/misc/swapon.c +++ b/misc/swapon.c @@ -22,8 +22,7 @@ /* Make the block special device PATH available to the system for swapping. This call is restricted to the super-user. */ int -swapon (path) - const char *path; +swapon (const char *path, int flags) { __set_errno (ENOSYS); return -1;