summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-02-15 12:23:13 -0800
committerRoland McGrath <roland@hack.frob.com>2012-02-15 12:23:13 -0800
commit1cac72362af836bf205b40998f26b074a97873bc (patch)
tree8d9e7b8ce5305d16f927efb25f7dbf765192cd4f
parent8e475601f62c115115df1639599f573d2e78d7b7 (diff)
downloadglibc-1cac72362af836bf205b40998f26b074a97873bc.tar.gz
glibc-1cac72362af836bf205b40998f26b074a97873bc.tar.xz
glibc-1cac72362af836bf205b40998f26b074a97873bc.zip
Remove macros wrongly left for pre-libio case that no longer exists.
-rw-r--r--ChangeLog6
-rw-r--r--mach/devstream.c7
2 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 3069c3aaa0..a802b93d92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-15  Roland McGrath  <roland@hack.frob.com>
+
+	* mach/devstream.c (cookie_io_functions_t): Macro removed.
+	(write, read, close): Likewise.
+	Patch by Aurelien Jarno <aurelien@aurel32.net>.
+
 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
diff --git a/mach/devstream.c b/mach/devstream.c
index 7c5a783cbb..0f515c2925 100644
--- a/mach/devstream.c
+++ b/mach/devstream.c
@@ -1,6 +1,6 @@
 /* stdio on a Mach device port.
    Translates \n to \r\n on output, echos and translates \r to \n on input.
-   Copyright (C) 1992,93,94,96,97,2000,2011 Free Software Foundation, Inc.
+   Copyright (C) 1992-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -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)
 {