John Hines wrote: [Snip] > gcc -c -g -O2 -Wall regen.c > regen.c: In function `points_event': > regen.c:65: warning: `return' with a value, in function returning void > regen.c:76: warning: `return' with a value, in function returning void > regen.c:87: warning: `return' with a value, in function returning void > regen.c:95: warning: `return' with a value, in function returning void > regen.c:102: warning: `return' with a value, in function returning void I think you've got an old version dgevents, the version I've got has this in the events.h header file: * Changes: * * 3/6/98 ejg: Changed return type of EVENTFUNC from void to long. * Which suggests that you've got the version where EVENTFUNC returned void. I believe that the return value is used to reschedule the event. Chris +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST