fanotify.7: Declare handle_events() in example code as 'static'

To avoid warning "no previous prototype for..."
when compiling with "-Wmissing-prototypes"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-25 10:07:18 +02:00
parent b34cbc4530
commit 815df19b29
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ Listening for events stopped.
/* Read all available fanotify events from the file descriptor 'fd' */
void
static void
handle_events(int fd)
{
const struct fanotify_event_metadata *metadata;