]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
no longer define *_FILENO constants
authorJim Meyering <meyering@redhat.com>
Mon, 19 Jan 2009 20:27:40 +0000 (21:27 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 19 Jan 2009 20:27:57 +0000 (21:27 +0100)
* src/system.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
Remove definitions.  Now guaranteed by gnulib.

src/system.h

index 020f83b4836699aaa0527665ddb088d203b1daef..c76440524bdbd8c71faa556b55ba6e616ce36aaf 100644 (file)
@@ -1,5 +1,5 @@
 /* system-dependent definitions for coreutils
-   Copyright (C) 1989, 1991-2008 Free Software Foundation, Inc.
+   Copyright (C) 1989, 1991-2009 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
@@ -36,19 +36,6 @@ you must include <sys/types.h> before including this file
 
 #include <unistd.h>
 
-#ifndef STDIN_FILENO
-# define STDIN_FILENO 0
-#endif
-
-#ifndef STDOUT_FILENO
-# define STDOUT_FILENO 1
-#endif
-
-#ifndef STDERR_FILENO
-# define STDERR_FILENO 2
-#endif
-
-
 /* limits.h must come before pathmax.h because limits.h on some systems
    undefs PATH_MAX, whereas pathmax.h sets PATH_MAX.  */
 #include <limits.h>