From 56e7ec2edacc18f3b323a35544dc577545eb24d4 Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 9 Sep 2004 16:06:52 +0000 Subject: use Signal instead of signal, and define the correct one in osdep.h fix compile error git-svn-id: http://opensvn.csie.org/pttbbs/branches/victor.solaris@2188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/chc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd/chc.c') 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 * -- cgit v1.2.3