From 962dba7828cf251a9025ccb43bc6effa30379b72 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 12 Aug 2010 20:39:44 -0700 Subject: [PATCH] Define EXTPROC for Linux. --- ChangeLog | 6 ++++++ sysdeps/unix/sysv/linux/bits/termios.h | 6 ++++-- sysdeps/unix/sysv/linux/powerpc/bits/termios.h | 5 ++++- sysdeps/unix/sysv/linux/sparc/bits/termios.h | 8 +++++--- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 712657959f..c69c4c42c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-12 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise. + 2010-05-01 Alan Modra * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24. diff --git a/sysdeps/unix/sysv/linux/bits/termios.h b/sysdeps/unix/sysv/linux/bits/termios.h index c71e4ad1fe..d7b4ce0250 100644 --- a/sysdeps/unix/sysv/linux/bits/termios.h +++ b/sysdeps/unix/sysv/linux/bits/termios.h @@ -1,6 +1,5 @@ /* termios type and macro definitions. Linux version. - Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2005 - Free Software Foundation, Inc. + Copyright (C) 1993-1999, 2003, 2005, 2010 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 @@ -196,6 +195,9 @@ struct termios # define PENDIN 0040000 #endif #define IEXTEN 0100000 +#ifdef __USE_BSD +# define EXTPROC 0200000 +#endif /* tcflow() and TCXONC use these */ #define TCOOFF 0 diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/termios.h b/sysdeps/unix/sysv/linux/powerpc/bits/termios.h index 7aac02dc55..26bbe77e63 100644 --- a/sysdeps/unix/sysv/linux/powerpc/bits/termios.h +++ b/sysdeps/unix/sysv/linux/powerpc/bits/termios.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997,1999,2001,2003,2004,2005 Free Software Foundation, Inc. +/* Copyright (C) 1997,1999,2001,2003-2005,2010 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 @@ -203,6 +203,9 @@ struct termios { # define PENDIN 0x20000000 #endif #define IEXTEN 0x00000400 +#ifdef __USE_BSD +# define EXTPROC 0x10000000 +#endif /* Values for the ACTION argument to `tcflow'. */ #define TCOOFF 0 diff --git a/sysdeps/unix/sysv/linux/sparc/bits/termios.h b/sysdeps/unix/sysv/linux/sparc/bits/termios.h index cea13227f8..8ad5751211 100644 --- a/sysdeps/unix/sysv/linux/sparc/bits/termios.h +++ b/sysdeps/unix/sysv/linux/sparc/bits/termios.h @@ -1,6 +1,5 @@ /* termios type and macro definitions. Linux/SPARC version. - Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2005 - Free Software Foundation, Inc. + Copyright (C) 1993-1997, 2000, 2005, 2010 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 @@ -193,11 +192,14 @@ struct termios # define ECHOCTL 0x00000200 # define ECHOPRT 0x00000400 # define ECHOKE 0x00000800 -# define DEFECHO 0x00001000 /* SUNOS thing, what is it? */ +# define DEFECHO 0x00001000 /* SUNOS thing, what is it? */ # define FLUSHO 0x00002000 # define PENDIN 0x00004000 #endif #define IEXTEN 0x00008000 +#ifdef __USE_BSD +# define EXTPROC 0x00010000 +#endif /* modem lines */ #define TIOCM_LE 0x001