summaryrefslogtreecommitdiffstats
path: root/libuuid
diff options
context:
space:
mode:
authorSami Kerola2014-09-28 21:51:42 +0200
committerKarel Zak2014-10-01 12:33:31 +0200
commit4c87bb0d99d1eb9c4fd52f80214db57b40c82fdb (patch)
treecb8a16a77f12c184487bcf9b227bc507ecc63e66 /libuuid
parenttextual: use usage() text element macros (diff)
downloadkernel-qcow2-util-linux-4c87bb0d99d1eb9c4fd52f80214db57b40c82fdb.tar.gz
kernel-qcow2-util-linux-4c87bb0d99d1eb9c4fd52f80214db57b40c82fdb.tar.xz
kernel-qcow2-util-linux-4c87bb0d99d1eb9c4fd52f80214db57b40c82fdb.zip
libuuid: remove _SVID_SOURCE pre-processor definition
The _SVID_SOURCE is deprecated. In file included from /usr/include/stdio.h:27:0, from libuuid/src/gen_uuid.c:46: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] Notice that the Makefile.am has AM_CPPFLAGS = \ -include config.h \ that enforces the config.h is included before any other hearer. In the configure.ac there is AC_USE_SYSTEM_EXTENSIONS that makes all possible features that can be supported in a system are turned on. With these two there is absolutely no need for any legacy _SOURCE definitions. Reference: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=c941736c92fa3a319221f65f6755659b2a5e0a20 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libuuid')
-rw-r--r--libuuid/src/gen_uuid.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libuuid/src/gen_uuid.c b/libuuid/src/gen_uuid.c
index 387518a0c..eb793391c 100644
--- a/libuuid/src/gen_uuid.c
+++ b/libuuid/src/gen_uuid.c
@@ -32,12 +32,6 @@
* %End-Header%
*/
-/*
- * Force inclusion of SVID stuff since we need it if we're compiling in
- * gcc-wall wall mode
- */
-#define _SVID_SOURCE
-
#ifdef _WIN32
#define _WIN32_WINNT 0x0500
#include <windows.h>