From 2e69b60cc2abb8e0a6773e101c03050c57a12ca3 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 9 Oct 2014 20:41:11 +0200 Subject: [PATCH] desktop: -Werror=unused-macros The documented feature test macro is _BSD_SOURCE, and anyway, feature test macros must be defined before the first libc header is included, so this one is evidently useless. Change-Id: Ib4b2db0c6151c2f3df322992b189257f5dd0ea22 --- desktop/unx/source/file_image_unx.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/desktop/unx/source/file_image_unx.c b/desktop/unx/source/file_image_unx.c index 89df91e1314a..f1320cc2bc56 100644 --- a/desktop/unx/source/file_image_unx.c +++ b/desktop/unx/source/file_image_unx.c @@ -24,12 +24,6 @@ #include #include -#if defined(LINUX) -# ifndef __USE_BSD -# define __USE_BSD /* madvise, MADV_WILLNEED */ -# endif -#endif /* Linux */ - #include #include