Skip to content

Commit 15c7266

Browse files
Zhang Mingyujankara
authored andcommitted
samples: remove duplicate include in fs-monitor.c
'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/[email protected] Reported-by: Zeal Robot <[email protected]> Signed-off-by: Zhang Mingyu <[email protected]> Signed-off-by: Jan Kara <[email protected]>
1 parent b7eccf7 commit 15c7266

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

samples/fanotify/fs-monitor.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <sys/fanotify.h>
1313
#include <sys/types.h>
1414
#include <unistd.h>
15-
#include <sys/types.h>
1615

1716
#ifndef FAN_FS_ERROR
1817
#define FAN_FS_ERROR 0x00008000

0 commit comments

Comments
 (0)