]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Do not define _GNU_SOURCE and/or NDEBUG
authorJim Meyering <jim@meyering.net>
Sun, 26 Apr 1998 20:38:28 +0000 (20:38 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Apr 1998 20:38:28 +0000 (20:38 +0000)
src/csplit.c
src/cut.c
src/expand.c
src/fold.c
src/join.c
src/sort.c
src/tr.c

index 0e3d1068a2998208cf9b7eda0d174587da77ebe4..d31f899795d4ecfef0ee0e2f8959047c0ccfc60e 100644 (file)
 #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>
index e05c799b2ff9b87a75ac1634cfd48b8ed0c0b522..cad5534b87023e992e891a84c8c261975a1b2eed 100644 (file)
--- a/src/cut.c
+++ b/src/cut.c
 
 #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"
index 8563a00d43d47791f1354b0495d4ea76fe2832ac..a179ef892105308d8477d766a1bbfaa606da996b 100644 (file)
@@ -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>
index 44233d502318ee3d1a86d873b0d7c384386b4bdd..1ffe60ca251f7095e97c3ec3659c321fe3c4d08e 100644 (file)
@@ -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>
index 733c587593f1c20c91a72f8cbdea62b74566adf3..82c42206d7f5486ed575db470154a187bed62e5f 100644 (file)
 
 #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>
index fd1f4d0a0e259b3f4bf2fa191153f6034acc1db5..7e1e17971e6601efbf9993f41bc75c101e015169 100644 (file)
 
 #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"
index 68ba44c11f763de6f1bc30863f5df350a5dc7f55..831de3b4b960c30a35efb459d8464578899e4a41 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
 
 #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>