summaryrefslogtreecommitdiff
path: root/termios/termios.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-08-01 00:08:31 +0000
committerRoland McGrath <roland@gnu.org>1996-08-01 00:08:31 +0000
commit9ebb936d991a6e08da05e5a942465d64cac39f86 (patch)
tree6eb10ee37a5b428f49e57c55a393567e3e5e42df /termios/termios.h
parent033badd4fa8b32d9592aeef68c3f3ee7be27d19e (diff)
downloadglibc-9ebb936d991a6e08da05e5a942465d64cac39f86.tar.gz
Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>cvs/libc-960801
* termios/termios.h [__OPTIMIZE__]: Remove "optimization" for tcgetattr. We have weak aliases now. * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove "optimizations" for random functions.
Diffstat (limited to 'termios/termios.h')
-rw-r--r--termios/termios.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/termios/termios.h b/termios/termios.h
index a2937bdee1..9943fa6ff6 100644
--- a/termios/termios.h
+++ b/termios/termios.h
@@ -59,10 +59,6 @@ extern void cfsetspeed __P ((struct termios *__termios_p, speed_t __speed));
extern int __tcgetattr __P ((int __fd, struct termios *__termios_p));
extern int tcgetattr __P ((int __fd, struct termios *__termios_p));
-#ifdef __OPTIMIZE__
-#define tcgetattr(fd, termios_p) __tcgetattr((fd), (termios_p))
-#endif /* Optimizing. */
-
/* Set the state of FD to *TERMIOS_P.
Values for OPTIONAL_ACTIONS (TCSA*) are in <termbits.h>. */
extern int tcsetattr __P ((int __fd, int __optional_actions,