Skip to content

Commit

Permalink
function declaration isn’t a prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Feb 9, 2025
1 parent 7b44c7b commit a1419da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/spells/charming.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ int sp_charmingsong(castorder *co)
return cast_level;
}

void fix_slaves()
void fix_slaves(void)
{
faction *f;
for (f = factions; f; f = f->next) {
Expand Down
2 changes: 1 addition & 1 deletion src/spells/charming.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ void charm_unit(struct unit *target, struct unit *mage, double force, int durati

extern const struct curse_type ct_slavery;

void fix_slaves();
void fix_slaves(void);

0 comments on commit a1419da

Please sign in to comment.