--> (quest.c)...
quest.c: In function `do_quest':
quest.c:561: warning: no previous prototype for `get_random_room_for'
quest.c:585: warning: no previous prototype for `generate_quest'
quest.c:759: warning: no previous prototype for `quest_level_diff'
quest.c:770: warning: no previous prototype for `quest_update'
quest.c:814: warning: no previous prototype for `end_quest'
quest.c:825: warning: no previous prototype for `do_mob_tell'
quest.c:834: warning: no previous prototype for `do_qpgive'
quest.c:882: error: syntax error at end of input
make: *** [quest.o] Error 1
First off i'm unsure how to get rid of the 'no previous prototype' warning since i've just spent like 30 minutes searching the net to find a cure, found only few responses saying its not an error. Which makes me think its either impossible to remove that warning, or people haven't figured it out yet.
Second is the error itself, 'syntax error at end of input', i've gone through the quest.c file completely and theres no errors, no missing brackets.. That line '882' is like 1 line away from the end of the file (so i check the last function fully and saw nothing wrong).
Info: I have all the 'no previous prototypes' functions declared in proto.h (this is rot, so proto.h is linked with merc.h)
ex. void end_quest args ( ( CHAR_DATA * ch, int time ) );
If you can help me please do, thanks in advance.
quest.c: In function `do_quest':
quest.c:561: warning: no previous prototype for `get_random_room_for'
quest.c:585: warning: no previous prototype for `generate_quest'
quest.c:759: warning: no previous prototype for `quest_level_diff'
quest.c:770: warning: no previous prototype for `quest_update'
quest.c:814: warning: no previous prototype for `end_quest'
quest.c:825: warning: no previous prototype for `do_mob_tell'
quest.c:834: warning: no previous prototype for `do_qpgive'
quest.c:882: error: syntax error at end of input
make: *** [quest.o] Error 1
First off i'm unsure how to get rid of the 'no previous prototype' warning since i've just spent like 30 minutes searching the net to find a cure, found only few responses saying its not an error. Which makes me think its either impossible to remove that warning, or people haven't figured it out yet.
Second is the error itself, 'syntax error at end of input', i've gone through the quest.c file completely and theres no errors, no missing brackets.. That line '882' is like 1 line away from the end of the file (so i check the last function fully and saw nothing wrong).
Info: I have all the 'no previous prototypes' functions declared in proto.h (this is rot, so proto.h is linked with merc.h)
ex. void end_quest args ( ( CHAR_DATA * ch, int time ) );
If you can help me please do, thanks in advance.