diff --git a/include/prototypes.h b/include/prototypes.h index 16b41f6d..3e46c605 100644 --- a/include/prototypes.h +++ b/include/prototypes.h @@ -508,7 +508,6 @@ extern int off_support(coord, coord, natid, natid); extern int def_support(coord, coord, natid, natid); extern int oprange(struct genitem *, int, int *); extern int cando(int, int); -extern s_char *mission_short_name(int); extern void show_mission(int, struct nstr_item *); extern int air_defense(coord, coord, natid, struct emp_qelem *, struct emp_qelem *); diff --git a/src/lib/subs/mission.c b/src/lib/subs/mission.c index 8b8b3c11..f6ed2750 100644 --- a/src/lib/subs/mission.c +++ b/src/lib/subs/mission.c @@ -848,31 +848,6 @@ nameofitem(struct genitem *gp, int type) return NULL; } -s_char * -mission_short_name(int mission) -{ - switch (mission) { - case MI_INTERDICT: - return "interdict"; - case MI_SUPPORT: - return "support "; - case MI_OSUPPORT: - return "offensive"; - case MI_DSUPPORT: - return "defensive"; - case MI_RESERVE: - return "reserve "; - case MI_ESCORT: - return "escort "; - case MI_SINTERDICT: - return "interdict"; - case MI_AIR_DEFENSE: - return "air def "; - default: - return " "; - } -} - s_char * mission_name(short int mission) {