This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Remove third argument from fanotify_init function
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: libc-alpha at sourceware dot org
- Date: Sat, 14 Aug 2010 18:14:39 +0200
- Subject: [PATCH] Remove third argument from fanotify_init function
2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
from fanotify_init.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
---
sysdeps/unix/sysv/linux/i386/syscalls.list | 2 +-
sysdeps/unix/sysv/linux/sys/fanotify.h | 4 ++--
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/i386/syscalls.list b/sysdeps/unix/sysv/linux/i386/syscalls.list
index 91c70e8..893a4a8 100644
--- a/sysdeps/unix/sysv/linux/i386/syscalls.list
+++ b/sysdeps/unix/sysv/linux/i386/syscalls.list
@@ -9,5 +9,5 @@ waitpid - waitpid Ci:ipi __waitpid waitpid __libc_waitpid
prlimit64 EXTRA prlimit64 i:iipp prlimit64
-fanotify_init EXTRA fanotify_init i:iii fanotify_init
+fanotify_init EXTRA fanotify_init i:ii fanotify_init
fanotify_mark EXTRA fanotify_mark i:iiiiis fanotify_mark
diff --git a/sysdeps/unix/sysv/linux/sys/fanotify.h b/sysdeps/unix/sysv/linux/sys/fanotify.h
index baf5ec3..bf8500c 100644
--- a/sysdeps/unix/sysv/linux/sys/fanotify.h
+++ b/sysdeps/unix/sysv/linux/sys/fanotify.h
@@ -26,8 +26,8 @@
__BEGIN_DECLS
/* Create and initialize fanotify group. */
-extern int fanotify_init (unsigned int __flags, unsigned int __event_f_flags,
- int __priority) __THROW;
+extern int fanotify_init (unsigned int __flags, unsigned int __event_f_flags)
+ __THROW;
/* Add, remove, or modify an fanotify mark on a filesystem object. */
extern int fanotify_mark (int __fanotify_fd, unsigned int __flags,
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/syscalls.list b/sysdeps/unix/sysv/linux/wordsize-64/syscalls.list
index 4276bd6..4471d53 100644
--- a/sysdeps/unix/sysv/linux/wordsize-64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/wordsize-64/syscalls.list
@@ -19,5 +19,5 @@ creat - creat Ci:si __libc_creat creat creat64
open - open Ci:siv __libc_open __open open __open64 open64
prlimit EXTRA prlimit64 i:iipp prlimit prlimit64
-fanotify_init EXTRA fanotify_init i:iii fanotify_init
+fanotify_init EXTRA fanotify_init i:ii fanotify_init
fanotify_mark EXTRA fanotify_mark i:iiiis fanotify_mark
--
1.7.2.1
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."