1
0
Fork 0

fsnotify/fdinfo: include fdinfo.h for inotify_show_fdinfo()

inotify_show_fdinfo() is defined in fs/notify/fdinfo.c and declared in
fs/notify/fdinfo.h, but the declaration isn't included at the point of
the definition.  Include the header to enforce that the definition
matches the declaration.

This addresses a gcc warning when -Wmissing-prototypes is enabled.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
hifive-unleashed-5.1
Eric Biggers 2018-11-14 16:12:14 -08:00 committed by Jan Kara
parent 66917a3130
commit d6f7aa9820
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@
#include <linux/exportfs.h>
#include "inotify/inotify.h"
#include "fdinfo.h"
#include "fsnotify.h"
#if defined(CONFIG_PROC_FS)