aboutsummaryrefslogtreecommitdiff
path: root/lib/liboutil/pidfile.c
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2018-04-04 17:02:19 +0200
committerDuncaen <mail@duncano.de>2018-04-04 17:32:25 +0200
commitf70c07389a004bd102f3bf1578018c834b2c10ef (patch)
treeb482eb126e96d83665537d794128c4eaa56bd091 /lib/liboutil/pidfile.c
parent8d709679d375b3c42b0cb9f02d2845f56e468453 (diff)
downloadlobase-f70c07389a004bd102f3bf1578018c834b2c10ef.tar.gz
include: define prototypes for commonly used _GNU_SOURCE functions
Instead of having to define _GNU_SOURCE in each file that uses one of the functions, just define the prototypes.
Diffstat (limited to 'lib/liboutil/pidfile.c')
-rw-r--r--lib/liboutil/pidfile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/liboutil/pidfile.c b/lib/liboutil/pidfile.c
index e76ba4e..af049d1 100644
--- a/lib/liboutil/pidfile.c
+++ b/lib/liboutil/pidfile.c
@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#define _GNU_SOURCE
-
#include <sys/types.h>
#include <errno.h>
#include <paths.h>