From 8cc53c1c2b22d6b16a82fc94de1e8015647936e5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 23 Jul 2005 16:41:18 +0000 Subject: [PATCH] (status): Internal linkage. --- include/prototypes.h | 1 - src/lib/player/player.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) 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;