[Glibc-bsd-commits] r5839 - trunk/glibc-ports/kfreebsd/bits

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Sat Nov 21 22:23:07 UTC 2015


Author: aurel32
Date: 2015-11-21 22:23:07 +0000 (Sat, 21 Nov 2015)
New Revision: 5839

Modified:
   trunk/glibc-ports/kfreebsd/bits/termios.h
Log:
Clean termios c_lflags and fixup visibility


Modified: trunk/glibc-ports/kfreebsd/bits/termios.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/termios.h	2015-11-21 22:09:47 UTC (rev 5838)
+++ trunk/glibc-ports/kfreebsd/bits/termios.h	2015-11-21 22:23:07 UTC (rev 5839)
@@ -157,38 +157,30 @@
 #ifdef	__USE_MISC
 # define ECHOKE	(1 << 0)	/* Visual erase for KILL.  */
 #endif
-#define	_ECHOE	(1 << 1)	/* Visual erase for ERASE.  */
-#define	ECHOE	_ECHOE
-#define	_ECHOK	(1 << 2)	/* Echo NL after KILL.  */
-#define	ECHOK	_ECHOK
-#define	_ECHO	(1 << 3)	/* Enable echo.  */
-#define	ECHO	_ECHO
-#define	_ECHONL	(1 << 4)	/* Echo NL even if ECHO is off.  */
-#define	ECHONL	_ECHONL
+#define	ECHOE	(1 << 1)	/* Visual erase for ERASE.  */
+#define	ECHOK	(1 << 2)	/* Echo NL after KILL.  */
+#define	ECHO	(1 << 3)	/* Enable echo.  */
+#define	ECHONL	(1 << 4)	/* Echo NL even if ECHO is off.  */
 #ifdef	__USE_MISC
 # define ECHOPRT	(1 << 5)	/* Hardcopy visual erase.  */
 # define ECHOCTL	(1 << 6)	/* Echo control characters as ^X.  */
 #endif
-#define	_ISIG	(1 << 7)	/* Enable signals.  */
-#define	ISIG	_ISIG
-#define	_ICANON	(1 << 8)	/* Do erase and kill processing.  */
-#define	ICANON	_ICANON
+#define	ISIG	(1 << 7)	/* Enable signals.  */
+#define	ICANON	(1 << 8)	/* Do erase and kill processing.  */
 #ifdef	__USE_MISC
 # define ALTWERASE (1 << 9)	/* Alternate WERASE algorithm.  */
 #endif
-#define	_IEXTEN	(1 << 10)	/* Enable DISCARD and LNEXT.  */
-#define	IEXTEN	_IEXTEN
-#define	_EXTPROC (1 << 11)	/* External processing.  */
-#define EXTPROC	_EXTPROC
-#define	_TOSTOP	(1 << 22)	/* Send SIGTTOU for background output.  */
-#define	TOSTOP	_TOSTOP
+#define	IEXTEN	(1 << 10)	/* Enable DISCARD and LNEXT.  */
+#ifdef __USE_MISC
+# define EXTPROC (1 << 11)	/* External processing.  */
+#endif
+#define	TOSTOP	(1 << 22)	/* Send SIGTTOU for background output.  */
 #ifdef	__USE_MISC
 # define FLUSHO	(1 << 23)	/* Output being flushed (state).  */
 # define NOKERNINFO (1 << 25)	/* Disable VSTATUS.  */
 # define PENDIN	(1 << 29)	/* Retype pending input (state).  */
 #endif
-#define	_NOFLSH	(1 << 31)	/* Disable flush after interrupt.  */
-#define	NOFLSH	_NOFLSH
+#define	NOFLSH	(1 << 31)	/* Disable flush after interrupt.  */
 
   /* Input and output baud rates.  */
 #define	B0	0		/* Hang up.  */




More information about the Glibc-bsd-commits mailing list