summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2015-01-17 18:52:21 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2015-01-17 18:52:21 +0200
commitf76cfbca4f14f87a66552dff1bd35e9a9bc691aa (patch)
treebbfeb04996b3388f8f767def001de23212859b5d /client
parent6ac8d8c4d8b12b37e664fd1d0c034c8fdef9c5f4 (diff)
downloadbemenu-f76cfbca4f14f87a66552dff1bd35e9a9bc691aa.tar.gz
bemenu-f76cfbca4f14f87a66552dff1bd35e9a9bc691aa.tar.bz2
bemenu-f76cfbca4f14f87a66552dff1bd35e9a9bc691aa.zip
Get rid of _DEFAULT_SOURCE #defines, set this in cmake and also use
secure_getenv where it makes sense.
Diffstat (limited to 'client')
-rw-r--r--client/bemenu-run.c1
-rw-r--r--client/common/common.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/client/bemenu-run.c b/client/bemenu-run.c
index 32f758c..b68e715 100644
--- a/client/bemenu-run.c
+++ b/client/bemenu-run.c
@@ -1,4 +1,3 @@
-#define _DEFAULT_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/client/common/common.c b/client/common/common.c
index e5eede5..6bb2ec7 100644
--- a/client/common/common.c
+++ b/client/common/common.c
@@ -1,4 +1,3 @@
-#define _DEFAULT_SOURCE
#include "common.h"
#include <stdlib.h>
#include <string.h>