summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-12-31 11:59:34 -0400
committerJoey Hess <joeyh@joeyh.name>2017-12-31 11:59:34 -0400
commitb8cddfef1344f7ec196324e9f345ceb45bd6c76d (patch)
tree6d360fcf13ed9b5a2a6bc6a3265c92cf564917b0
parentf5bf404a9f9d15a61c852c56e1ca3f958486e5ad (diff)
downloadmoreutils-b8cddfef1344f7ec196324e9f345ceb45bd6c76d.tar.gz
remove #define _BSD_SOURCE
Compiler warning from this as it's deprecated. gcc suggested _DEFAULT_SOURCE, but I think that's on by default? It seems to compile ok without it.
-rw-r--r--lckdo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lckdo.c b/lckdo.c
index 4925409..7bfb5e2 100644
--- a/lckdo.c
+++ b/lckdo.c
@@ -6,7 +6,6 @@
*/
#define _GNU_SOURCE
-#define _BSD_SOURCE
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>