diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-03-30 14:31:00 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-03-30 14:31:00 +0100 |
commit | 22a31828a459d01cb06e81b36e6d312a7e03cad7 (patch) | |
tree | 4e76ce1c015075e19cc4bc4cdedfeaec6db9b047 /FICS | |
parent | 7486608b78e9bb343446e4bf8071ebb4fe1d1e6e (diff) |
Added parameter lists to the function declarations
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/gameproc.h | 65 |
1 files changed, 31 insertions, 34 deletions
diff --git a/FICS/gameproc.h b/FICS/gameproc.h index e56a69d..fdf4bc4 100644 --- a/FICS/gameproc.h +++ b/FICS/gameproc.h @@ -28,39 +28,36 @@ #define MAX_SIMPASS 3 #define MAX_JOURNAL 10 -extern void game_ended(); -extern int pIsPlaying(); -extern void process_move(); -extern int com_resign(); -extern int com_draw(); -extern int com_pause(); -extern int com_unpause(); -extern int com_abort(); -extern int com_games(); - -extern int com_courtesyabort(); -extern int com_courtesyadjourn(); -extern int com_load(); -extern int com_stored(); -extern int com_adjourn(); -extern int com_flag(); -extern int com_takeback(); -extern int com_switch(); -extern int com_time(); -extern int com_boards(); - -extern int com_simmatch(); -extern int com_simnext(); -extern int com_simprev(); -extern int com_goboard(); -extern int com_gonum(); -extern int com_simgames(); -extern int com_simpass(); -extern int com_simabort(); -extern int com_simallabort(); -extern int com_simadjourn(); -extern int com_simalladjourn(); - -extern int com_moretime(); +#include "command.h" /* param_list */ + +extern int com_abort(int, param_list); +extern int com_adjourn(int, param_list); +extern int com_boards(int, param_list); +extern int com_courtesyabort(int, param_list); +extern int com_courtesyadjourn(int, param_list); +extern int com_draw(int, param_list); +extern int com_flag(int, param_list); +extern int com_goboard(int, param_list); +extern int com_gonum(int, param_list); +extern int com_moretime(int, param_list); +extern int com_pause(int, param_list); +extern int com_resign(int, param_list); +extern int com_simabort(int, param_list); +extern int com_simadjourn(int, param_list); +extern int com_simallabort(int, param_list); +extern int com_simalladjourn(int, param_list); +extern int com_simgames(int, param_list); +extern int com_simmatch(int, param_list); +extern int com_simnext(int, param_list); +extern int com_simpass(int, param_list); +extern int com_simprev(int, param_list); +extern int com_switch(int, param_list); +extern int com_takeback(int, param_list); +extern int com_time(int, param_list); +extern int com_unpause(int, param_list); + +extern int pIsPlaying(int); +extern void game_ended(int, int, int); +extern void process_move(int, char *); #endif /* _GAMEPROC_H */ |