]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/human.c
update: Drop do_feed()'s return value
[empserver] / src / lib / update / human.c
index 7fa2e6ebd83dbfc09e571d36b2331bfe6ebf5fc2..b7b3403a5be609bfc34960d791a4b49735841b79 100644 (file)
@@ -52,7 +52,7 @@ static int babies(int, int, double, int, int, int);
 /*
  * feed the individual sector
  */
-int
+void
 do_feed(struct sctstr *sp, struct natstr *np, int etu,
        int round_babies_down)
 {
@@ -122,7 +122,7 @@ do_feed(struct sctstr *sp, struct natstr *np, int etu,
     trunc_people(sp, np);
 
     sp->sct_work = sctwork;
-    return work_avail;
+    sp->sct_avail = work_avail;
 }
 
 static int