From: Rich Felker Date: Wed, 29 Jan 2020 15:47:19 +0000 (-0500) Subject: fix unprotected macro argument in sys/ttydefaults.h X-Git-Tag: v1.2.0~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a0217a2ff78ce88fe90e3345d2ee35ab53e3901e;p=oweals%2Fmusl.git fix unprotected macro argument in sys/ttydefaults.h --- diff --git a/include/sys/ttydefaults.h b/include/sys/ttydefaults.h index d251b715..e5d4da2b 100644 --- a/include/sys/ttydefaults.h +++ b/include/sys/ttydefaults.h @@ -6,7 +6,7 @@ #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL) #define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL) #define TTYDEF_SPEED (B9600) -#define CTRL(x) (x&037) +#define CTRL(x) ((x)&037) #define CEOF CTRL('d') #ifdef _POSIX_VDISABLE