mirror of https://github.com/mkerrisk/man-pages
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:
parent
b34cbc4530
commit
815df19b29
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue