summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-09 20:41:11 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-09 21:07:18 +0200
commit2e69b60cc2abb8e0a6773e101c03050c57a12ca3 (patch)
tree93a864605633c93248d8529d682f6e43bf0e5f77 /desktop
parent83386129f5be002f2649db81bba4c468c7f6e4de (diff)
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
Diffstat (limited to 'desktop')
-rw-r--r--desktop/unx/source/file_image_unx.c6
1 files changed, 0 insertions, 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 <errno.h>
#include <fcntl.h>
-#if defined(LINUX)
-# ifndef __USE_BSD
-# define __USE_BSD /* madvise, MADV_WILLNEED */
-# endif
-#endif /* Linux */
-
#include <sys/mman.h>
#include <sys/stat.h>