summaryrefslogtreecommitdiff
path: root/ncache.c
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.i>2013-03-14 18:00:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-03-15 02:20:45 +0100
commitd42c52e86271b102cbc2fd94a99350364393e705 (patch)
tree239637c6a46387428695e447f2b1e9f58d2ff93e /ncache.c
parent0b890f927fa2e377be72384d94f42d607b896c4a (diff)
Define _GNU_SOURCE at Makefile level
Provide the _GNU_SOURCE define at the CFLAGS, instead of repeating it in every source. * Makefile (CFLAGS): Add -D_GNU_SOURCE. * lib.c (_GNU_SOURCE): Remove define. * lnode.c (_GNU_SOURCE): Likewise. * main.c (_GNU_SOURCE): Likewise. * ncache.c (_GNU_SOURCE): Likewise. * netfs.c (_GNU_SOURCE): Likewise. * node.c (_GNU_SOURCE): Likewise. * options.c (_GNU_SOURCE): Likewise. * pattern.c (_GNU_SOURCE): Likewise. * stow.c (_GNU_SOURCE): Likewise. * ulfs.c (_GNU_SOURCE): Likewise. * update.c (_GNU_SOURCE): Likewise.
Diffstat (limited to 'ncache.c')
-rw-r--r--ncache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ncache.c b/ncache.c
index 2ebad57..32bdda9 100644
--- a/ncache.c
+++ b/ncache.c
@@ -17,8 +17,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA. */
-#define _GNU_SOURCE
-
#include <hurd/netfs.h>
#include <error.h>
#include <stdlib.h>