From 0adde73c09fae177c42803b49cedbf9770de72f5 Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 7 Aug 2005 20:38:59 +0000 Subject: Use ``void (*)(int)'' instead of ``sighandler_t'' since FreeBSD use sig_t instead of sighandler_t. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3004 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/chess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/chess.c b/mbbsd/chess.c index 2f7aaa96..3ff21ab3 100644 --- a/mbbsd/chess.c +++ b/mbbsd/chess.c @@ -680,7 +680,7 @@ void ChessPlay(ChessInfo* info) { ChessGameResult game_result; - sighandler_t old_handler; + void (*old_handler)(int); const char* game_result_str = 0; if (info == NULL) -- cgit v1.2.3