summaryrefslogtreecommitdiffstats
path: root/mbbsd/chat.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/chat.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/chat.c')
-rw-r--r--mbbsd/chat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c
index 36763341..cad6a09b 100644
--- a/mbbsd/chat.c
+++ b/mbbsd/chat.c
@@ -25,7 +25,7 @@ printchatline(char *str)
}
static void
-chat_clear()
+chat_clear(void)
{
for (chatline = 2; chatline < STOP_LINE; chatline++) {
move(chatline, 0);
@@ -185,7 +185,7 @@ chat_help(char *arg)
}
static void
-chat_date()
+chat_date(void)
{
char genbuf[200];
@@ -195,7 +195,7 @@ chat_date()
}
static void
-chat_pager()
+chat_pager(void)
{
char genbuf[200];
@@ -242,7 +242,7 @@ chat_query(char *arg)
}
static void
-chat_users()
+chat_users(void)
{
printchatline("");
printchatline("¡i " BBSNAME "ªº¹C«È¦Cªí ¡j");
@@ -298,7 +298,7 @@ chat_cmd(char *buf, int fd)
static int chatid_len = 10;
int
-t_chat()
+t_chat(void)
{
char chatroom[IDLEN];/* Chat-Room Name */
char inbuf[80], chatid[20], lastcmd[MAXLASTCMD][80], *ptr = "";