=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for jetpack-1.0nb2 cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c bitmap.c In file included from bitmap.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ bitmap.c:35:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_up_bitmaps() ^ bitmap.c:322:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 5 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c bonus.c In file included from bonus.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ bonus.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bonus_check() ^ bonus.c:14:2: warning: implicit declaration of function 'decrement_bonus' is invalid in C99 [-Wimplicit-function-declaration] decrement_bonus(); ^ bonus.c:15:2: warning: implicit declaration of function 'extra_man_check' is invalid in C99 [-Wimplicit-function-declaration] extra_man_check(); ^ bonus.c:16:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ bonus.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] decrement_bonus() ^ bonus.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ bonus.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extra_man_check() ^ bonus.c:37:16: warning: implicit declaration of function 'bigmessage' is invalid in C99 [-Wimplicit-function-declaration] if(!waiting) bigmessage("BONUS!", CBLACK, 50); ^ bonus.c:38:3: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message("Extra player awarded!", CBLACK, 100); ^ bonus.c:39:3: warning: implicit declaration of function 'refresh_info' is invalid in C99 [-Wimplicit-function-declaration] refresh_info(); ^ bonus.c:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ bonus.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] score_bonus() ^ bonus.c:54:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 16 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c collision.c In file included from collision.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ collision.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] collision_check() ^ collision.c:31:7: warning: implicit declaration of function 'refresh_info' is invalid in C99 [-Wimplicit-function-declaration] refresh_info(); ^ collision.c:132:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ collision.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] message_check() ^ collision.c:147:7: warning: implicit declaration of function 'bigmessage' is invalid in C99 [-Wimplicit-function-declaration] bigmessage(lmessage[i].bigtext, lmessage[i].bigcolor, ^ collision.c:151:7: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message(lmessage[i].text, lmessage[i].color, ^ collision.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 10 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c demo.c In file included from demo.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ demo.c:20:2: warning: implicit declaration of function 'reset_game' is invalid in C99 [-Wimplicit-function-declaration] reset_game(); ^ demo.c:21:2: warning: implicit declaration of function 'reset_level' is invalid in C99 [-Wimplicit-function-declaration] reset_level(); ^ demo.c:24:5: warning: implicit declaration of function 'special_setup' is invalid in C99 [-Wimplicit-function-declaration] if(special_setup() == 0) return; ^ demo.c:27:2: warning: implicit declaration of function 'draw' is invalid in C99 [-Wimplicit-function-declaration] draw(); ^ demo.c:28:2: warning: implicit declaration of function 'refresh_info' is invalid in C99 [-Wimplicit-function-declaration] refresh_info(); ^ demo.c:30:13: warning: implicit declaration of function 'begin_timer' is invalid in C99 [-Wimplicit-function-declaration] begin_timer(); ^ demo.c:31:41: warning: implicit declaration of function 'demo_event_filter' is invalid in C99 [-Wimplicit-function-declaration] while(XPending(display) && !demo_event_filter()); ^ demo.c:32:4: warning: implicit declaration of function 'demo_player' is invalid in C99 [-Wimplicit-function-declaration] demo_player(); ^ demo.c:33:4: warning: implicit declaration of function 'update' is invalid in C99 [-Wimplicit-function-declaration] update(); ^ demo.c:34:13: warning: implicit declaration of function 'collision_check' is invalid in C99 [-Wimplicit-function-declaration] collision_check(); ^ demo.c:35:13: warning: implicit declaration of function 'message_check' is invalid in C99 [-Wimplicit-function-declaration] message_check(); ^ demo.c:36:4: warning: implicit declaration of function 'bonus_check' is invalid in C99 [-Wimplicit-function-declaration] bonus_check(); ^ demo.c:38:21: warning: implicit declaration of function 'get_timer' is invalid in C99 [-Wimplicit-function-declaration] timer = get_timer(); ^ demo.c:39:35: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] if(timer < USECDELAY) usleep(USECDELAY - timer); ^ demo.c:49:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] title_screen() ^ demo.c:54:2: warning: implicit declaration of function 'setup_title_maze' is invalid in C99 [-Wimplicit-function-declaration] setup_title_maze(); ^ demo.c:60:2: warning: implicit declaration of function 'init_zones' is invalid in C99 [-Wimplicit-function-declaration] init_zones(); ^ demo.c:65:2: warning: implicit declaration of function 'title_refresh' is invalid in C99 [-Wimplicit-function-declaration] title_refresh(); ^ demo.c:69:2: warning: implicit declaration of function 'read_new_scores' is invalid in C99 [-Wimplicit-function-declaration] read_new_scores(); ^ demo.c:74:28: warning: implicit declaration of function 'title_event_filter' is invalid in C99 [-Wimplicit-function-declaration] while(XPending(display)) title_event_filter(); ^ demo.c:87:4: warning: implicit declaration of function 'draw_scores' is invalid in C99 [-Wimplicit-function-declaration] draw_scores(shiftwhich); ^ demo.c:91:3: warning: implicit declaration of function 'title_draw' is invalid in C99 [-Wimplicit-function-declaration] title_draw(); ^ demo.c:98:2: warning: implicit declaration of function 'stop_timer' is invalid in C99 [-Wimplicit-function-declaration] stop_timer(); ^ demo.c:101:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ demo.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] demo_walk(x) ^ demo.c:115:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ demo.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] demo_fly(x, y) ^ demo.c:136:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ demo.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] demo_delay() ^ demo.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ demo.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] demo_player() ^ demo.c:215:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 35 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c draw.c In file included from draw.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ draw.c:22:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw() ^ draw.c:30:2: warning: implicit declaration of function 'erase_draw_zones' is invalid in C99 [-Wimplicit-function-declaration] erase_draw_zones(); ^ draw.c:31:2: warning: implicit declaration of function 'init_zones' is invalid in C99 [-Wimplicit-function-declaration] init_zones(); ^ draw.c:34:2: warning: implicit declaration of function 'draw_info' is invalid in C99 [-Wimplicit-function-declaration] draw_info(); ^ draw.c:37:2: warning: implicit declaration of function 'draw_maze' is invalid in C99 [-Wimplicit-function-declaration] draw_maze(); ^ draw.c:38:2: warning: implicit declaration of function 'draw_door' is invalid in C99 [-Wimplicit-function-declaration] draw_door(); ^ draw.c:39:2: warning: implicit declaration of function 'draw_sweepers' is invalid in C99 [-Wimplicit-function-declaration] draw_sweepers(); ^ draw.c:40:2: warning: implicit declaration of function 'draw_treasures' is invalid in C99 [-Wimplicit-function-declaration] draw_treasures(); ^ draw.c:41:2: warning: implicit declaration of function 'draw_fireballs' is invalid in C99 [-Wimplicit-function-declaration] draw_fireballs(); ^ draw.c:42:2: warning: implicit declaration of function 'draw_guards' is invalid in C99 [-Wimplicit-function-declaration] draw_guards(); ^ draw.c:43:2: warning: implicit declaration of function 'draw_messages' is invalid in C99 [-Wimplicit-function-declaration] draw_messages(); ^ draw.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_maze() ^ draw.c:65:5: warning: implicit declaration of function 'set_zone' is invalid in C99 [-Wimplicit-function-declaration] set_zone(x1, y1, x2, y2, ZLINE, i); ^ draw.c:69:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_fireballs() ^ draw.c:126:8: warning: implicit declaration of function 'transx' is invalid in C99 [-Wimplicit-function-declaration] fx = transx(firex[i], FIREWIDTH); ^ draw.c:127:8: warning: implicit declaration of function 'transy' is invalid in C99 [-Wimplicit-function-declaration] fy = transy(firey[i], FIREHEIGHT); ^ draw.c:141:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_guards() ^ draw.c:165:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_sweepers() ^ draw.c:189:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_treasures() ^ draw.c:264:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:268:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_door() ^ draw.c:289:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:311:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] refresh_info() ^ draw.c:329:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:333:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_messages() ^ draw.c:371:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:376:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_info() ^ draw.c:405:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:409:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] place_string(s, y, color, info) ^ draw.c:437:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:441:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] title_draw() ^ draw.c:445:5: warning: implicit declaration of function 'update_fireballs' is invalid in C99 [-Wimplicit-function-declaration] update_fireballs(); ^ draw.c:446:5: warning: implicit declaration of function 'update_sweepers' is invalid in C99 [-Wimplicit-function-declaration] update_sweepers(); ^ draw.c:447:5: warning: implicit declaration of function 'update_guards' is invalid in C99 [-Wimplicit-function-declaration] update_guards(); ^ draw.c:467:8: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] if(random() % 30 == 0) burn = 1 - burn; ^ draw.c:499:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ draw.c:504:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] title_refresh() ^ draw.c:581:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 46 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c erase.c In file included from erase.c:6: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ erase.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_zones() ^ erase.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ erase.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_zone(x, y, w, h, type, num) ^ erase.c:60:6: warning: implicit declaration of function 'zone_intersect' is invalid in C99 [-Wimplicit-function-declaration] if(zone_intersect(numzones,j)) { ^ erase.c:71:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ erase.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] erase_draw_zones() ^ erase.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ erase.c:190:30: warning: implicit declaration of function 'transx' is invalid in C99 [-Wimplicit-function-declaration] FIREWIDTH, FIREHEIGHT, transx(firex[zones[i].num], ^ erase.c:191:19: warning: implicit declaration of function 'transy' is invalid in C99 [-Wimplicit-function-declaration] FIREWIDTH), transy(firey[zones[i].num], ^ erase.c:248:38: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] if(messagecolor == CBLACK) tmp = random() % (NCOLORS-1) + 1; ^ erase.c:269:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] refresh() ^ erase.c:279:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 15 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c events.c In file included from events.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ events.c:20:4: warning: implicit declaration of function 'refresh_info' is invalid in C99 [-Wimplicit-function-declaration] refresh_info(); ^ events.c:27:4: warning: implicit declaration of function 'refresh' is invalid in C99 [-Wimplicit-function-declaration] refresh(); ^ events.c:73:4: warning: implicit declaration of function 'key_hit' is invalid in C99 [-Wimplicit-function-declaration] key_hit(&event); ^ events.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] key_hit(event) ^ events.c:133:4: warning: implicit declaration of function 'bigmessage' is invalid in C99 [-Wimplicit-function-declaration] bigmessage("Game Over", CBLACK, 100); ^ events.c:141:5: warning: implicit declaration of function 'begin_timer' is invalid in C99 [-Wimplicit-function-declaration] begin_timer(); ^ events.c:144:5: warning: implicit declaration of function 'draw' is invalid in C99 [-Wimplicit-function-declaration] draw(); ^ events.c:155:5: warning: implicit declaration of function 'stop_timer' is invalid in C99 [-Wimplicit-function-declaration] stop_timer(); ^ events.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ events.c:180:4: warning: implicit declaration of function 'title_key_hit' is invalid in C99 [-Wimplicit-function-declaration] title_key_hit(&event); ^ events.c:189:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] title_event_filter() ^ events.c:198:4: warning: implicit declaration of function 'title_refresh' is invalid in C99 [-Wimplicit-function-declaration] title_refresh(); ^ events.c:207:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ events.c:211:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] title_key_hit(event) ^ events.c:223:4: warning: implicit declaration of function 'quit_game' is invalid in C99 [-Wimplicit-function-declaration] quit_game(); ^ events.c:231:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 19 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c gameover.c In file included from gameover.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ gameover.c:17:3: warning: implicit declaration of function 'bigmessage' is invalid in C99 [-Wimplicit-function-declaration] bigmessage("Game Over", CBLACK, 100); ^ gameover.c:36:5: warning: implicit declaration of function 'refresh_info' is invalid in C99 [-Wimplicit-function-declaration] refresh_info(); ^ gameover.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] game_over() ^ gameover.c:50:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 7 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c initx.c In file included from initx.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ initx.c:52:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_X() ^ initx.c:56:18: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] saved_euid = geteuid(); ^ initx.c:57:5: warning: implicit declaration of function 'seteuid' is invalid in C99 [-Wimplicit-function-declaration] seteuid(getuid()); ^ initx.c:57:13: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] seteuid(getuid()); ^ initx.c:63:8: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ initx.c:63:8: note: include the header or explicitly provide a declaration for 'exit' initx.c:71:2: warning: implicit declaration of function 'set_up_colors' is invalid in C99 [-Wimplicit-function-declaration] set_up_colors(); ^ initx.c:72:2: warning: implicit declaration of function 'set_up_contexts' is invalid in C99 [-Wimplicit-function-declaration] set_up_contexts(); ^ initx.c:73:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ initx.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_up_contexts() ^ initx.c:122:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ initx.c:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_up_colors() ^ initx.c:175:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 15 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c main.c In file included from main.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ main.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ main.c:26:2: warning: implicit declaration of function 'srandom' is invalid in C99 [-Wimplicit-function-declaration] srandom(seed); ^ main.c:32:2: warning: implicit declaration of function 'init_X' is invalid in C99 [-Wimplicit-function-declaration] init_X(); ^ main.c:33:2: warning: implicit declaration of function 'set_up_windows' is invalid in C99 [-Wimplicit-function-declaration] set_up_windows(); ^ main.c:34:2: warning: implicit declaration of function 'set_up_bitmaps' is invalid in C99 [-Wimplicit-function-declaration] set_up_bitmaps(); ^ main.c:39:2: warning: implicit declaration of function 'init_zones' is invalid in C99 [-Wimplicit-function-declaration] init_zones(); ^ main.c:52:4: warning: implicit declaration of function 'title_screen' is invalid in C99 [-Wimplicit-function-declaration] title_screen(); ^ main.c:56:3: warning: implicit declaration of function 'reset_game' is invalid in C99 [-Wimplicit-function-declaration] reset_game(); ^ main.c:61:4: warning: implicit declaration of function 'reset_level' is invalid in C99 [-Wimplicit-function-declaration] reset_level(); ^ main.c:65:8: warning: implicit declaration of function 'special_setup' is invalid in C99 [-Wimplicit-function-declaration] if(!special_setup()) normal_level(); ^ main.c:65:25: warning: implicit declaration of function 'normal_level' is invalid in C99 [-Wimplicit-function-declaration] if(!special_setup()) normal_level(); ^ main.c:70:4: warning: implicit declaration of function 'bigmessage' is invalid in C99 [-Wimplicit-function-declaration] bigmessage(lev, CGREEN, 75); ^ main.c:75:4: warning: implicit declaration of function 'draw' is invalid in C99 [-Wimplicit-function-declaration] draw(); ^ main.c:77:4: warning: implicit declaration of function 'refresh_info' is invalid in C99 [-Wimplicit-function-declaration] refresh_info(); ^ main.c:83:5: warning: implicit declaration of function 'begin_timer' is invalid in C99 [-Wimplicit-function-declaration] begin_timer(); ^ main.c:85:34: warning: implicit declaration of function 'event_filter' is invalid in C99 [-Wimplicit-function-declaration] while(XPending(display) && !event_filter()); ^ main.c:86:6: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] usleep(usecdelay); ^ main.c:89:5: warning: implicit declaration of function 'update' is invalid in C99 [-Wimplicit-function-declaration] update(); ^ main.c:90:5: warning: implicit declaration of function 'collision_check' is invalid in C99 [-Wimplicit-function-declaration] collision_check(); ^ main.c:91:5: warning: implicit declaration of function 'message_check' is invalid in C99 [-Wimplicit-function-declaration] message_check(); ^ main.c:92:5: warning: implicit declaration of function 'bonus_check' is invalid in C99 [-Wimplicit-function-declaration] bonus_check(); ^ main.c:106:13: warning: implicit declaration of function 'get_timer' is invalid in C99 [-Wimplicit-function-declaration] timer = get_timer(); ^ 25 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c maze.c In file included from maze.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ maze.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] generate_maze(width, height, ratio, twistratio) ^ maze.c:62:6: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] x = random() % width + 1; ^ maze.c:118:2: warning: implicit declaration of function 'convert_maze' is invalid in C99 [-Wimplicit-function-declaration] convert_maze(width, height); ^ maze.c:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ maze.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] add_line( x1, y1, x2, y2) ^ maze.c:131:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ maze.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] convert_maze(width, height) ^ maze.c:148:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ maze.c:153:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setup_title_maze() ^ maze.c:171:5: warning: implicit declaration of function 'random_fireballs' is invalid in C99 [-Wimplicit-function-declaration] random_fireballs(random() % 3 + 2, 3, 7); ^ maze.c:172:5: warning: implicit declaration of function 'random_guards' is invalid in C99 [-Wimplicit-function-declaration] random_guards(random() % 3 + 1, 3, 7); ^ maze.c:178:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 15 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c message.c In file included from message.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ message.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] message(s, color, time) ^ message.c:32:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ message.c:36:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bigmessage(s, color, time) ^ message.c:48:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ message.c:63:4: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] (random() % (dumbmessagechance[kind]) == 0)) return; ^ 8 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c normal.c In file included from normal.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ normal.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] normal_level() ^ normal.c:24:4: warning: implicit declaration of function 'message' is invalid in C99 [-Wimplicit-function-declaration] message("Twisty Level", CGREEN, 75); ^ normal.c:25:10: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] msc = random() % 50 + 100; ^ normal.c:47:4: warning: implicit declaration of function 'make_random_level' is invalid in C99 [-Wimplicit-function-declaration] make_random_level(mx, my, msc, md, mt, f, fmin, fmax, s, smin, smax, ^ normal.c:176:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 8 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c quitx.c In file included from quitx.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ quitx.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] quit_game() ^ quitx.c:49:2: warning: implicit declaration of function 'close_scores' is invalid in C99 [-Wimplicit-function-declaration] close_scores(); ^ quitx.c:50:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(0); ^ quitx.c:50:2: note: include the header or explicitly provide a declaration for 'exit' 6 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c scores.c In file included from scores.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ scores.c:45:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ scores.c:45:6: note: include the header or explicitly provide a declaration for 'exit' scores.c:49:6: warning: implicit declaration of function 'write_scores' is invalid in C99 [-Wimplicit-function-declaration] write_scores(); ^ scores.c:56:5: warning: implicit declaration of function 'read_scores' is invalid in C99 [-Wimplicit-function-declaration] read_scores(); ^ scores.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] close_scores() ^ scores.c:81:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(scorefd); ^ scores.c:82:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scores.c:86:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_scores() ^ scores.c:100:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scores.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_scores() ^ scores.c:117:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scores.c:122:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_new_scores() ^ scores.c:129:2: warning: implicit declaration of function 'draw_scores' is invalid in C99 [-Wimplicit-function-declaration] draw_scores(-1); ^ scores.c:130:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scores.c:147:4: warning: implicit declaration of function 'get_high_name' is invalid in C99 [-Wimplicit-function-declaration] get_high_name(buf); ^ scores.c:160:4: warning: implicit declaration of function 'shift_highs' is invalid in C99 [-Wimplicit-function-declaration] shift_highs(i); ^ scores.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_scores(which) ^ scores.c:201:14: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] ctable[random()%(NCOLORS-1)+1].biggc, ^ scores.c:228:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scores.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shift_highs(i) ^ scores.c:243:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scores.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_high_name(buf) ^ scores.c:270:6: warning: implicit declaration of function 'display_dialog' is invalid in C99 [-Wimplicit-function-declaration] display_dialog(event.xany.window); ^ scores.c:282:17: warning: implicit declaration of function 'dialog_key' is invalid in C99 [-Wimplicit-function-declaration] finished = dialog_key(&event); ^ scores.c:303:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scores.c:360:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] display_dialog(w) ^ scores.c:386:3: warning: implicit declaration of function 'refresh' is invalid in C99 [-Wimplicit-function-declaration] refresh(); ^ scores.c:389:22: warning: implicit declaration of function 'refresh_info' is invalid in C99 [-Wimplicit-function-declaration] if(w == infowindow) refresh_info(); ^ scores.c:391:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 31 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c setinmaze.c In file included from setinmaze.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ 3 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c setup.c In file included from setup.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ setup.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] make_random_level(mx, my, msc, md, mt, f, fmin, fmax, s, smin, smax, g, gmin, ^ setup.c:21:2: warning: implicit declaration of function 'generate_maze' is invalid in C99 [-Wimplicit-function-declaration] generate_maze(mx, my, r, t); ^ setup.c:22:2: warning: implicit declaration of function 'random_player' is invalid in C99 [-Wimplicit-function-declaration] random_player(); ^ setup.c:23:2: warning: implicit declaration of function 'random_fireballs' is invalid in C99 [-Wimplicit-function-declaration] random_fireballs(f, fmin, fmax); ^ setup.c:25:2: warning: implicit declaration of function 'random_sweepers' is invalid in C99 [-Wimplicit-function-declaration] random_sweepers(s, smin, smax); ^ setup.c:26:2: warning: implicit declaration of function 'random_guards' is invalid in C99 [-Wimplicit-function-declaration] random_guards(g, gmin, gmax); ^ setup.c:27:2: warning: implicit declaration of function 'random_key' is invalid in C99 [-Wimplicit-function-declaration] random_key(); ^ setup.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:38:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_level() ^ setup.c:53:2: warning: implicit declaration of function 'init_zones' is invalid in C99 [-Wimplicit-function-declaration] init_zones(); ^ setup.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_game() ^ setup.c:72:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] place_player(x, y) ^ setup.c:90:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] random_player() ^ setup.c:100:7: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] x = random() % mazewidth + 1; ^ setup.c:114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:125:2: warning: implicit declaration of function 'set_in_maze' is invalid in C99 [-Wimplicit-function-declaration] set_in_maze(FIREWIDTH / 2); ^ setup.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] random_fireballs(num, min, max) ^ setup.c:155:55: warning: implicitly declaring library function 'abs' with type 'int (int)' } while(((firedx[i] == 0) && (firedy[i] == 0)) || (abs(firedx[i]) + ^ setup.c:155:55: note: include the header or explicitly provide a declaration for 'abs' setup.c:160:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] random_guards(num, min, max) ^ setup.c:203:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] random_sweepers(num, min, max) ^ setup.c:269:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:317:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] place_key(x, y) ^ setup.c:326:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setup.c:331:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] random_key() ^ setup.c:351:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 33 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c special.c In file included from special.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ special.c:35:2: warning: implicit declaration of function 'convert_maze' is invalid in C99 [-Wimplicit-function-declaration] convert_maze(mazewidth, mazeheight); ^ special.c:37:2: warning: implicit declaration of function 'place_player' is invalid in C99 [-Wimplicit-function-declaration] place_player(playerx, playery); ^ special.c:59:2: warning: implicit declaration of function 'place_key' is invalid in C99 [-Wimplicit-function-declaration] place_key(kx, ky); ^ 6 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c time.c In file included from time.c:6: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ time.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] begin_timer() ^ time.c:19:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ time.c:23:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] stop_timer() ^ time.c:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 7 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c update.c In file included from update.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ update.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update() ^ update.c:37:2: warning: implicit declaration of function 'update_fireballs' is invalid in C99 [-Wimplicit-function-declaration] update_fireballs(); ^ update.c:38:2: warning: implicit declaration of function 'update_sweepers' is invalid in C99 [-Wimplicit-function-declaration] update_sweepers(); ^ update.c:39:2: warning: implicit declaration of function 'update_guards' is invalid in C99 [-Wimplicit-function-declaration] update_guards(); ^ update.c:40:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ update.c:50:18: warning: implicit declaration of function 'game_over' is invalid in C99 [-Wimplicit-function-declaration] if(!deadtimer) game_over(); ^ update.c:55:3: warning: implicit declaration of function 'score_bonus' is invalid in C99 [-Wimplicit-function-declaration] score_bonus(); ^ update.c:82:10: warning: implicit declaration of function 'set_in_maze' is invalid in C99 [-Wimplicit-function-declaration] flags = set_in_maze(PLAYERWIDTH / 2); ^ update.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_fireballs() ^ update.c:124:18: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] firephase[i] = random() % FIREPHASES; ^ update.c:126:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ update.c:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_guards() ^ update.c:160:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ update.c:164:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_sweepers() ^ update.c:183:25: warning: implicit declaration of function 'increment_sweepdir' is invalid in C99 [-Wimplicit-function-declaration] if(sweeprot[i] == 1) increment_sweepdir(i); ^ update.c:184:9: warning: implicit declaration of function 'decrement_sweepdir' is invalid in C99 [-Wimplicit-function-declaration] else decrement_sweepdir(i); ^ update.c:216:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ update.c:220:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] decrement_sweepdir(i) ^ update.c:227:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ update.c:231:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] increment_sweepdir(i) ^ update.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 24 warnings generated. cc -O2 -I/usr/pkg/include -I /usr/X11R7/include -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/usr/pkg/share/jetpack/jetpack.lev\" -I/usr/X11R7/include -c windowx.c In file included from windowx.c:5: ./defs.h:318:4: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ ./defs.h:318:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oldscore, oldlevel, extramaninc; ^ windowx.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_up_windows() ^ windowx.c:101:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 5 warnings generated. bmake: don't know how to make /usr/pkg/lib/libXaw.a. Stop bmake: stopped in /usr/pkgsrc/work/games/jetpack/work/jetpack *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/games/jetpack *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/jetpack