From a98bac514627ce2e3bc28acff6a86d7bae435119 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 18 Nov 2007 11:58:30 +0000 Subject: [PATCH] (sendmessage): Internal linkage. --- include/prototypes.h | 1 - src/lib/commands/flash.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/prototypes.h b/include/prototypes.h index b686a780..c2c2f9fd 100644 --- a/include/prototypes.h +++ b/include/prototypes.h @@ -57,7 +57,6 @@ extern void finish_server(void); * src/lib/commands/ *.c */ extern int check_market(void); -extern int sendmessage(struct natstr *, struct natstr *, char *, int); extern void gift(natid, natid, void *, char *); extern int display_mark(i_type, int); extern int want_to_abandon(struct sctstr *, i_type, int, struct lndstr *); diff --git a/src/lib/commands/flash.c b/src/lib/commands/flash.c index 36d2da00..90395ae4 100644 --- a/src/lib/commands/flash.c +++ b/src/lib/commands/flash.c @@ -38,6 +38,8 @@ #include "commands.h" +static int sendmessage(struct natstr *, struct natstr *, char *, int); + int flash(void) { @@ -124,7 +126,7 @@ wall(void) * A header identifying US is prepended to the message. It is more * verbose if VERBOSE. */ -int +static int sendmessage(struct natstr *us, struct natstr *to, char *message, int verbose) { struct player *other;