Give unit_map() internal linkage
This commit is contained in:
parent
8745929ea7
commit
dd2d2d361a
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue