summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-03-21 19:47:30 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-03-21 19:47:30 +0800
commit4813f76942b44fa45159fcd743657ce203601464 (patch)
treebac6a970516342f06c672bafbdf11c93e95da7b6 /mbbsd/mbbsd.c
parent66a0e0e786412114be7e2439b816b2780601e016 (diff)
downloadpttbbs-4813f76942b44fa45159fcd743657ce203601464.tar
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.gz
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.bz2
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.lz
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.xz
pttbbs-4813f76942b44fa45159fcd743657ce203601464.tar.zst
pttbbs-4813f76942b44fa45159fcd743657ce203601464.zip
Clean up some compile warnings (unused, signess)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4448 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 0b72cae7..1deaee01 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -134,7 +134,7 @@ start_daemon(void)
}
static void
-reapchild(int sig)
+reapchild(int sig GCC_UNUSED)
{
int state, pid;
@@ -226,7 +226,7 @@ u_exit(const char *mode)
}
void
-abort_bbs(int sig)
+abort_bbs(int sig GCC_UNUSED)
{
/* ignore normal signals */
Signal(SIGALRM, SIG_IGN);
@@ -337,7 +337,7 @@ mysrand(void)
}
void
-talk_request(int sig)
+talk_request(int sig GCC_UNUSED)
{
STATINC(STAT_TALKREQUEST);
bell();