This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove dead broken code.


Commit 3ce1f295 removed the use USE_IN_LIBIO define in all the code, but
removed #ifndef USE_IN_LIBIO #endif around the code without removing the 
code itself. The patch below fixes that.


2012-02-15  Aurelien Jarno  <aurelien@aurel32.net>

	* mach/devstream.c: remove dead broken code. 

diff --git a/mach/devstream.c b/mach/devstream.c
index 7c5a783..b699fbc 100644
--- a/mach/devstream.c
+++ b/mach/devstream.c
@@ -119,11 +119,6 @@ dealloc_ref (void *cookie)
   return 0;
 }
 
-#define cookie_io_functions_t __io_functions
-#define write __write
-#define read __read
-#define close __close
-
 FILE *
 mach_open_devstream (mach_port_t dev, const char *mode)
 {

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]