Skip to content

Commit

Permalink
samples: remove duplicate include in fs-monitor.c
Browse files Browse the repository at this point in the history
'sys/types.h' included in 'samples/fanotify/fs-monitor.c'
is duplicated.It is also included on 15 line.

Link: https://lore.kernel.org/r/20211101075152.35780-1-zhang.mingyu@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Zhang Mingyu authored and Jan Kara committed Nov 1, 2021
1 parent b7eccf7 commit 15c7266
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion samples/fanotify/fs-monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <sys/fanotify.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/types.h>

#ifndef FAN_FS_ERROR
#define FAN_FS_ERROR 0x00008000
Expand Down

0 comments on commit 15c7266

Please sign in to comment.