update: Drop do_feed()'s return value
Call callers assign the return value to sp->sct_avail now. Move the assignment to do_feed() and drop the return value. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
8e246ee06d
commit
cc61904354
5 changed files with 6 additions and 6 deletions
|
@ -656,7 +656,7 @@ extern int dodistribute(struct sctstr *, int, double);
|
|||
/* finish.c */
|
||||
extern void finish_sects(int);
|
||||
/* human.c */
|
||||
extern int do_feed(struct sctstr *, struct natstr *, int, int);
|
||||
extern void do_feed(struct sctstr *, struct natstr *, int, int);
|
||||
extern int feed_people(short *, int);
|
||||
extern double food_needed(short *, int);
|
||||
extern int famine_victims(short *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue