make rank() static again

This commit is contained in:
nhmall
2025-02-05 20:03:06 -05:00
parent c1516666b3
commit fe4cb7a626
2 changed files with 2 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ const char *const enc_stat[] = {
"Strained", "Overtaxed", "Overloaded"
};
staticfn const char *rank(void);
staticfn void bot_via_windowport(void);
staticfn void stat_update_time(void);
staticfn char *get_strength_str(void);
@@ -360,7 +361,7 @@ rank_of(int lev, short monnum, boolean female)
return "Player";
}
const char *
staticfn const char *
rank(void)
{
return rank_of(u.ulevel, Role_switch, flags.female);