Give unit_map() internal linkage

This commit is contained in:
Markus Armbruster 2008-02-22 21:53:24 +01:00
parent 2dea1b914d
commit 3117ef9c7a
2 changed files with 3 additions and 3 deletions

View file

@ -480,7 +480,6 @@ extern int islist(char *);
/* maps.c */ /* maps.c */
extern int do_map(int bmap, int unit_type, char *arg1, char *arg2); extern int do_map(int bmap, int unit_type, char *arg1, char *arg2);
extern int draw_map(int, char, int, struct nstr_sect *); extern int draw_map(int, char, int, struct nstr_sect *);
extern int unit_map(int, int, struct nstr_sect *, char *);
extern int display_region_map(int bmap, int unit_type, coord curx, extern int display_region_map(int bmap, int unit_type, coord curx,
coord cury, char *arg); coord cury, char *arg);
extern int bmaps_intersect(natid, natid); extern int bmaps_intersect(natid, natid);

View file

@ -54,7 +54,8 @@
#include "xy.h" #include "xy.h"
static int bmnxtsct(struct nstr_sect *); static int bmnxtsct(struct nstr_sect *);
static char map_char(int type, natid own, int owner_or_god); static char map_char(int, natid, int);
static int unit_map(int, int, struct nstr_sect *, char *);
int int
do_map(int bmap, int unit_type, char *arg, char *map_flags_arg) do_map(int bmap, int unit_type, char *arg, char *map_flags_arg)
@ -341,7 +342,7 @@ map_char(int type, natid own, int owner_or_god)
return '?'; return '?';
} }
int static int
unit_map(int unit_type, int uid, struct nstr_sect *nsp, char *originp) unit_map(int unit_type, int uid, struct nstr_sect *nsp, char *originp)
{ {
struct empobj *gp; struct empobj *gp;