aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-31 23:33:51 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-31 23:33:51 +0100
commit7558a0c057972324c8bd02d5f62ff9d52d866a7b (patch)
tree841b14ebb28253b0b5fbbcdfd24bd36e18064ca9
parentf658c7ea491eaabe8743409ebdc835468c28332c (diff)
Added player_array_init() to the header file -- it's public
-rw-r--r--FICS/ficsmain.c2
-rw-r--r--FICS/playerdb.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/FICS/ficsmain.c b/FICS/ficsmain.c
index ac02d64..d40dd0a 100644
--- a/FICS/ficsmain.c
+++ b/FICS/ficsmain.c
@@ -130,8 +130,6 @@ usage(char *progname)
PUBLIC int
main(int argc, char *argv[])
{
- extern void player_array_init(void); /* XXX */
-
#ifdef DEBUG
#ifdef HAVE_MALLOC_DEBUG
malloc_debug(16);
diff --git a/FICS/playerdb.h b/FICS/playerdb.h
index bfbbe8e..0024c66 100644
--- a/FICS/playerdb.h
+++ b/FICS/playerdb.h
@@ -261,6 +261,7 @@ extern int player_withdraw_offers(int, int, int);
extern int player_zero(int);
extern time_t player_lastconnect(int);
extern time_t player_lastdisconnect(int);
+extern void player_array_init(void);
extern void player_init(int);
extern void player_pend_print(int, pending *);
extern void player_write_login(int);