X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=kernel%2Faudit_watch.c;h=d2e3c786646055e1bbf5442b7d68090dc02b5681;hb=f7a998a9491f2da1d3e44d150aa611d10093da4f;hp=f0c9b2e7542dfd5b2980164a2f5ccedbcd2bb0d1;hpb=92944c1c943647c7eb39c081feeecdd169f68ee4;p=linux-2.6-block.git diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index f0c9b2e7542d..d2e3c7866460 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c @@ -60,7 +60,7 @@ struct audit_parent { }; /* fsnotify handle. */ -struct fsnotify_group *audit_watch_group; +static struct fsnotify_group *audit_watch_group; /* fsnotify events we care about. */ #define AUDIT_FS_WATCH (FS_MOVE | FS_CREATE | FS_DELETE | FS_DELETE_SELF |\ @@ -123,7 +123,7 @@ void audit_put_watch(struct audit_watch *watch) } } -void audit_remove_watch(struct audit_watch *watch) +static void audit_remove_watch(struct audit_watch *watch) { list_del(&watch->wlist); audit_put_parent(watch->parent);