diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-08 04:38:59 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-08 04:38:59 +0800 |
commit | 0adde73c09fae177c42803b49cedbf9770de72f5 (patch) | |
tree | b1e3dcf5f6be043d02eac69b4fa4443daa7080a5 /mbbsd/chess.c | |
parent | a654d6a45aeba35690e210cf61dc1d0ecde2ebde (diff) | |
download | pttbbs-0adde73c09fae177c42803b49cedbf9770de72f5.tar pttbbs-0adde73c09fae177c42803b49cedbf9770de72f5.tar.gz pttbbs-0adde73c09fae177c42803b49cedbf9770de72f5.tar.bz2 pttbbs-0adde73c09fae177c42803b49cedbf9770de72f5.tar.lz pttbbs-0adde73c09fae177c42803b49cedbf9770de72f5.tar.xz pttbbs-0adde73c09fae177c42803b49cedbf9770de72f5.tar.zst pttbbs-0adde73c09fae177c42803b49cedbf9770de72f5.zip |
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
Diffstat (limited to 'mbbsd/chess.c')
-rw-r--r-- | mbbsd/chess.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |