diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:23:58 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:23:58 +0800 |
commit | 20dcffd255f3db8f1ef70ab61b87aba3b2b859b9 (patch) | |
tree | 8aff6ea57b65cba05b77ff88d5b928b6d84afa89 /mbbsd/io.c | |
parent | 7a21e08eca7c72e08fb2a5294b192ebf59a0565a (diff) | |
download | pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.gz pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.bz2 pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.lz pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.xz pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.tar.zst pttbbs-20dcffd255f3db8f1ef70ab61b87aba3b2b859b9.zip |
explicitly tell C compiler functions have no parameter
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2592 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r-- | mbbsd/io.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -35,7 +35,7 @@ inline static int write_wrapper(int fd, void *buf, size_t count) { /* output routines */ /* ----------------------------------------------------- */ void -oflush() +oflush(void) { if (obufsize) { #ifdef CONVERT @@ -48,7 +48,7 @@ oflush() } void -init_buf() +init_buf(void) { memset(inbuf, 0, IBUFSIZE); @@ -105,7 +105,7 @@ add_io(int fd, int timeout) } int -num_in_buf() +num_in_buf(void) { return icurrchar - ibufsize; } @@ -117,7 +117,7 @@ num_in_buf() */ static int -dogetch() +dogetch(void) { int len; static time4_t lastact; @@ -209,7 +209,7 @@ dogetch() static int water_which_flag = 0; int -igetch() +igetch(void) { register int ch, mode = 0, last = 0; while ((ch = dogetch())) { |