diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-fanotify.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/tst-fanotify.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-fanotify.c b/sysdeps/unix/sysv/linux/tst-fanotify.c index 8e8c10bf47..33f70362ca 100644 --- a/sysdeps/unix/sysv/linux/tst-fanotify.c +++ b/sysdeps/unix/sysv/linux/tst-fanotify.c @@ -1,5 +1,5 @@ /* Basic fanotify test. - Copyright (C) 2013-2016 Free Software Foundation, Inc. + Copyright (C) 2013-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,18 +20,6 @@ #include <errno.h> #include <fcntl.h> #include <stdio.h> - -#ifndef HAVE_LINUX_FANOTIFY_H - -static int -do_test (void) -{ - puts ("SKIP: missing support for fanotify due to old kernel headers"); - return 0; -} - -#else - #include <sys/fanotify.h> static int @@ -69,7 +57,5 @@ do_test (void) return 0; } -#endif - #define TEST_FUNCTION do_test () #include "../test-skeleton.c" |