aboutsummaryrefslogtreecommitdiff
path: root/mach/devstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'mach/devstream.c')
-rw-r--r--mach/devstream.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mach/devstream.c b/mach/devstream.c
index 1c51695..ebc4b93 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 Free Software Foundation, Inc.
+ Copyright (C) 1992,93,94,96,97,2000,2011 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
@@ -120,12 +120,10 @@ dealloc_ref (void *cookie)
return 0;
}
-#ifndef USE_IN_LIBIO
#define cookie_io_functions_t __io_functions
#define write __write
#define read __read
#define close __close
-#endif
FILE *
mach_open_devstream (mach_port_t dev, const char *mode)