(at_minimum, blocksig, emp_bitinit, filelogerror, iceil, ifloor,
mapdsq, mask, signame, strscan, sys_siglist, typed_wire, unblocksig): Unused, remove. (add_airport, add_to_fired_queue, air_damage, anti_torp, best_path, bitinit2, blankrow, bmnxtsct, bp_init, build_mission_list, build_mission_list_type, buildeff, candchrg, canshoot, cantorp, cede_sect, cede_ship, checksect, client_cmd, coun_cmd, deity_build_land, divide, do_conv, do_defdam, do_demo, do_desi, do_mob_land, do_mob_plane, do_mob_sect, do_mob_ship, do_prod, docountry, doland, doplane, doship, dosupport, dotsprintf, dounit, empth_start, enlist, errcheck, filereport, find_airport, find_escorts, findcondition, fire_dchrg, fire_torp, fltp_to_list, get_minimum, getin, goodsect, grab_sect, grab_ship, grow_people, growfood, in_addr, infect_people, init_mchr, init_pchr, init_plchr, is_engineer, itemname, kill_cmd, landrepair, limit_level, list_cmd, lupgr, materials_charge, materials_cost, meltitems, mission_pln_arm, mission_pln_sel, move_map, nat_cap, num_units, outid, pass_cmd, perform_mission, pinflak_planedamage, play_cmd, pln_equip, prexpense, print_res, prplanes, prunits, pupgr, quiet_bigdef, quit_cmd, radmap2, retreat_land1, retreat_ship1, s_commod, sanc_cmd, sarg_getrange, scuttle_it, scuttle_land, set_target, share_incr, shiprepair, shp_check_mines, shp_check_nav, shp_check_one_mines, shp_hit_mine, shp_interdict, shp_mess, sort_lookup_list, starvation, supgr, swap, take_casualties, trunc_people, upd_buildeff, upd_land, upd_ship, use_ammo, user_cmd): Change linkage to static.
This commit is contained in:
parent
f883ed1620
commit
2fe312adac
58 changed files with 273 additions and 693 deletions
|
@ -44,6 +44,8 @@
|
|||
#include "common.h"
|
||||
#include "gen.h"
|
||||
|
||||
static int nat_cap(int);
|
||||
|
||||
int
|
||||
init_nats(void)
|
||||
{
|
||||
|
@ -69,7 +71,7 @@ init_nats(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
nat_cap(int btu)
|
||||
{
|
||||
extern int s_p_etu;
|
||||
|
|
|
@ -112,7 +112,7 @@ player_login(void *ud)
|
|||
/*NOTREACHED*/
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
client_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
int i;
|
||||
|
@ -130,7 +130,7 @@ client_cmd(struct player *player, int ac, char **av)
|
|||
return RET_OK;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
user_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
if (ac < 1 || av[1] == '\0')
|
||||
|
@ -141,7 +141,7 @@ user_cmd(struct player *player, int ac, char **av)
|
|||
return RET_OK;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
sanc_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
struct nstr_item ni;
|
||||
|
@ -171,7 +171,7 @@ sanc_cmd(struct player *player, int ac, char **av)
|
|||
return RET_OK;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
coun_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
natid cnum;
|
||||
|
@ -188,7 +188,7 @@ coun_cmd(struct player *player, int ac, char **av)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
pass_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
if (ac < 1 || av[1] == '\0')
|
||||
|
@ -210,7 +210,7 @@ pass_cmd(struct player *player, int ac, char **av)
|
|||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
static int
|
||||
play_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
extern char *banfil;
|
||||
|
@ -260,7 +260,7 @@ play_cmd(struct player *player, int ac, char **av)
|
|||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
static int
|
||||
kill_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
struct player *other;
|
||||
|
@ -280,7 +280,7 @@ kill_cmd(struct player *player, int ac, char **av)
|
|||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
static int
|
||||
list_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
struct player *lp;
|
||||
|
@ -303,7 +303,7 @@ list_cmd(struct player *player, int ac, char **av)
|
|||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
static int
|
||||
quit_cmd(struct player *player, int ac, char **av)
|
||||
{
|
||||
pr_id(player, C_EXIT, "so long\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue