X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fapi%2Ftermios.c;h=eaac31b7a421538697fec20e4222d0f17ea22370;hb=0ef2646848cbc2e6c59f8757165b5790b0132281;hp=a138767e330873ed29c78920865e2408f3686add;hpb=6a2161f389e6115bb3b948d71c56c8c882eaeda6;p=libc-test diff --git a/src/api/termios.c b/src/api/termios.c index a138767..eaac31b 100644 --- a/src/api/termios.c +++ b/src/api/termios.c @@ -117,15 +117,15 @@ C(TCIOFF) C(TCION) C(TCOOFF) C(TCOON) -speed_t(*p_cfgetispeed)(const struct termios*) = cfgetispeed; -speed_t(*p_cfgetospeed)(const struct termios*) = cfgetospeed; -int(*p_cfsetispeed)(struct termios*,speed_t) = cfsetispeed; -int(*p_cfsetospeed)(struct termios*,speed_t) = cfsetospeed; -int(*p_tcdrain)(int) = tcdrain; -int(*p_tcflow)(int,int) = tcflow; -int(*p_tcflush)(int,int) = tcflush; -int(*p_tcgetattr)(int,struct termios*) = tcgetattr; -pid_t(*p_tcgetsid)(int) = tcgetsid; -int(*p_tcsendbreak)(int,int) = tcsendbreak; -int(*p_tcsetattr)(int,int,const struct termios*) = tcsetattr; +{speed_t(*p)(const struct termios*) = cfgetispeed;} +{speed_t(*p)(const struct termios*) = cfgetospeed;} +{int(*p)(struct termios*,speed_t) = cfsetispeed;} +{int(*p)(struct termios*,speed_t) = cfsetospeed;} +{int(*p)(int) = tcdrain;} +{int(*p)(int,int) = tcflow;} +{int(*p)(int,int) = tcflush;} +{int(*p)(int,struct termios*) = tcgetattr;} +{pid_t(*p)(int) = tcgetsid;} +{int(*p)(int,int) = tcsendbreak;} +{int(*p)(int,int,const struct termios*) = tcsetattr;} }