summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-01-19 21:27:40 +0100
committerJim Meyering <meyering@redhat.com>2009-01-19 21:27:57 +0100
commit065f14f471f520922787be14d770bdd07d8c92ec (patch)
treeab2987dfb3baaf9d15a35f07cc418c7741a4d522 /src
parent9a45c1966716be7f02f8e20f014af720b69aa6fb (diff)
downloadcoreutils-065f14f471f520922787be14d770bdd07d8c92ec.tar.xz
no longer define *_FILENO constants
* src/system.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Remove definitions. Now guaranteed by gnulib.
Diffstat (limited to 'src')
-rw-r--r--src/system.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/system.h b/src/system.h
index 020f83b48..c76440524 100644
--- a/src/system.h
+++ b/src/system.h
@@ -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>