summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/fetchers/fetch_data.c2
-rw-r--r--content/llcache.c1
-rw-r--r--content/urldb.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/content/fetchers/fetch_data.c b/content/fetchers/fetch_data.c
index 51fade815..a58c971bf 100644
--- a/content/fetchers/fetch_data.c
+++ b/content/fetchers/fetch_data.c
@@ -18,8 +18,6 @@
/* data: URL handling. See http://tools.ietf.org/html/rfc2397 */
-#define _GNU_SOURCE
-
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
diff --git a/content/llcache.c b/content/llcache.c
index 977c03804..d5b518403 100644
--- a/content/llcache.c
+++ b/content/llcache.c
@@ -20,7 +20,6 @@
* Low-level resource cache (implementation)
*/
-#define _GNU_SOURCE /* For strndup. Ugh. */
#include <stdlib.h>
#include <string.h>
#include <time.h>
diff --git a/content/urldb.c b/content/urldb.c
index ef2aa8c2f..dcd331946 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -86,7 +86,6 @@
* potential crashes.
*/
-#define _GNU_SOURCE /* For strndup */
#include <assert.h>
#include <ctype.h>
#include <stdbool.h>