diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-10 00:06:52 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-10 00:06:52 +0800 |
commit | 56e7ec2edacc18f3b323a35544dc577545eb24d4 (patch) | |
tree | 6ef013967bd762a48bfe0d003da51af614327600 /mbbsd/chc.c | |
parent | 428f0736872120d93a2820d5012908f1f0ab6944 (diff) | |
download | pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.gz pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.bz2 pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.lz pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.xz pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.tar.zst pttbbs-56e7ec2edacc18f3b323a35544dc577545eb24d4.zip |
use Signal instead of signal, and define the correct one in osdep.hvictor.solaris
fix compile error
git-svn-id: http://opensvn.csie.org/pttbbs/branches/victor.solaris@2188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chc.c')
-rw-r--r-- | mbbsd/chc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c index 54a351ba..4a37dbfe 100644 --- a/mbbsd/chc.c +++ b/mbbsd/chc.c @@ -896,7 +896,7 @@ chc_init(int s, chcusr_t *user1, chcusr_t *user2, board_t board, play_func_t pla chc_redraw(user1, user2, board); add_io(s, 0); - signal(SIGUSR1, chc_watch_request); + Signal(SIGUSR1, chc_watch_request); if (my->turn && !(chc_mode & CHC_WATCH)) chc_broadcast_recv(act_list, board); @@ -926,7 +926,7 @@ chc(int s, int mode) char mode0 = currutmp->mode; char file[80]; - signal(SIGUSR1, SIG_IGN); + Signal(SIGUSR1, SIG_IGN); chc_mode = mode; chc_bp = &board; @@ -963,7 +963,7 @@ chc(int s, int mode) } else chc_log_close(); - signal(SIGUSR1, talk_request); + Signal(SIGUSR1, talk_request); } static userinfo_t * |