=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/games/jetpack", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for jetpack-1.0nb2 --- bitmap.o --- --- bonus.o --- --- bitmap.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c bitmap.c --- bonus.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c bonus.c --- bitmap.o --- In file included from bitmap.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ bitmap.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] 35 | set_up_bitmaps() | ^~~~~~~~~~~~~~ --- bonus.o --- In file included from bonus.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ bonus.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] 12 | bonus_check() | ^~~~~~~~~~~ bonus.c: In function 'bonus_check': bonus.c:14:9: warning: implicit declaration of function 'decrement_bonus' [-Wimplicit-function-declaration] 14 | decrement_bonus(); | ^~~~~~~~~~~~~~~ bonus.c:15:9: warning: implicit declaration of function 'extra_man_check' [-Wimplicit-function-declaration] 15 | extra_man_check(); | ^~~~~~~~~~~~~~~ bonus.c: At top level: bonus.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | decrement_bonus() | ^~~~~~~~~~~~~~~ bonus.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] 32 | extra_man_check() | ^~~~~~~~~~~~~~~ bonus.c: In function 'extra_man_check': bonus.c:37:30: warning: implicit declaration of function 'bigmessage' [-Wimplicit-function-declaration] 37 | if(!waiting) bigmessage("BONUS!", CBLACK, 50); | ^~~~~~~~~~ bonus.c:38:17: warning: implicit declaration of function 'message' [-Wimplicit-function-declaration] 38 | message("Extra player awarded!", CBLACK, 100); | ^~~~~~~ bonus.c:39:17: warning: implicit declaration of function 'refresh_info' [-Wimplicit-function-declaration] 39 | refresh_info(); | ^~~~~~~~~~~~ bonus.c: At top level: bonus.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] 45 | score_bonus() | ^~~~~~~~~~~ --- collision.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c collision.c In file included from collision.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ collision.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | collision_check() | ^~~~~~~~~~~~~~~ collision.c: In function 'collision_check': collision.c:31:49: warning: implicit declaration of function 'refresh_info' [-Wimplicit-function-declaration] 31 | refresh_info(); | ^~~~~~~~~~~~ collision.c: At top level: collision.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] 137 | message_check() | ^~~~~~~~~~~~~ collision.c: In function 'message_check': collision.c:147:49: warning: implicit declaration of function 'bigmessage' [-Wimplicit-function-declaration] 147 | bigmessage(lmessage[i].bigtext, lmessage[i].bigcolor, | ^~~~~~~~~~ collision.c:151:49: warning: implicit declaration of function 'message' [-Wimplicit-function-declaration] 151 | message(lmessage[i].text, lmessage[i].color, | ^~~~~~~ --- demo.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c demo.c In file included from demo.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ demo.c: In function 'demo': demo.c:20:9: warning: implicit declaration of function 'reset_game' [-Wimplicit-function-declaration] 20 | reset_game(); | ^~~~~~~~~~ demo.c:21:9: warning: implicit declaration of function 'reset_level' [-Wimplicit-function-declaration] 21 | reset_level(); | ^~~~~~~~~~~ --- draw.o --- --- demo.o --- demo.c:24:12: warning: implicit declaration of function 'special_setup' [-Wimplicit-function-declaration] 24 | if(special_setup() == 0) return; | ^~~~~~~~~~~~~ demo.c:27:9: warning: implicit declaration of function 'draw' [-Wimplicit-function-declaration] 27 | draw(); | ^~~~ --- draw.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c draw.c --- demo.o --- demo.c:28:9: warning: implicit declaration of function 'refresh_info' [-Wimplicit-function-declaration] 28 | refresh_info(); | ^~~~~~~~~~~~ demo.c:30:13: warning: implicit declaration of function 'begin_timer'; did you mean 'setitimer'? [-Wimplicit-function-declaration] 30 | begin_timer(); | ^~~~~~~~~~~ | setitimer demo.c:31:41: warning: implicit declaration of function 'demo_event_filter' [-Wimplicit-function-declaration] 31 | while(XPending(display) && !demo_event_filter()); | ^~~~~~~~~~~~~~~~~ demo.c:32:25: warning: implicit declaration of function 'demo_player' [-Wimplicit-function-declaration] 32 | demo_player(); | ^~~~~~~~~~~ demo.c:33:25: warning: implicit declaration of function 'update' [-Wimplicit-function-declaration] 33 | update(); | ^~~~~~ demo.c:34:13: warning: implicit declaration of function 'collision_check' [-Wimplicit-function-declaration] 34 | collision_check(); | ^~~~~~~~~~~~~~~ demo.c:35:13: warning: implicit declaration of function 'message_check' [-Wimplicit-function-declaration] 35 | message_check(); | ^~~~~~~~~~~~~ demo.c:36:25: warning: implicit declaration of function 'bonus_check' [-Wimplicit-function-declaration] 36 | bonus_check(); | ^~~~~~~~~~~ demo.c:38:21: warning: implicit declaration of function 'get_timer'; did you mean 'getitimer'? [-Wimplicit-function-declaration] 38 | timer = get_timer(); | ^~~~~~~~~ | getitimer demo.c:39:35: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 39 | if(timer < USECDELAY) usleep(USECDELAY - timer); | ^~~~~~ demo.c: At top level: demo.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] 49 | title_screen() | ^~~~~~~~~~~~ demo.c: In function 'title_screen': demo.c:54:9: warning: implicit declaration of function 'setup_title_maze' [-Wimplicit-function-declaration] 54 | setup_title_maze(); | ^~~~~~~~~~~~~~~~ demo.c:60:9: warning: implicit declaration of function 'init_zones' [-Wimplicit-function-declaration] 60 | init_zones(); | ^~~~~~~~~~ demo.c:65:9: warning: implicit declaration of function 'title_refresh' [-Wimplicit-function-declaration] 65 | title_refresh(); | ^~~~~~~~~~~~~ demo.c:69:9: warning: implicit declaration of function 'read_new_scores' [-Wimplicit-function-declaration] 69 | read_new_scores(); | ^~~~~~~~~~~~~~~ demo.c:74:42: warning: implicit declaration of function 'title_event_filter' [-Wimplicit-function-declaration] 74 | while(XPending(display)) title_event_filter(); | ^~~~~~~~~~~~~~~~~~ demo.c:87:25: warning: implicit declaration of function 'draw_scores' [-Wimplicit-function-declaration] 87 | draw_scores(shiftwhich); | ^~~~~~~~~~~ demo.c:91:17: warning: implicit declaration of function 'title_draw' [-Wimplicit-function-declaration] 91 | title_draw(); | ^~~~~~~~~~ demo.c:98:9: warning: implicit declaration of function 'stop_timer'; did you mean 'strptime'? [-Wimplicit-function-declaration] 98 | stop_timer(); | ^~~~~~~~~~ | strptime demo.c: At top level: demo.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] 106 | demo_walk(x) | ^~~~~~~~~ demo.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] 119 | demo_fly(x, y) | ^~~~~~~~ demo.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] 140 | demo_delay() | ^~~~~~~~~~ demo.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] 151 | demo_player() | ^~~~~~~~~~~ --- draw.o --- In file included from draw.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ draw.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] 22 | draw() | ^~~~ draw.c: In function 'draw': draw.c:30:9: warning: implicit declaration of function 'erase_draw_zones' [-Wimplicit-function-declaration] 30 | erase_draw_zones(); | ^~~~~~~~~~~~~~~~ draw.c:31:9: warning: implicit declaration of function 'init_zones' [-Wimplicit-function-declaration] 31 | init_zones(); | ^~~~~~~~~~ draw.c:34:9: warning: implicit declaration of function 'draw_info' [-Wimplicit-function-declaration] 34 | draw_info(); | ^~~~~~~~~ draw.c:37:9: warning: implicit declaration of function 'draw_maze'; did you mean 'draw_player'? [-Wimplicit-function-declaration] 37 | draw_maze(); | ^~~~~~~~~ | draw_player draw.c:38:9: warning: implicit declaration of function 'draw_door' [-Wimplicit-function-declaration] 38 | draw_door(); | ^~~~~~~~~ draw.c:39:9: warning: implicit declaration of function 'draw_sweepers' [-Wimplicit-function-declaration] 39 | draw_sweepers(); | ^~~~~~~~~~~~~ draw.c:40:9: warning: implicit declaration of function 'draw_treasures' [-Wimplicit-function-declaration] 40 | draw_treasures(); | ^~~~~~~~~~~~~~ draw.c:41:9: warning: implicit declaration of function 'draw_fireballs' [-Wimplicit-function-declaration] 41 | draw_fireballs(); | ^~~~~~~~~~~~~~ draw.c:42:9: warning: implicit declaration of function 'draw_guards' [-Wimplicit-function-declaration] 42 | draw_guards(); | ^~~~~~~~~~~ draw.c:43:9: warning: implicit declaration of function 'draw_messages'; did you mean 'dumb_message'? [-Wimplicit-function-declaration] 43 | draw_messages(); | ^~~~~~~~~~~~~ | dumb_message draw.c: At top level: draw.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] 48 | draw_maze() | ^~~~~~~~~ draw.c: In function 'draw_maze': draw.c:65:33: warning: implicit declaration of function 'set_zone' [-Wimplicit-function-declaration] 65 | set_zone(x1, y1, x2, y2, ZLINE, i); | ^~~~~~~~ draw.c: At top level: draw.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] 121 | draw_fireballs() | ^~~~~~~~~~~~~~ draw.c: In function 'draw_fireballs': draw.c:126:22: warning: implicit declaration of function 'transx' [-Wimplicit-function-declaration] 126 | fx = transx(firex[i], FIREWIDTH); | ^~~~~~ draw.c:127:22: warning: implicit declaration of function 'transy' [-Wimplicit-function-declaration] 127 | fy = transy(firey[i], FIREHEIGHT); | ^~~~~~ draw.c: At top level: draw.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] 145 | draw_guards() | ^~~~~~~~~~~ draw.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] 169 | draw_sweepers() | ^~~~~~~~~~~~~ draw.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] 193 | draw_treasures() | ^~~~~~~~~~~~~~ draw.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] 268 | draw_door() | ^~~~~~~~~ draw.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] 311 | refresh_info() | ^~~~~~~~~~~~ draw.c:333:1: warning: return type defaults to 'int' [-Wimplicit-int] 333 | draw_messages() | ^~~~~~~~~~~~~ draw.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] 376 | draw_info() | ^~~~~~~~~ draw.c:409:1: warning: return type defaults to 'int' [-Wimplicit-int] 409 | place_string(s, y, color, info) | ^~~~~~~~~~~~ draw.c:441:1: warning: return type defaults to 'int' [-Wimplicit-int] 441 | title_draw() | ^~~~~~~~~~ draw.c: In function 'title_draw': draw.c:445:5: warning: implicit declaration of function 'update_fireballs'; did you mean 'place_fireball'? [-Wimplicit-function-declaration] 445 | update_fireballs(); | ^~~~~~~~~~~~~~~~ | place_fireball draw.c:446:5: warning: implicit declaration of function 'update_sweepers'; did you mean 'place_sweeper'? [-Wimplicit-function-declaration] 446 | update_sweepers(); | ^~~~~~~~~~~~~~~ | place_sweeper draw.c:447:5: warning: implicit declaration of function 'update_guards'; did you mean 'place_guard'? [-Wimplicit-function-declaration] 447 | update_guards(); | ^~~~~~~~~~~~~ | place_guard draw.c:467:8: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 467 | if(random() % 30 == 0) burn = 1 - burn; | ^~~~~~ draw.c: At top level: draw.c:504:1: warning: return type defaults to 'int' [-Wimplicit-int] 504 | title_refresh() | ^~~~~~~~~~~~~ --- erase.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c erase.c In file included from erase.c:6: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ erase.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] 34 | init_zones() | ^~~~~~~~~~ erase.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] 45 | set_zone(x, y, w, h, type, num) | ^~~~~~~~ erase.c: In function 'set_zone': erase.c:60:20: warning: implicit declaration of function 'zone_intersect' [-Wimplicit-function-declaration] 60 | if(zone_intersect(numzones,j)) { | ^~~~~~~~~~~~~~ erase.c: At top level: erase.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] 113 | erase_draw_zones() | ^~~~~~~~~~~~~~~~ erase.c: In function 'draw_recur': erase.c:190:72: warning: implicit declaration of function 'transx' [-Wimplicit-function-declaration] 190 | FIREWIDTH, FIREHEIGHT, transx(firex[zones[i].num], | ^~~~~~ erase.c:191:61: warning: implicit declaration of function 'transy' [-Wimplicit-function-declaration] 191 | FIREWIDTH), transy(firey[zones[i].num], | ^~~~~~ erase.c:248:66: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 248 | if(messagecolor == CBLACK) tmp = random() % (NCOLORS-1) + 1; | ^~~~~~ erase.c: At top level: erase.c:269:1: warning: return type defaults to 'int' [-Wimplicit-int] 269 | refresh() | ^~~~~~~ --- events.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c events.c In file included from events.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ events.c: In function 'event_filter': events.c:20:25: warning: implicit declaration of function 'refresh_info' [-Wimplicit-function-declaration] 20 | refresh_info(); | ^~~~~~~~~~~~ events.c:27:25: warning: implicit declaration of function 'refresh' [-Wimplicit-function-declaration] 27 | refresh(); | ^~~~~~~ events.c:73:25: warning: implicit declaration of function 'key_hit' [-Wimplicit-function-declaration] 73 | key_hit(&event); | ^~~~~~~ events.c: At top level: events.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] 82 | key_hit(event) | ^~~~~~~ events.c: In function 'key_hit': events.c:133:25: warning: implicit declaration of function 'bigmessage' [-Wimplicit-function-declaration] 133 | bigmessage("Game Over", CBLACK, 100); | ^~~~~~~~~~ events.c:141:33: warning: implicit declaration of function 'begin_timer'; did you mean 'setitimer'? [-Wimplicit-function-declaration] 141 | begin_timer(); | ^~~~~~~~~~~ | setitimer events.c:144:33: warning: implicit declaration of function 'draw' [-Wimplicit-function-declaration] 144 | draw(); | ^~~~ events.c:155:33: warning: implicit declaration of function 'stop_timer'; did you mean 'strptime'? [-Wimplicit-function-declaration] 155 | stop_timer(); | ^~~~~~~~~~ | strptime events.c: In function 'demo_event_filter': events.c:180:25: warning: implicit declaration of function 'title_key_hit' [-Wimplicit-function-declaration] 180 | title_key_hit(&event); | ^~~~~~~~~~~~~ events.c: At top level: events.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | title_event_filter() | ^~~~~~~~~~~~~~~~~~ events.c: In function 'title_event_filter': events.c:198:25: warning: implicit declaration of function 'title_refresh' [-Wimplicit-function-declaration] 198 | title_refresh(); | ^~~~~~~~~~~~~ events.c: At top level: events.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] 211 | title_key_hit(event) | ^~~~~~~~~~~~~ events.c: In function 'title_key_hit': events.c:223:25: warning: implicit declaration of function 'quit_game' [-Wimplicit-function-declaration] 223 | quit_game(); | ^~~~~~~~~ --- gameover.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c gameover.c In file included from gameover.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ gameover.c: In function 'death': gameover.c:17:17: warning: implicit declaration of function 'bigmessage' [-Wimplicit-function-declaration] 17 | bigmessage("Game Over", CBLACK, 100); | ^~~~~~~~~~ gameover.c:36:5: warning: implicit declaration of function 'refresh_info' [-Wimplicit-function-declaration] 36 | refresh_info(); | ^~~~~~~~~~~~ gameover.c: At top level: gameover.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] 42 | game_over() | ^~~~~~~~~ --- initx.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c initx.c --- main.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c main.c --- initx.o --- In file included from initx.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ initx.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] 52 | init_X() | ^~~~~~ initx.c: In function 'init_X': initx.c:56:18: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration] 56 | saved_euid = geteuid(); | ^~~~~~~ initx.c:57:5: warning: implicit declaration of function 'seteuid' [-Wimplicit-function-declaration] 57 | seteuid(getuid()); | ^~~~~~~ initx.c:57:13: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] 57 | seteuid(getuid()); | ^~~~~~ initx.c:63:8: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 63 | exit(1); | ^~~~ initx.c:6:1: note: include '' or provide a declaration of 'exit' 5 | #include "defs.h" +++ |+#include 6 | initx.c:63:8: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 63 | exit(1); | ^~~~ initx.c:63:8: note: include '' or provide a declaration of 'exit' initx.c:71:9: warning: implicit declaration of function 'set_up_colors' [-Wimplicit-function-declaration] 71 | set_up_colors(); | ^~~~~~~~~~~~~ initx.c:72:9: warning: implicit declaration of function 'set_up_contexts' [-Wimplicit-function-declaration] 72 | set_up_contexts(); | ^~~~~~~~~~~~~~~ initx.c: At top level: initx.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] 78 | set_up_contexts() | ^~~~~~~~~~~~~~~ initx.c: In function 'set_up_contexts': initx.c:87:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 87 | exit(1); | ^~~~ initx.c:87:17: note: include '' or provide a declaration of 'exit' initx.c:92:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 92 | exit(1); | ^~~~ initx.c:92:17: note: include '' or provide a declaration of 'exit' initx.c: At top level: initx.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | set_up_colors() | ^~~~~~~~~~~~~ --- main.o --- In file included from main.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ main.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] 16 | main() | ^~~~ main.c: In function 'main': main.c:26:9: warning: implicit declaration of function 'srandom' [-Wimplicit-function-declaration] 26 | srandom(seed); | ^~~~~~~ main.c:32:9: warning: implicit declaration of function 'init_X' [-Wimplicit-function-declaration] 32 | init_X(); | ^~~~~~ main.c:33:9: warning: implicit declaration of function 'set_up_windows' [-Wimplicit-function-declaration] 33 | set_up_windows(); | ^~~~~~~~~~~~~~ main.c:34:9: warning: implicit declaration of function 'set_up_bitmaps' [-Wimplicit-function-declaration] 34 | set_up_bitmaps(); | ^~~~~~~~~~~~~~ main.c:39:9: warning: implicit declaration of function 'init_zones' [-Wimplicit-function-declaration] 39 | init_zones(); | ^~~~~~~~~~ main.c:52:25: warning: implicit declaration of function 'title_screen' [-Wimplicit-function-declaration] 52 | title_screen(); | ^~~~~~~~~~~~ main.c:56:17: warning: implicit declaration of function 'reset_game' [-Wimplicit-function-declaration] 56 | reset_game(); | ^~~~~~~~~~ main.c:61:25: warning: implicit declaration of function 'reset_level' [-Wimplicit-function-declaration] 61 | reset_level(); | ^~~~~~~~~~~ main.c:65:29: warning: implicit declaration of function 'special_setup' [-Wimplicit-function-declaration] 65 | if(!special_setup()) normal_level(); | ^~~~~~~~~~~~~ main.c:65:46: warning: implicit declaration of function 'normal_level' [-Wimplicit-function-declaration] 65 | if(!special_setup()) normal_level(); | ^~~~~~~~~~~~ main.c:70:25: warning: implicit declaration of function 'bigmessage' [-Wimplicit-function-declaration] 70 | bigmessage(lev, CGREEN, 75); | ^~~~~~~~~~ main.c:75:25: warning: implicit declaration of function 'draw' [-Wimplicit-function-declaration] 75 | draw(); | ^~~~ main.c:77:25: warning: implicit declaration of function 'refresh_info' [-Wimplicit-function-declaration] 77 | refresh_info(); | ^~~~~~~~~~~~ main.c:83:33: warning: implicit declaration of function 'begin_timer'; did you mean 'setitimer'? [-Wimplicit-function-declaration] 83 | begin_timer(); | ^~~~~~~~~~~ | setitimer main.c:85:69: warning: implicit declaration of function 'event_filter' [-Wimplicit-function-declaration] 85 | while(XPending(display) && !event_filter()); | ^~~~~~~~~~~~ main.c:86:41: warning: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 86 | usleep(usecdelay); | ^~~~~~ main.c:89:33: warning: implicit declaration of function 'update' [-Wimplicit-function-declaration] 89 | update(); | ^~~~~~ main.c:90:33: warning: implicit declaration of function 'collision_check' [-Wimplicit-function-declaration] 90 | collision_check(); | ^~~~~~~~~~~~~~~ --- maze.o --- --- main.o --- main.c:91:33: warning: implicit declaration of function 'message_check' [-Wimplicit-function-declaration] 91 | message_check(); | ^~~~~~~~~~~~~ main.c:92:33: warning: implicit declaration of function 'bonus_check' [-Wimplicit-function-declaration] 92 | bonus_check(); | ^~~~~~~~~~~ --- maze.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c maze.c --- main.o --- main.c:106:41: warning: implicit declaration of function 'get_timer'; did you mean 'getitimer'? [-Wimplicit-function-declaration] 106 | timer = get_timer(); | ^~~~~~~~~ | getitimer --- maze.o --- In file included from maze.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ --- message.o --- --- maze.o --- maze.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | generate_maze(width, height, ratio, twistratio) | ^~~~~~~~~~~~~ maze.c: In function 'generate_maze': maze.c:62:13: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 62 | x = random() % width + 1; | ^~~~~~ --- message.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c message.c --- maze.o --- maze.c:118:9: warning: implicit declaration of function 'convert_maze' [-Wimplicit-function-declaration] 118 | convert_maze(width, height); | ^~~~~~~~~~~~ maze.c: At top level: maze.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] 123 | add_line( x1, y1, x2, y2) | ^~~~~~~~ maze.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] 136 | convert_maze(width, height) | ^~~~~~~~~~~~ maze.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] 153 | setup_title_maze() | ^~~~~~~~~~~~~~~~ maze.c: In function 'setup_title_maze': maze.c:171:5: warning: implicit declaration of function 'random_fireballs' [-Wimplicit-function-declaration] 171 | random_fireballs(random() % 3 + 2, 3, 7); | ^~~~~~~~~~~~~~~~ maze.c:172:5: warning: implicit declaration of function 'random_guards' [-Wimplicit-function-declaration] 172 | random_guards(random() % 3 + 1, 3, 7); | ^~~~~~~~~~~~~ --- message.o --- In file included from message.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ message.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] 21 | message(s, color, time) | ^~~~~~~ message.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] 36 | bigmessage(s, color, time) | ^~~~~~~~~~ message.c: In function 'dumb_message': message.c:63:18: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 63 | (random() % (dumbmessagechance[kind]) == 0)) return; | ^~~~~~ --- normal.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c normal.c --- quitx.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c quitx.c --- normal.o --- In file included from normal.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ normal.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int] 10 | normal_level() | ^~~~~~~~~~~~ normal.c: In function 'normal_level': normal.c:24:25: warning: implicit declaration of function 'message' [-Wimplicit-function-declaration] 24 | message("Twisty Level", CGREEN, 75); | ^~~~~~~ normal.c:25:31: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 25 | msc = random() % 50 + 100; | ^~~~~~ --- quitx.o --- In file included from quitx.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ --- normal.o --- normal.c:47:25: warning: implicit declaration of function 'make_random_level' [-Wimplicit-function-declaration] 47 | make_random_level(mx, my, msc, md, mt, f, fmin, fmax, s, smin, smax, | ^~~~~~~~~~~~~~~~~ --- quitx.o --- defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ quitx.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int] 10 | quit_game() | ^~~~~~~~~ quitx.c: In function 'quit_game': quitx.c:49:9: warning: implicit declaration of function 'close_scores'; did you mean 'open_scores'? [-Wimplicit-function-declaration] 49 | close_scores(); | ^~~~~~~~~~~~ | open_scores quitx.c:50:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 50 | exit(0); | ^~~~ quitx.c:6:1: note: include '' or provide a declaration of 'exit' 5 | #include "defs.h" +++ |+#include 6 | quitx.c:50:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 50 | exit(0); | ^~~~ quitx.c:50:9: note: include '' or provide a declaration of 'exit' --- scores.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c scores.c In file included from scores.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ scores.c: In function 'open_scores': scores.c:45:41: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 45 | exit(1); | ^~~~ scores.c:6:1: note: include '' or provide a declaration of 'exit' 5 | #include "defs.h" +++ |+#include 6 | scores.c:45:41: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 45 | exit(1); | ^~~~ scores.c:45:41: note: include '' or provide a declaration of 'exit' scores.c:49:41: warning: implicit declaration of function 'write_scores' [-Wimplicit-function-declaration] 49 | write_scores(); | ^~~~~~~~~~~~ scores.c:56:33: warning: implicit declaration of function 'read_scores' [-Wimplicit-function-declaration] 56 | read_scores(); | ^~~~~~~~~~~ scores.c: At top level: scores.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] 78 | close_scores() | ^~~~~~~~~~~~ scores.c: In function 'close_scores': scores.c:81:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 81 | close(scorefd); | ^~~~~ | pclose scores.c: At top level: scores.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] 86 | read_scores() | ^~~~~~~~~~~ scores.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] 104 | write_scores() | ^~~~~~~~~~~~ scores.c:122:1: warning: return type defaults to 'int' [-Wimplicit-int] 122 | read_new_scores() | ^~~~~~~~~~~~~~~ scores.c: In function 'read_new_scores': scores.c:129:9: warning: implicit declaration of function 'draw_scores'; did you mean 'read_scores'? [-Wimplicit-function-declaration] 129 | draw_scores(-1); | ^~~~~~~~~~~ | read_scores scores.c: In function 'check_score': scores.c:147:25: warning: implicit declaration of function 'get_high_name' [-Wimplicit-function-declaration] 147 | get_high_name(buf); | ^~~~~~~~~~~~~ scores.c:160:25: warning: implicit declaration of function 'shift_highs' [-Wimplicit-function-declaration] 160 | shift_highs(i); | ^~~~~~~~~~~ scores.c: At top level: scores.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] 193 | draw_scores(which) | ^~~~~~~~~~~ scores.c: In function 'draw_scores': scores.c:201:56: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 201 | ctable[random()%(NCOLORS-1)+1].biggc, | ^~~~~~ scores.c: At top level: scores.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] 232 | shift_highs(i) | ^~~~~~~~~~~ scores.c:248:1: warning: return type defaults to 'int' [-Wimplicit-int] 248 | get_high_name(buf) | ^~~~~~~~~~~~~ --- setinmaze.o --- --- scores.o --- scores.c: In function 'get_high_name': scores.c:270:41: warning: implicit declaration of function 'display_dialog' [-Wimplicit-function-declaration] 270 | display_dialog(event.xany.window); | ^~~~~~~~~~~~~~ --- setinmaze.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c setinmaze.c --- scores.o --- scores.c:282:52: warning: implicit declaration of function 'dialog_key' [-Wimplicit-function-declaration] 282 | finished = dialog_key(&event); | ^~~~~~~~~~ scores.c: At top level: scores.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] 360 | display_dialog(w) | ^~~~~~~~~~~~~~ scores.c: In function 'display_dialog': scores.c:386:17: warning: implicit declaration of function 'refresh' [-Wimplicit-function-declaration] 386 | refresh(); | ^~~~~~~ scores.c:389:29: warning: implicit declaration of function 'refresh_info' [-Wimplicit-function-declaration] 389 | if(w == infowindow) refresh_info(); | ^~~~~~~~~~~~ --- setinmaze.o --- In file included from setinmaze.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ --- setup.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c setup.c --- special.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c special.c In file included from special.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ --- setup.o --- In file included from setup.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ setup.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] 12 | make_random_level(mx, my, msc, md, mt, f, fmin, fmax, s, smin, smax, g, gmin, | ^~~~~~~~~~~~~~~~~ --- special.o --- special.c: In function 'special_setup': special.c:35:9: warning: implicit declaration of function 'convert_maze' [-Wimplicit-function-declaration] 35 | convert_maze(mazewidth, mazeheight); | ^~~~~~~~~~~~ special.c:37:9: warning: implicit declaration of function 'place_player' [-Wimplicit-function-declaration] 37 | place_player(playerx, playery); | ^~~~~~~~~~~~ special.c:59:9: warning: implicit declaration of function 'place_key'; did you mean 'place_fuel'? [-Wimplicit-function-declaration] 59 | place_key(kx, ky); | ^~~~~~~~~ | place_fuel --- setup.o --- setup.c: In function 'make_random_level': setup.c:21:9: warning: implicit declaration of function 'generate_maze' [-Wimplicit-function-declaration] 21 | generate_maze(mx, my, r, t); | ^~~~~~~~~~~~~ setup.c:22:9: warning: implicit declaration of function 'random_player'; did you mean 'random_fuel'? [-Wimplicit-function-declaration] 22 | random_player(); | ^~~~~~~~~~~~~ | random_fuel setup.c:23:9: warning: implicit declaration of function 'random_fireballs'; did you mean 'random_fuel'? [-Wimplicit-function-declaration] 23 | random_fireballs(f, fmin, fmax); | ^~~~~~~~~~~~~~~~ | random_fuel setup.c:25:9: warning: implicit declaration of function 'random_sweepers' [-Wimplicit-function-declaration] 25 | random_sweepers(s, smin, smax); | ^~~~~~~~~~~~~~~ setup.c:26:9: warning: implicit declaration of function 'random_guards'; did you mean 'random_fuel'? [-Wimplicit-function-declaration] 26 | random_guards(g, gmin, gmax); | ^~~~~~~~~~~~~ | random_fuel setup.c:27:9: warning: implicit declaration of function 'random_key'; did you mean 'random_fuel'? [-Wimplicit-function-declaration] 27 | random_key(); | ^~~~~~~~~~ | random_fuel setup.c: At top level: setup.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] 38 | reset_level() | ^~~~~~~~~~~ setup.c: In function 'reset_level': setup.c:53:9: warning: implicit declaration of function 'init_zones' [-Wimplicit-function-declaration] 53 | init_zones(); | ^~~~~~~~~~ setup.c: At top level: setup.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] 61 | reset_game() | ^~~~~~~~~~ setup.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] 76 | place_player(x, y) | ^~~~~~~~~~~~ setup.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] 95 | random_player() | ^~~~~~~~~~~~~ setup.c: In function 'random_player': setup.c:100:21: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 100 | x = random() % mazewidth + 1; | ^~~~~~ setup.c: In function 'place_fireball': setup.c:125:9: warning: implicit declaration of function 'set_in_maze' [-Wimplicit-function-declaration] 125 | set_in_maze(FIREWIDTH / 2); | ^~~~~~~~~~~ setup.c: At top level: setup.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] 137 | random_fireballs(num, min, max) | ^~~~~~~~~~~~~~~~ setup.c: In function 'random_fireballs': setup.c:155:69: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 155 | } while(((firedx[i] == 0) && (firedy[i] == 0)) || (abs(firedx[i]) + | ^~~ setup.c:6:1: note: include '' or provide a declaration of 'abs' 5 | #include "defs.h" +++ |+#include 6 | setup.c: At top level: setup.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] 180 | random_guards(num, min, max) | ^~~~~~~~~~~~~ setup.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] 232 | random_sweepers(num, min, max) | ^~~~~~~~~~~~~~~ setup.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] 317 | place_key(x, y) | ^~~~~~~~~ setup.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] 331 | random_key() | ^~~~~~~~~~ --- time.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c time.c In file included from time.c:6: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ time.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] 12 | begin_timer() | ^~~~~~~~~~~ time.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] 23 | stop_timer() | ^~~~~~~~~~ --- update.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c update.c In file included from update.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ update.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] 34 | update() | ^~~~~~ update.c: In function 'update': update.c:37:9: warning: implicit declaration of function 'update_fireballs'; did you mean 'place_fireball'? [-Wimplicit-function-declaration] 37 | update_fireballs(); | ^~~~~~~~~~~~~~~~ | place_fireball update.c:38:9: warning: implicit declaration of function 'update_sweepers'; did you mean 'place_sweeper'? [-Wimplicit-function-declaration] 38 | update_sweepers(); | ^~~~~~~~~~~~~~~ | place_sweeper update.c:39:9: warning: implicit declaration of function 'update_guards'; did you mean 'place_guard'? [-Wimplicit-function-declaration] 39 | update_guards(); | ^~~~~~~~~~~~~ | place_guard update.c: In function 'update_player': update.c:50:32: warning: implicit declaration of function 'game_over' [-Wimplicit-function-declaration] 50 | if(!deadtimer) game_over(); | ^~~~~~~~~ update.c:55:17: warning: implicit declaration of function 'score_bonus' [-Wimplicit-function-declaration] 55 | score_bonus(); | ^~~~~~~~~~~ update.c:82:17: warning: implicit declaration of function 'set_in_maze' [-Wimplicit-function-declaration] 82 | flags = set_in_maze(PLAYERWIDTH / 2); | ^~~~~~~~~~~ update.c: At top level: update.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] 110 | update_fireballs() | ^~~~~~~~~~~~~~~~ update.c: In function 'update_fireballs': update.c:124:32: warning: implicit declaration of function 'random' [-Wimplicit-function-declaration] 124 | firephase[i] = random() % FIREPHASES; | ^~~~~~ update.c: At top level: update.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | update_guards() | ^~~~~~~~~~~~~ update.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] 164 | update_sweepers() | ^~~~~~~~~~~~~~~ update.c: In function 'update_sweepers': update.c:183:46: warning: implicit declaration of function 'increment_sweepdir' [-Wimplicit-function-declaration] 183 | if(sweeprot[i] == 1) increment_sweepdir(i); | ^~~~~~~~~~~~~~~~~~ update.c:184:30: warning: implicit declaration of function 'decrement_sweepdir' [-Wimplicit-function-declaration] 184 | else decrement_sweepdir(i); | ^~~~~~~~~~~~~~~~~~ update.c: At top level: update.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] 220 | decrement_sweepdir(i) | ^~~~~~~~~~~~~~~~~~ update.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] 231 | increment_sweepdir(i) | ^~~~~~~~~~~~~~~~~~ --- windowx.o --- gcc -O2 -DNO_ASM -I/opt/local/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DSCOREPATH=\"/var/games/jetpack.scores\" -DLEVELPATH=\"/opt/local/share/jetpack/jetpack.lev\" -I/opt/local/include -I/usr/include -c windowx.c In file included from windowx.c:5: defs.h:318:25: warning: data definition has no type or storage class 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:25: warning: type defaults to 'int' in declaration of 'oldscore' [-Wimplicit-int] defs.h:318:35: warning: type defaults to 'int' in declaration of 'oldlevel' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~ defs.h:318:45: warning: type defaults to 'int' in declaration of 'extramaninc' [-Wimplicit-int] 318 | oldscore, oldlevel, extramaninc; | ^~~~~~~~~~~ windowx.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int] 62 | set_up_windows() | ^~~~~~~~~~~~~~ --- jetpack._man --- rm -f jetpack._man if test -z "" ; then cd `dirname jetpack` && ln -s `basename jetpack.man` `basename jetpack._man`; else cpp -undef -D__apploaddir__=/opt/local/share/jetpack/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/local/share/jetpack -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < jetpack.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >jetpack._man; fi --- jetpack --- rm -f jetpack LD_RUN_PATH=/opt/local/lib gcc -o jetpack -O2 -DNO_ASM -B direct -Wl,-M,/usr/lib/ld/map.bssalign -Wl,-M,/usr/lib/ld/map.noexstk -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib bitmap.o bonus.o collision.o demo.o draw.o erase.o events.o gameover.o initx.o main.o maze.o message.o normal.o quitx.o scores.o setinmaze.o setup.o special.o time.o update.o windowx.o -lXext -lX11 -R/opt/local/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata