X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fdiscard.c;h=03eaa102111e470ae51bf4eceb96462d63d1feeb;hp=eb7e7c872d85af85f7e10eb5b8aac60a1b84d3fa;hb=714b5c530ece27ea2835a313013f5b770163403c;hpb=ced6090a330d3d83d0bce709f756aa3d7d65fea4 diff --git a/sbr/discard.c b/sbr/discard.c index eb7e7c8..03eaa10 100644 --- a/sbr/discard.c +++ b/sbr/discard.c @@ -27,7 +27,7 @@ void -discard (FILE *io) +discard(FILE *io) { #ifndef HAVE_TERMIOS_H # ifdef HAVE_TERMIO_H @@ -41,19 +41,19 @@ discard (FILE *io) return; #ifdef HAVE_TERMIOS_H - tcflush (fileno(io), TCOFLUSH); + tcflush(fileno(io), TCOFLUSH); #else # ifdef HAVE_TERMIO_H - if (ioctl (fileno(io), TCGETA, &tio) != -1) - ioctl (fileno(io), TCSETA, &tio); + if (ioctl(fileno(io), TCGETA, &tio) != -1) + ioctl(fileno(io), TCSETA, &tio); # else - if (ioctl (fileno(io), TIOCGETP, (char *) &tio) != -1) - ioctl (fileno(io), TIOCSETP, (char *) &tio); + if (ioctl(fileno(io), TIOCGETP, (char *) &tio) != -1) + ioctl(fileno(io), TIOCSETP, (char *) &tio); # endif #endif #if defined(_FSTDIO) || defined(__DragonFly__) - fpurge (io); + fpurge(io); #else # ifdef LINUX_STDIO io->_IO_write_ptr = io->_IO_write_base;