aboutsummaryrefslogtreecommitdiffstats
path: root/inotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'inotify.c')
-rw-r--r--inotify.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/inotify.c b/inotify.c
index 81c8c5d8..34902b8a 100644
--- a/inotify.c
+++ b/inotify.c
@@ -4,8 +4,7 @@
#include "xlat/inotify_flags.h"
#include "xlat/inotify_init_flags.h"
-int
-sys_inotify_add_watch(struct tcb *tcp)
+SYS_FUNC(inotify_add_watch)
{
if (entering(tcp)) {
/* file descriptor */
@@ -20,8 +19,7 @@ sys_inotify_add_watch(struct tcb *tcp)
return 0;
}
-int
-sys_inotify_rm_watch(struct tcb *tcp)
+SYS_FUNC(inotify_rm_watch)
{
if (entering(tcp)) {
/* file descriptor */
@@ -32,8 +30,7 @@ sys_inotify_rm_watch(struct tcb *tcp)
return 0;
}
-int
-sys_inotify_init1(struct tcb *tcp)
+SYS_FUNC(inotify_init1)
{
if (entering(tcp))
printflags(inotify_init_flags, tcp->u_arg[0], "IN_???");