(sendmessage): Internal linkage.
This commit is contained in:
parent
8064ecdb42
commit
a98bac5146
2 changed files with 3 additions and 2 deletions
|
@ -57,7 +57,6 @@ extern void finish_server(void);
|
||||||
* src/lib/commands/ *.c
|
* src/lib/commands/ *.c
|
||||||
*/
|
*/
|
||||||
extern int check_market(void);
|
extern int check_market(void);
|
||||||
extern int sendmessage(struct natstr *, struct natstr *, char *, int);
|
|
||||||
extern void gift(natid, natid, void *, char *);
|
extern void gift(natid, natid, void *, char *);
|
||||||
extern int display_mark(i_type, int);
|
extern int display_mark(i_type, int);
|
||||||
extern int want_to_abandon(struct sctstr *, i_type, int, struct lndstr *);
|
extern int want_to_abandon(struct sctstr *, i_type, int, struct lndstr *);
|
||||||
|
|
|
@ -38,6 +38,8 @@
|
||||||
|
|
||||||
#include "commands.h"
|
#include "commands.h"
|
||||||
|
|
||||||
|
static int sendmessage(struct natstr *, struct natstr *, char *, int);
|
||||||
|
|
||||||
int
|
int
|
||||||
flash(void)
|
flash(void)
|
||||||
{
|
{
|
||||||
|
@ -124,7 +126,7 @@ wall(void)
|
||||||
* A header identifying US is prepended to the message. It is more
|
* A header identifying US is prepended to the message. It is more
|
||||||
* verbose if VERBOSE.
|
* verbose if VERBOSE.
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
sendmessage(struct natstr *us, struct natstr *to, char *message, int verbose)
|
sendmessage(struct natstr *us, struct natstr *to, char *message, int verbose)
|
||||||
{
|
{
|
||||||
struct player *other;
|
struct player *other;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue