]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - io/io.h
configure: don't check for madvise
[thirdparty/xfsprogs-dev.git] / io / io.h
diff --git a/io/io.h b/io/io.h
index 56e6159b0df77266ed6512dd5d8d0742f3b0e00d..2a9ef97c30772daa473a0c7f004d8d8a63b80b4d 100644 (file)
--- a/io/io.h
+++ b/io/io.h
@@ -118,12 +118,7 @@ extern void                truncate_init(void);
 extern void            utimes_init(void);
 extern void            fadvise_init(void);
 extern void            sendfile_init(void);
-
-#ifdef HAVE_MADVISE
 extern void            madvise_init(void);
-#else
-#define madvise_init() do { } while (0)
-#endif
 
 #ifdef HAVE_MINCORE
 extern void            mincore_init(void);