[CRIU] [crtools-bot for Kir Kolyshkin ] include/types.h cleanup: remove *_FILENO

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 14 12:16:00 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 7c961a7b8f07c2d756758d2319c3bc34c54e0a7d
Author: Kir Kolyshkin <kir at openvz.org>
Date:   Tue Feb 14 18:37:11 2012 +0400

    include/types.h cleanup: remove *_FILENO
    
    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>
    Signed-off-by: Cyrill Gorcunov <gorcunov 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 b329630..5d93dac 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


More information about the CRIU mailing list