This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
MIPS bits/termios.h EXTPROC
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Fri, 13 Aug 2010 16:51:22 +0000 (UTC)
- Subject: MIPS bits/termios.h EXTPROC
I've applied this patch to add the EXTPROC define (recently added to the
Linux kernel and to libc copies of bits/termios.h) to the MIPS
bits/termios.h. The Alpha maintainers may wish to make a similar change
to that port.
diff --git a/ChangeLog.mips b/ChangeLog.mips
index 2dbed6f..33dbdb1 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,7 @@
+2010-08-13 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
+
2010-08-12 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
diff --git a/sysdeps/unix/sysv/linux/mips/bits/termios.h b/sysdeps/unix/sysv/linux/mips/bits/termios.h
index 4ff6e37..7a90f99 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/termios.h
@@ -1,5 +1,5 @@
/* termios type and macro definitions. Linux/MIPS version.
- Copyright (C) 1993, 94, 95, 96, 97, 99 Free Software Foundation, Inc.
+ Copyright (C) 1993, 94, 95, 96, 97, 99, 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
@@ -194,6 +194,9 @@ struct termios
#endif
#define TOSTOP 0100000 /* Send SIGTTOU for background output. */
#define ITOSTOP TOSTOP
+#ifdef __USE_BSD
+# define EXTPROC 0200000
+#endif
/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
#define TIOCSER_TEMT 0x01 /* Transmitter physically empty */
--
Joseph S. Myers
joseph@codesourcery.com