[CRIU] [PATCH] include/types.h cleanup: remove *_FILENO
Kir Kolyshkin
kir at openvz.org
Tue Feb 14 09:37:11 EST 2012
These defines are already provided by unistd.h, and the only user
is log.c which already includes unistd.h.
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
include/types.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/types.h b/include/types.h
index b34f024..dbb36e7 100644
--- a/include/types.h
+++ b/include/types.h
@@ -7,10 +7,6 @@
#include "bitops.h"
#include "atomic.h"
-#define STDIN_FILENO 0
-#define STDOUT_FILENO 1
-#define STDERR_FILENO 2
-
/* prctl */
#define ARCH_SET_GS 0x1001
#define ARCH_SET_FS 0x1002
--
1.7.4.4
More information about the CRIU
mailing list