From 0d38a270a4e00927cce08b60dc7c5d9156589916 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Apr 1998 20:38:28 +0000 Subject: Do not define _GNU_SOURCE and/or NDEBUG --- src/csplit.c | 4 ---- src/cut.c | 6 ------ src/expand.c | 5 +---- src/fold.c | 3 --- src/join.c | 4 ---- src/sort.c | 6 ------ src/tr.c | 4 ---- 7 files changed, 1 insertion(+), 31 deletions(-) (limited to 'src') diff --git a/src/csplit.c b/src/csplit.c index 0e3d1068a..d31f89979 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -21,10 +21,6 @@ #include #include - -/* Disable assertions. Some systems have broken assert macros. */ -#define NDEBUG 1 - #include #include #include diff --git a/src/cut.c b/src/cut.c index e05c799b2..cad5534b8 100644 --- a/src/cut.c +++ b/src/cut.c @@ -61,14 +61,8 @@ #include -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include - -#define NDEBUG #include - #include #include #include "system.h" diff --git a/src/expand.c b/src/expand.c index 8563a00d4..a179ef892 100644 --- a/src/expand.c +++ b/src/expand.c @@ -1,5 +1,5 @@ /* expand - convert tabs to spaces - Copyright (C) 89, 91, 95, 96, 1997 Free Software Foundation, Inc. + Copyright (C) 89, 91, 95, 96, 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,9 +35,6 @@ #include -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include #include #include diff --git a/src/fold.c b/src/fold.c index 44233d502..1ffe60ca2 100644 --- a/src/fold.c +++ b/src/fold.c @@ -19,9 +19,6 @@ #include -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include #include #include diff --git a/src/join.c b/src/join.c index 733c58759..82c42206d 100644 --- a/src/join.c +++ b/src/join.c @@ -19,11 +19,7 @@ #include -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include -#define NDEBUG #include #include #include diff --git a/src/sort.c b/src/sort.c index fd1f4d0a0..7e1e17971 100644 --- a/src/sort.c +++ b/src/sort.c @@ -23,15 +23,9 @@ #include -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include #include #include -#ifndef ENABLE_ASSERTIONS -# define NDEBUG 1 -#endif #include #include "system.h" #include "long-options.h" diff --git a/src/tr.c b/src/tr.c index 68ba44c11..831de3b4b 100644 --- a/src/tr.c +++ b/src/tr.c @@ -19,11 +19,7 @@ #include -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include -#define NDEBUG 1 #include #include #include -- cgit v1.2.3-70-g09d2