diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-26 20:38:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-26 20:38:28 +0000 |
commit | 0d38a270a4e00927cce08b60dc7c5d9156589916 (patch) | |
tree | 48c32e667f406b860f8bc609087105ab4286c9bd /src | |
parent | 3f017c26cad21467cf9e186a3df6c514a4d8c8ef (diff) | |
download | coreutils-0d38a270a4e00927cce08b60dc7c5d9156589916.tar.xz |
Do not define _GNU_SOURCE and/or NDEBUG
Diffstat (limited to 'src')
-rw-r--r-- | src/csplit.c | 4 | ||||
-rw-r--r-- | src/cut.c | 6 | ||||
-rw-r--r-- | src/expand.c | 5 | ||||
-rw-r--r-- | src/fold.c | 3 | ||||
-rw-r--r-- | src/join.c | 4 | ||||
-rw-r--r-- | src/sort.c | 6 | ||||
-rw-r--r-- | src/tr.c | 4 |
7 files changed, 1 insertions, 31 deletions
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 <config.h> #include <stdio.h> - -/* Disable assertions. Some systems have broken assert macros. */ -#define NDEBUG 1 - #include <assert.h> #include <getopt.h> #include <sys/types.h> @@ -61,14 +61,8 @@ #include <config.h> -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include <stdio.h> - -#define NDEBUG #include <assert.h> - #include <getopt.h> #include <sys/types.h> #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 <config.h> -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include <stdio.h> #include <getopt.h> #include <sys/types.h> 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 <config.h> -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include <stdio.h> #include <getopt.h> #include <sys/types.h> 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 <config.h> -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include <stdio.h> -#define NDEBUG #include <assert.h> #include <sys/types.h> #include <getopt.h> 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 <config.h> -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include <sys/types.h> #include <signal.h> #include <stdio.h> -#ifndef ENABLE_ASSERTIONS -# define NDEBUG 1 -#endif #include <assert.h> #include "system.h" #include "long-options.h" @@ -19,11 +19,7 @@ #include <config.h> -/* Get isblank from GNU libc. */ -#define _GNU_SOURCE - #include <stdio.h> -#define NDEBUG 1 #include <assert.h> #include <errno.h> #include <sys/types.h> |