summaryrefslogtreecommitdiff
path: root/libbb/get_line_from_file.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-06-18 15:15:24 +0200
committerDenys Vlasenko2010-06-18 15:15:24 +0200
commitb87c17cd16f1b23a07a65ee90a3e30a49992fa51 (patch)
tree8c03f16044b02ff430b6b67ba54f88c75ec3e8c2 /libbb/get_line_from_file.c
parent7df28bbb8fa3ba2878c288401c898ec477e55df1 (diff)
downloadbusybox-b87c17cd16f1b23a07a65ee90a3e30a49992fa51.zip
busybox-b87c17cd16f1b23a07a65ee90a3e30a49992fa51.tar.gz
*: stop defining _GNU_SOURCE in source files, it's in CFLAGS anyway
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/get_line_from_file.c')
-rw-r--r--libbb/get_line_from_file.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libbb/get_line_from_file.c b/libbb/get_line_from_file.c
index 3cb46d2..cbfb45b 100644
--- a/libbb/get_line_from_file.c
+++ b/libbb/get_line_from_file.c
@@ -9,11 +9,6 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-/* for getline() [GNUism]
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1
-#endif
-*/
#include "libbb.h"
/* This function reads an entire line from a text file, up to a newline