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/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>
1 parent b7eccf7 commit 15c7266

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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)