diff options
author | Dave Young <hidave.darkstar@gmail.com> | 2010-02-25 20:28:57 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:59:01 -0400 |
commit | d14f1729483fad3a8817fbbcbd017678b7d1ad26 (patch) | |
tree | ebb47471a0fff9e0bce46043d147f445584acfb0 /include/linux/inotify.h | |
parent | 6e006701ccc1590500186ef21e074bd900c5dd67 (diff) |
sysctl extern cleanup: inotify
Extern declarations in sysctl.c should be move to their own head file, and
then include them in relavant .c files.
Move inotify_table extern declaration to linux/inotify.h
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/inotify.h')
-rw-r--r-- | include/linux/inotify.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/inotify.h b/include/linux/inotify.h index 959a38b8f75..94d209a1b68 100644 --- a/include/linux/inotify.h +++ b/include/linux/inotify.h @@ -69,4 +69,9 @@ struct inotify_event { #define IN_CLOEXEC O_CLOEXEC #define IN_NONBLOCK O_NONBLOCK +#ifdef __KERNEL__ +#include <linux/sysctl.h> +extern struct ctl_table inotify_table[]; /* for sysctl */ +#endif + #endif /* _LINUX_INOTIFY_H */ |