diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-04-03 17:48:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:21:05 -0400 |
commit | e3a0cfdc8c8904236f91a506c1e760b0d60dd918 (patch) | |
tree | fdfe92fdc5898ee45322672d362df4401c90d7d3 | |
parent | 6d2be915e589b58cb11418cbe1f22ff90732b6ac (diff) |
include/linux/syscalls.h: add sys32_quotactl() prototype
This eliminates the following warning in quota/compat.c:
fs/quota/compat.c:43:17: warning: no previous prototype for `sys32_quotactl' [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/syscalls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 1e67b7a5968c..2aa8b749f13d 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -200,6 +200,8 @@ extern struct trace_event_functions exit_syscall_print_funcs; | |||
200 | } \ | 200 | } \ |
201 | static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)) | 201 | static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)) |
202 | 202 | ||
203 | asmlinkage long sys32_quotactl(unsigned int cmd, const char __user *special, | ||
204 | qid_t id, void __user *addr); | ||
203 | asmlinkage long sys_time(time_t __user *tloc); | 205 | asmlinkage long sys_time(time_t __user *tloc); |
204 | asmlinkage long sys_stime(time_t __user *tptr); | 206 | asmlinkage long sys_stime(time_t __user *tptr); |
205 | asmlinkage long sys_gettimeofday(struct timeval __user *tv, | 207 | asmlinkage long sys_gettimeofday(struct timeval __user *tv, |