summaryrefslogtreecommitdiff
path: root/update.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 /update.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 'update.c')
-rw-r--r--update.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/update.c b/update.c
index cba9924..113b25c 100644
--- a/update.c
+++ b/update.c
@@ -20,8 +20,6 @@
/* Update thread: A clean way to solve locking issues of
root node update. */
-#define _GNU_SOURCE
-
#include <errno.h>
#include <string.h>