summaryrefslogtreecommitdiffstats
path: root/mbbsd/term.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 11:23:58 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-12 11:23:58 +0800
commit20dcffd255f3db8f1ef70ab61b87aba3b2b859b9 (patch)
tree8aff6ea57b65cba05b77ff88d5b928b6d84afa89 /mbbsd/term.c
parent7a21e08eca7c72e08fb2a5294b192ebf59a0565a (diff)
downloadpttbbs-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/term.c')
-rw-r--r--mbbsd/term.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/term.c b/mbbsd/term.c
index 2b674340..3162844e 100644
--- a/mbbsd/term.c
+++ b/mbbsd/term.c
@@ -13,7 +13,7 @@ char *tgoto(const char *cap, int col, int row);
/* basic tty control */
/* ----------------------------------------------------- */
void
-init_tty()
+init_tty(void)
{
struct termios tty_state, tty_new;
@@ -86,7 +86,7 @@ term_resize(int sig)
}
int
-term_init()
+term_init(void)
{
Signal(SIGWINCH, term_resize);
return YEA;
@@ -103,14 +103,14 @@ do_move(int destcol, int destline)
}
void
-save_cursor()
+save_cursor(void)
{
ochar('\33');
ochar('7');
}
void
-restore_cursor()
+restore_cursor(void)
{
ochar('\33');
ochar('8');
@@ -127,7 +127,7 @@ change_scroll_range(int top, int bottom)
}
void
-scroll_forward()
+scroll_forward(void)
{
ochar('\33');
ochar('D');