diff --git a/include/prototypes.h b/include/prototypes.h index 66cfd9f8..7daa816e 100644 --- a/include/prototypes.h +++ b/include/prototypes.h @@ -437,7 +437,6 @@ extern struct player *player; /* current player's context */ extern char *praddr(struct player *); extern void player_main(struct player *); extern int match_user(char *, struct player *); -extern int status(void); extern int command(void); /* more in commands.h */ /* recvclient.c */ diff --git a/src/lib/player/player.c b/src/lib/player/player.c index aa0f358c..034ed7b4 100644 --- a/src/lib/player/player.c +++ b/src/lib/player/player.c @@ -59,6 +59,8 @@ #include #include +static int status(void); + struct player *player; void @@ -183,7 +185,7 @@ command(void) return 1; } -int +static int status(void) { struct natstr *natp;