=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for icb-5.0.9pl1nb6 Making in murgil cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c clientserve.c clientserve.c:25:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clientserve() ^~~~~~~~~~~ clientserve.c:66:5: warning: implicit declaration of function 'c_didpoll' is invalid in C99 [-Wimplicit-function-declaration] c_didpoll(); ^ clientserve.c:75:4: warning: implicit declaration of function 'cdoinput' is invalid in C99 [-Wimplicit-function-declaration] cdoinput(); ^ clientserve.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cdoinput() ^~~~~~~~ clientserve.c:84:3: warning: implicit declaration of function 'c_userchar' is invalid in C99 [-Wimplicit-function-declaration] c_userchar(); ^ clientserve.c:87:10: warning: implicit declaration of function '_readpacket' is invalid in C99 [-Wimplicit-function-declaration] switch(_readpacket(sock, &buf)) { ^ clientserve.c:90:4: warning: implicit declaration of function 'c_packet' is invalid in C99 [-Wimplicit-function-declaration] c_packet(buf.buf); ^ clientserve.c:99:4: warning: implicit declaration of function 'c_lostcon' is invalid in C99 [-Wimplicit-function-declaration] c_lostcon(); ^ clientserve.c:108:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ clientserve.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sendit(pkt) ^~~~~~ clientserve.c:113:9: warning: implicit declaration of function '_sendpacket' is invalid in C99 [-Wimplicit-function-declaration] switch(_sendpacket(sock, pkt)) { ^ clientserve.c:133:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ clientserve.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] closecon() ^~~~~~~~ 13 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c contoport.c contoport.c:18:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] connecttoport(host_name, port_number) ^~~~~~~~~~~~~ 1 warning generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c discuser.c discuser.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] disconnectuser(user) ^~~~~~~~~~~~~~ discuser.c:22:2: warning: implicit declaration of function 's_lost_user' is invalid in C99 [-Wimplicit-function-declaration] s_lost_user(user); ^ discuser.c:23:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c getaddr.c getaddr.c:46:38: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] if ((iaddr.s_addr = (unsigned long)inet_addr(s)) == -1) ^ 1 warning generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c getrname.c getrname.c:32:31: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'struct sockaddr *' [-Wincompatible-pointer-types] if (getpeername(s, PEER_CAST &rs, &rs_size) < 0) { ^~~ /usr/include/sys/socket.h:624:50: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ getrname.c:32:36: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(s, PEER_CAST &rs, &rs_size) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c globals.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c ignore.c ignore.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ignore(user) ^~~~~~ ignore.c:15:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ignore.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unignore(user) ^~~~~~~~ ignore.c:24:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c makeport.c makeport.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] makenewport(host_name, port_number) ^~~~~~~~~~~ 1 warning generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c newconnect.c newconnect.c:24:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _newconnect(s) ^~~~~~~~~~~ newconnect.c:34:49: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((ns = accept(s, (struct sockaddr *) &from, &fromlen)) < 0) ^~~~~~~~ /usr/include/sys/socket.h:621:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ newconnect.c:37:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c packetsend.c packetsend.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] packetsend(s, pkt) ^~~~~~~~~~ packetsend.c:9:9: warning: implicit declaration of function '_sendpacket' is invalid in C99 [-Wimplicit-function-declaration] switch(_sendpacket(s, pkt)) { ^ packetsend.c:22:3: warning: implicit declaration of function 'disconnectuser' is invalid in C99 [-Wimplicit-function-declaration] disconnectuser(s); ^ packetsend.c:40:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c readpacket.c readpacket.c:17:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _readpacket(user, p) ^~~~~~~~~~~ readpacket.c:30:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ readpacket.c:45:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c sendpacket.c sendpacket.c:8:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _sendpacket(s, pkt) ^~~~~~~~~~~ sendpacket.c:18:13: warning: implicit declaration of function 'send' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = send(s, pkt, totlength, 0)) < 0) { ^ 2 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c serverserve.c serverserve.c:26:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] serverserve() ^~~~~~~~~~~ serverserve.c:62:5: warning: implicit declaration of function 's_didpoll' is invalid in C99 [-Wimplicit-function-declaration] s_didpoll(); ^ serverserve.c:71:4: warning: implicit declaration of function 'sdoinput' is invalid in C99 [-Wimplicit-function-declaration] sdoinput(); ^ serverserve.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sdoinput() ^~~~~~~~ serverserve.c:93:14: warning: implicit declaration of function '_newconnect' is invalid in C99 [-Wimplicit-function-declaration] if ((n = _newconnect(x)) > 0) ^ serverserve.c:95:6: warning: implicit declaration of function 's_new_user' is invalid in C99 [-Wimplicit-function-declaration] s_new_user(n); ^ serverserve.c:98:12: warning: implicit declaration of function '_readpacket' is invalid in C99 [-Wimplicit-function-declaration] switch(_readpacket(x, &cbufs[x])) { ^ serverserve.c:101:6: warning: implicit declaration of function 's_packet' is invalid in C99 [-Wimplicit-function-declaration] s_packet(x, cbufs[x].buf); ^ serverserve.c:111:6: warning: implicit declaration of function 'disconnectuser' is invalid in C99 [-Wimplicit-function-declaration] disconnectuser(x); ^ serverserve.c:96:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ serverserve.c:116:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 11 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c setdelay.c setdelay.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setpolltimeout(msecs) ^~~~~~~~~~~~~~ setdelay.c:26:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ setdelay.c:28:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setpolldelay(msecs) ^~~~~~~~~~~~ setdelay.c:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. rm -f ../lmurgil.a ar q ../lmurgil.a clientserve.o contoport.o discuser.o getaddr.o getrname.o globals.o ignore.o makeport.o newconnect.o packetsend.o readpacket.o sendpacket.o serverserve.o setdelay.o /usr/bin/ar: creating ../lmurgil.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../lmurgil.a; fi Making in tcl cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c panic.c In file included from panic.c:21: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c strerror.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclAssem.c In file included from tclAssem.c:25: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclBasic.c In file included from tclBasic.c:24: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclCmdAH.c In file included from tclCmdAH.c:30: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ tclCmdAH.c:518:2: warning: implicit declaration of function 'mkstemp' is invalid in C99 [-Wimplicit-function-declaration] mkstemp(tmp); ^ tclCmdAH.c:1266:29: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] if (sscanf(*curArg, "%F", &twoWordValue) != 1) { ~~ ^~~~~~~~~~~~~ %lF 5 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclCmdIZ.c In file included from tclCmdIZ.c:25: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ tclCmdIZ.c:1157:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fileId); ^ tclCmdIZ.c:1161:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read(fileId, cmdBuffer, (int) statBuf.st_size) != statBuf.st_size) { ^ 5 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclExpr.c tclExpr.c:292:19: warning: expression result unused [-Wunused-value] infoPtr->expr[-1]; ~~~~~~~~~~~~~ ~~^ 1 warning generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclGlob.c In file included from tclGlob.c:24: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclHistory.c In file included from tclHistory.c:26: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclProc.c In file included from tclProc.c:22: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclUtil.c In file included from tclUtil.c:23: ./stdlib.h:72:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern free(); ~~~~~~ ^ ./stdlib.h:151:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srand(); ~~~~~~ ^ ./stdlib.h:152:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern srandom(); ~~~~~~ ^ 3 warnings generated. rm -f ../ltcl.a ar q ../ltcl.a panic.o strerror.o tclAssem.o tclBasic.o tclCmdAH.o tclCmdIZ.o tclExpr.o tclGlob.o tclHistory.o tclProc.o tclUtil.o /usr/bin/ar: creating ../ltcl.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../ltcl.a; fi Making in readline cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include readline.c readline.c:221:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static insert_some_chars (); ~~~~~~ ^ readline.c:381:3: warning: implicit declaration of function 'rl_initialize' is invalid in C99 [-Wimplicit-function-declaration] rl_initialize (); ^ readline.c:385:3: warning: implicit declaration of function 'rl_set_signals' is invalid in C99 [-Wimplicit-function-declaration] rl_set_signals (); ^ readline.c:392:3: warning: implicit declaration of function 'rl_clear_signals' is invalid in C99 [-Wimplicit-function-declaration] rl_clear_signals (); ^ readline.c:425:7: warning: implicit declaration of function 'rl_on_new_line' is invalid in C99 [-Wimplicit-function-declaration] rl_on_new_line (); ^ readline.c:444:4: warning: implicit declaration of function 'rl_init_argument' is invalid in C99 [-Wimplicit-function-declaration] rl_init_argument (); ^ readline.c:448:11: warning: implicit declaration of function 'rl_read_key' is invalid in C99 [-Wimplicit-function-declaration] c = rl_read_key (); ^ readline.c:463:7: warning: implicit declaration of function 'rl_dispatch' is invalid in C99 [-Wimplicit-function-declaration] rl_dispatch (c, keymap); ^ readline.c:486:2: warning: implicit declaration of function 'rl_vi_check' is invalid in C99 [-Wimplicit-function-declaration] rl_vi_check (); ^ readline.c:514:5: warning: implicit declaration of function 'free_undo_list' is invalid in C99 [-Wimplicit-function-declaration] free_undo_list (); ^ readline.c:546:7: warning: implicit declaration of function 'rl_reset_terminal' is invalid in C99 [-Wimplicit-function-declaration] rl_reset_terminal (term); ^ readline.c:589:7: warning: implicit declaration of function 'rl_clear_message' is invalid in C99 [-Wimplicit-function-declaration] rl_clear_message (); ^ readline.c:598:7: warning: implicit declaration of function 'rl_clean_up_for_exit' is invalid in C99 [-Wimplicit-function-declaration] rl_clean_up_for_exit (); ^ readline.c:627:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_set_signals () ^~~~~~~~~~~~~~ readline.c:656:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:658:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_clear_signals () ^~~~~~~~~~~~~~~~ readline.c:675:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:701:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_stuff_char (key) ^~~~~~~~~~~~~ readline.c:712:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:808:17: warning: implicit declaration of function 'rl_getc' is invalid in C99 [-Wimplicit-function-declaration] rl_stuff_char (rl_getc (in_stream)); ^ readline.c:834:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (c = next_macro_key ()) ~~^~~~~~~~~~~~~~~~~~~ readline.c:834:13: note: place parentheses around the assignment to silence this warning if (c = next_macro_key ()) ^ ( ) readline.c:834:13: note: use '==' to turn this assignment into an equality comparison if (c = next_macro_key ()) ^ == readline.c:862:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_dispatch (key, map) ^~~~~~~~~~~ readline.c:1072:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_start_kbd_macro (ignore1, ignore2) ^~~~~~~~~~~~~~~~~~ readline.c:1087:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1092:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_end_kbd_macro (count, ignore) ^~~~~~~~~~~~~~~~ readline.c:1104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_call_last_kbd_macro (count, ignore) ^~~~~~~~~~~~~~~~~~~~~~ readline.c:1116:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1126:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_initialize () ^~~~~~~~~~~~~ readline.c:1134:7: warning: implicit declaration of function 'readline_initialize_everything' is invalid in C99 [-Wimplicit-function-declaration] readline_initialize_everything (); ^ readline.c:1147:3: warning: implicit declaration of function 'start_using_history' is invalid in C99 [-Wimplicit-function-declaration] start_using_history (); ^ readline.c:1165:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readline_initialize_everything () ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1184:3: warning: implicit declaration of function 'readline_default_bindings' is invalid in C99 [-Wimplicit-function-declaration] readline_default_bindings (); ^ readline.c:1187:3: warning: implicit declaration of function 'rl_initialize_funmap' is invalid in C99 [-Wimplicit-function-declaration] rl_initialize_funmap (); ^ readline.c:1190:3: warning: implicit declaration of function 'rl_read_init_file' is invalid in C99 [-Wimplicit-function-declaration] rl_read_init_file ((char *)NULL); ^ readline.c:1201:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readline_default_bindings () ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1299:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1311:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_digit_argument (ignore, key) ^~~~~~~~~~~~~~~~~ readline.c:1316:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_discard_argument () ^~~~~~~~~~~~~~~~~~~ readline.c:1324:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1327:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_init_argument () ^~~~~~~~~~~~~~~~ readline.c:1331:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1336:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_universal_argument () ^~~~~~~~~~~~~~~~~~~~~ readline.c:1340:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1347:7: warning: implicit declaration of function 'rl_message' is invalid in C99 [-Wimplicit-function-declaration] rl_message ("(arg: %d) ", rl_arg_sign * rl_numeric_arg); ^ readline.c:1357:11: warning: implicit declaration of function 'numeric' is invalid in C99 [-Wimplicit-function-declaration] if (numeric (c)) ^ readline.c:1625:5: warning: implicit declaration of function 'clear_to_eol' is invalid in C99 [-Wimplicit-function-declaration] clear_to_eol ((linenum == vis_botlin)? ^ readline.c:1818:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_on_new_line () ^~~~~~~~~~~~~~ readline.c:1825:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1828:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_forced_update_display () ^~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1839:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1855:26: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_cr, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:1887:5: warning: implicit declaration of function 'backspace' is invalid in C99 [-Wimplicit-function-declaration] backspace (last_c_pos - new); ^ readline.c:1906:26: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_cr, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:1913:23: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_up, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:1920:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_show_char (c) ^~~~~~~~~~~~ readline.c:1940:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1975:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_message (string, arg1, arg2) ^~~~~~~~~~ readline.c:1981:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:1984:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_clear_message () ^~~~~~~~~~~~~~~~ readline.c:1988:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2031:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_reset_terminal (terminal_name) ^~~~~~~~~~~~~~~~~ readline.c:2035:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2100:7: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] if (ioctl (tty, TIOCGWINSZ, &window_size) == 0) ^ readline.c:2186:25: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (buffer, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2192:23: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_dc, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_some_chars (string, count) ^ readline.c:2207:25: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (buffer, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2216:21: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_im, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2223:25: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_ic, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2232:21: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_ei, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2234:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backspace (count) ^~~~~~~~~ readline.c:2244:33: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_backspace, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2248:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2251:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] crlf () ^~~~ readline.c:2257:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_to_eol (count) ^~~~~~~~~~~~ readline.c:2266:30: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_clreol, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2280:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2678:26: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (visible_bell, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:2689:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_abort () ^~~~~~~~ readline.c:2756:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_insert_text (string) ^~~~~~~~~~~~~~ readline.c:2780:2: warning: implicit declaration of function 'rl_add_undo' is invalid in C99 [-Wimplicit-function-declaration] rl_add_undo (UNDO_INSERT, rl_point, rl_point + l, (char *)NULL); ^ readline.c:2785:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2789:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_delete_text (from, to) ^~~~~~~~~~~~~~ readline.c:2813:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2851:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_forward (count) ^~~~~~~~~~ readline.c:2876:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_backward (count) ^~~~~~~~~~~ readline.c:2897:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_beg_of_line () ^~~~~~~~~~~~~~ readline.c:2900:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2903:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_end_of_line () ^~~~~~~~~~~~~~ readline.c:2906:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:2909:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_forward_word (count) ^~~~~~~~~~~~~~~ readline.c:2948:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_backward_word (count) ^~~~~~~~~~~~~~~~ readline.c:2990:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_refresh_line () ^~~~~~~~~~~~~~~ readline.c:2999:28: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_clreol, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:3003:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3008:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_clear_screen () ^~~~~~~~~~~~~~~ readline.c:3019:28: warning: incompatible pointer types passing 'void ()' to parameter of type 'int (*)(int)' [-Wincompatible-pointer-types] tputs (term_clrpag, 1, output_character_function); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/termcap.h:40:37: note: passing argument to parameter here int tputs(const char *, int, int (*)(int)); ^ readline.c:3028:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_arrow_keys (count, c) ^~~~~~~~~~~~~ readline.c:3056:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3066:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_insert (count, c) ^~~~~~~~~ readline.c:3144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_quoted_insert (count) ^~~~~~~~~~~~~~~~ readline.c:3160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_tab_insert (count) ^~~~~~~~~~~~~ readline.c:3164:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_newline (count, key) ^~~~~~~~~~ readline.c:3180:2: warning: implicit declaration of function 'rl_end_undo_group' is invalid in C99 [-Wimplicit-function-declaration] rl_end_undo_group (); ^ readline.c:3194:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3196:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_clean_up_for_exit () ^~~~~~~~~~~~~~~~~~~~ readline.c:3205:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3211:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_do_lowercase_version (ignore1, ignore2) ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:3214:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_rubout (count) ^~~~~~~~~ readline.c:3237:7: warning: implicit declaration of function 'rl_kill_text' is invalid in C99 [-Wimplicit-function-declaration] rl_kill_text (orig_point, rl_point); ^ readline.c:3260:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_delete (count, invoking_key) ^~~~~~~~~ readline.c:3300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_unix_word_rubout () ^~~~~~~~~~~~~~~~~~~ readline.c:3311:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_unix_line_discard () ^~~~~~~~~~~~~~~~~~~~ readline.c:3326:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3350:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_upcase_word (count) ^~~~~~~~~~~~~~ readline.c:3353:3: warning: implicit declaration of function 'rl_change_case' is invalid in C99 [-Wimplicit-function-declaration] rl_change_case (count, UpCase); ^ readline.c:3354:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_downcase_word (count) ^~~~~~~~~~~~~~~~ readline.c:3361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3364:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_capitalize_word (count) ^~~~~~~~~~~~~~~~~~ readline.c:3368:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_change_case (count, op) ^~~~~~~~~~~~~~ readline.c:3392:3: warning: implicit declaration of function 'rl_modifying' is invalid in C99 [-Wimplicit-function-declaration] rl_modifying (start, end); ^ readline.c:3425:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ readline.c:3434:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_transpose_words (count) ^~~~~~~~~~~~~~~~~~ readline.c:3467:3: warning: implicit declaration of function 'rl_begin_undo_group' is invalid in C99 [-Wimplicit-function-declaration] rl_begin_undo_group (); ^ readline.c:3491:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_transpose_chars (count) ^~~~~~~~~~~~~~~~~~ readline.c:3539:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_restart_output (count, key) ^~~~~~~~~~~~~~~~~ readline.c:3559:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3561:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_stop_output (count, key) ^~~~~~~~~~~~~~ readline.c:3581:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3610:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_complete (ignore, invoking_key) ^~~~~~~~~~~ readline.c:3614:5: warning: implicit declaration of function 'rl_complete_internal' is invalid in C99 [-Wimplicit-function-declaration] rl_complete_internal ('?'); ^ readline.c:3617:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3620:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_possible_completions () ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:3623:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:3626:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_y_or_n () ^~~~~~~~~~ readline.c:3681:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_complete_internal (what_to_do) ^~~~~~~~~~~~~~~~~~~~ readline.c:4053:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ readline.c:4092:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = getpwent ()) ~~~~~~^~~~~~~~~~~~~ readline.c:4092:16: note: place parentheses around the assignment to silence this warning while (entry = getpwent ()) ^ ( ) readline.c:4092:16: note: use '==' to turn this assignment into an equality comparison while (entry = getpwent ()) ^ == readline.c:4133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_add_undo (what, start, end, text) ^~~~~~~~~~~ readline.c:4145:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] free_undo_list () ^~~~~~~~~~~~~~ readline.c:4159:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4220:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_begin_undo_group () ^~~~~~~~~~~~~~~~~~~ readline.c:4223:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_end_undo_group () ^~~~~~~~~~~~~~~~~ readline.c:4229:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_modifying (start, end) ^~~~~~~~~~~~ readline.c:4250:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4253:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_revert_line () ^~~~~~~~~~~~~~ readline.c:4260:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4263:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_undo_command (count) ^~~~~~~~~~~~~~~ readline.c:4297:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] start_using_history () ^~~~~~~~~~~~~~~~~~~ readline.c:4304:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4316:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] maybe_replace_line () ^~~~~~~~~~~~~~~~~~ readline.c:4327:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] maybe_unsave_line () ^~~~~~~~~~~~~~~~~ readline.c:4349:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] maybe_save_line () ^~~~~~~~~~~~~~~ readline.c:4360:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_beginning_of_history () ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:4372:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_end_of_history () ^~~~~~~~~~~~~~~~~ readline.c:4380:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4383:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_get_next_history (count) ^~~~~~~~~~~~~~~~~~~ readline.c:4431:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_get_previous_history (count) ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:4499:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_reverse_search_history (sign, key) ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:4503:3: warning: implicit declaration of function 'rl_search_history' is invalid in C99 [-Wimplicit-function-declaration] rl_search_history (-sign, key); ^ readline.c:4504:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4508:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_forward_search_history (sign, key) ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:4513:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4520:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_display_search (search_string, reverse_p, where) ^~~~~~~~~~~~~~~~~ readline.c:4549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4555:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_search_history (direction, invoking_key) ^~~~~~~~~~~~~~~~~ readline.c:4679:8: warning: implicit declaration of function 'rl_execute_next' is invalid in C99 [-Wimplicit-function-declaration] rl_execute_next (c); ^ readline.c:4814:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_execute_next (c) ^~~~~~~~~~~~~~~ readline.c:4818:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4843:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_set_retained_kills (num) ^~~~~~~~~~~~~~~~~~~~~ readline.c:4845:2: warning: control reaches end of non-void function [-Wreturn-type] {} ^ readline.c:4852:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_kill_text (from, to) ^~~~~~~~~~~~ readline.c:4948:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_kill_word (count) ^~~~~~~~~~~~ readline.c:4964:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4967:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_backward_kill_word (count) ^~~~~~~~~~~~~~~~~~~~~ readline.c:4981:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:4985:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_kill_line (direction) ^~~~~~~~~~~~ readline.c:4999:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5003:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_backward_kill_line (direction) ^~~~~~~~~~~~~~~~~~~~~ readline.c:5020:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5023:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_yank () ^~~~~~~ readline.c:5027:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5033:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_yank_pop () ^~~~~~~~~~~ readline.c:5058:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5061:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_yank_nth_arg (count, ignore) ^~~~~~~~~~~~~~~ readline.c:5102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_editing_mode () ^~~~~~~~~~~~~~~~~~ readline.c:5108:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_emacs_editing_mode () ^~~~~~~~~~~~~~~~~~~~~ readline.c:5114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5158:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (string = (*entry_function) (text, matches)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:5158:17: note: place parentheses around the assignment to silence this warning while (string = (*entry_function) (text, matches)) ^ ( ) readline.c:5158:17: note: use '==' to turn this assignment into an equality comparison while (string = (*entry_function) (text, matches)) ^ == readline.c:5351:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_add_defun (name, function, key) ^~~~~~~~~~~~ readline.c:5357:5: warning: implicit declaration of function 'rl_bind_key' is invalid in C99 [-Wimplicit-function-declaration] rl_bind_key (key, function); ^ readline.c:5358:3: warning: implicit declaration of function 'rl_add_funmap_entry' is invalid in C99 [-Wimplicit-function-declaration] rl_add_funmap_entry (name, function); ^ readline.c:5359:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5428:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_set_key (keyseq, function, map) ^~~~~~~~~~ readline.c:5433:3: warning: implicit declaration of function 'rl_generic_bind' is invalid in C99 [-Wimplicit-function-declaration] rl_generic_bind (ISFUNC, keyseq, function, map); ^ readline.c:5434:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5439:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_macro_bind (keyseq, macro, map) ^~~~~~~~~~~~~ readline.c:5448:7: warning: implicit declaration of function 'rl_translate_keyseq' is invalid in C99 [-Wimplicit-function-declaration] if (rl_translate_keyseq (macro, macro_keys, ¯o_keys_len)) ^ readline.c:5462:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_generic_bind (type, keyseq, data, map) ^~~~~~~~~~~~~~~ readline.c:5518:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_translate_keyseq (seq, array, len) ^~~~~~~~~~~~~~~~~~~ readline.c:5524:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; c = seq[i]; i++) ~~^~~~~~~~ readline.c:5524:17: note: place parentheses around the assignment to silence this warning for (i = 0; c = seq[i]; i++) ^ ( ) readline.c:5524:17: note: use '==' to turn this assignment into an equality comparison for (i = 0; c = seq[i]; i++) ^ == readline.c:5597:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_re_read_init_file (count, ignore) ^~~~~~~~~~~~~~~~~~~~ readline.c:5601:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5654:2: warning: implicit declaration of function 'rl_parse_and_bind' is invalid in C99 [-Wimplicit-function-declaration] rl_parse_and_bind (line); ^ readline.c:5679:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parser_if (args) ^~~~~~~~~ readline.c:5753:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parser_else (args) ^~~~~~~~~~~ readline.c:5777:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parser_endif (args) ^~~~~~~~~~~~ readline.c:5786:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:5845:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_parse_and_bind (string) ^~~~~~~~~~~~~~~~~ readline.c:5875:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 1; c = string[i]; i++) ~~^~~~~~~~~~~ readline.c:5875:21: note: place parentheses around the assignment to silence this warning for (i = 1; c = string[i]; i++) ^ ( ) readline.c:5875:21: note: use '==' to turn this assignment into an equality comparison for (i = 1; c = string[i]; i++) ^ == readline.c:5905:7: warning: implicit declaration of function 'rl_variable_bind' is invalid in C99 [-Wimplicit-function-declaration] rl_variable_bind (var, value); ^ readline.c:5922:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; c = string[i]; i++) ~~^~~~~~~~~~~ readline.c:5922:16: note: place parentheses around the assignment to silence this warning for (; c = string[i]; i++) ^ ( ) readline.c:5922:16: note: use '==' to turn this assignment into an equality comparison for (; c = string[i]; i++) ^ == readline.c:5976:9: warning: implicit declaration of function 'glean_key_from_name' is invalid in C99 [-Wimplicit-function-declaration] key = glean_key_from_name (kname); ^ readline.c:6013:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_variable_bind (name, value) ^~~~~~~~~~~~~~~~ readline.c:6072:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readline.c:6281:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 0; name = names[i]; i++) ~~~~~^~~~~~~~~~ readline.c:6281:20: note: place parentheses around the assignment to silence this warning for (i = 0; name = names[i]; i++) ^ ( ) readline.c:6281:20: note: use '==' to turn this assignment into an equality comparison for (i = 0; name = names[i]; i++) ^ == readline.c:6556:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_redraw() ^~~~~~~~~ readline.c:6560:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 237 warnings generated. cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include vi_mode.c vi_mode.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_yank_arg (count) ^~~~~~~~~~~~~~ vi_mode.c:113:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:117:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_fetch_history (count, c) ^~~~~~~~~~~~~~~~~~~ vi_mode.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:141:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_search_again (ignore, key) ^~~~~~~~~~~~~~~~~~ vi_mode.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_search (count, key) ^~~~~~~~~~~~ vi_mode.c:179:3: warning: implicit declaration of function 'maybe_save_line' is invalid in C99 [-Wimplicit-function-declaration] maybe_save_line (); ^ vi_mode.c:189:3: warning: implicit declaration of function 'rl_message' is invalid in C99 [-Wimplicit-function-declaration] rl_message (p, 0, 0); ^ vi_mode.c:191:14: warning: implicit declaration of function 'rl_read_key' is invalid in C99 [-Wimplicit-function-declaration] while (c = rl_read_key ()) ^ vi_mode.c:191:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = rl_read_key ()) ~~^~~~~~~~~~~~~~~~ vi_mode.c:191:12: note: place parentheses around the assignment to silence this warning while (c = rl_read_key ()) ^ ( ) vi_mode.c:191:12: note: use '==' to turn this assignment into an equality comparison while (c = rl_read_key ()) ^ == vi_mode.c:199:8: warning: implicit declaration of function 'maybe_unsave_line' is invalid in C99 [-Wimplicit-function-declaration] maybe_unsave_line (); ^ vi_mode.c:200:8: warning: implicit declaration of function 'rl_clear_message' is invalid in C99 [-Wimplicit-function-declaration] rl_clear_message (); ^ vi_mode.c:207:4: warning: implicit declaration of function 'rl_dispatch' is invalid in C99 [-Wimplicit-function-declaration] rl_dispatch (c, keymap); ^ vi_mode.c:231:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free (vi_last_search); ^ vi_mode.c:253:11: warning: implicit declaration of function 'history_search_prefix' is invalid in C99 [-Wimplicit-function-declaration] ret = history_search_prefix (string + 1, dir); ^ vi_mode.c:268:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_dosearch (string, dir) ^~~~~~~~~~~~~~ vi_mode.c:313:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_complete (ignore, key) ^~~~~~~~~~~~~~ vi_mode.c:324:5: warning: implicit declaration of function 'rl_complete_internal' is invalid in C99 [-Wimplicit-function-declaration] rl_complete_internal ('*'); /* Expansion and replacement. */ ^ vi_mode.c:331:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:334:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_prev_word (count, key) ^~~~~~~~~~~~~~~ vi_mode.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_next_word (count, key) ^~~~~~~~~~~~~~~ vi_mode.c:380:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_end_word (count, key) ^~~~~~~~~~~~~~ vi_mode.c:397:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_fWord (count) ^~~~~~~~~~~ vi_mode.c:410:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:412:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_bWord (count) ^~~~~~~~~~~ vi_mode.c:432:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:434:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_eWord (count) ^~~~~~~~~~~ vi_mode.c:460:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:462:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_fword (count) ^~~~~~~~~~~ vi_mode.c:484:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:486:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_bword (count) ^~~~~~~~~~~ vi_mode.c:521:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:523:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_eword (count) ^~~~~~~~~~~ vi_mode.c:544:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:546:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_insert_beg () ^~~~~~~~~~~~~~~~ vi_mode.c:553:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_append_mode () ^~~~~~~~~~~~~~~~~ vi_mode.c:561:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_append_eol () ^~~~~~~~~~~~~~~~ vi_mode.c:569:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_eof_maybe (count, c) ^~~~~~~~~~~~~~~ vi_mode.c:573:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:579:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_insertion_mode () ^~~~~~~~~~~~~~~~~~~~ vi_mode.c:582:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:584:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_movement_mode () ^~~~~~~~~~~~~~~~~~~ vi_mode.c:590:3: warning: implicit declaration of function 'vi_done_inserting' is invalid in C99 [-Wimplicit-function-declaration] vi_done_inserting (); ^ vi_mode.c:591:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:593:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] vi_done_inserting () ^~~~~~~~~~~~~~~~~ vi_mode.c:597:7: warning: implicit declaration of function 'rl_end_undo_group' is invalid in C99 [-Wimplicit-function-declaration] rl_end_undo_group (); ^ vi_mode.c:600:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:602:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_arg_digit (count, c) ^~~~~~~~~~~~~~~ vi_mode.c:609:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:611:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_change_case (count, ignore) ^~~~~~~~~~~~~~~~~ vi_mode.c:630:4: warning: implicit declaration of function 'rl_begin_undo_group' is invalid in C99 [-Wimplicit-function-declaration] rl_begin_undo_group (); ^ vi_mode.c:634:4: warning: implicit declaration of function 'rl_vi_check' is invalid in C99 [-Wimplicit-function-declaration] rl_vi_check (); ^ vi_mode.c:642:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_put (count, key) ^~~~~~~~~ vi_mode.c:650:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:652:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_check () ^~~~~~~~~~~ vi_mode.c:656:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:658:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_column (count) ^~~~~~~~~~~~ vi_mode.c:664:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:684:4: warning: implicit declaration of function 'rl_digit_loop1' is invalid in C99 [-Wimplicit-function-declaration] rl_digit_loop1 (); ^ vi_mode.c:743:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_digit_loop1 () ^~~~~~~~~~~~~~ vi_mode.c:760:11: warning: implicit declaration of function 'numeric' is invalid in C99 [-Wimplicit-function-declaration] if (numeric (c)) ^ vi_mode.c:771:4: warning: implicit declaration of function 'rl_stuff_char' is invalid in C99 [-Wimplicit-function-declaration] rl_stuff_char (key); ^ vi_mode.c:775:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:777:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_delete_to (count, key) ^~~~~~~~~~~~~~~ vi_mode.c:794:3: warning: implicit declaration of function 'rl_kill_text' is invalid in C99 [-Wimplicit-function-declaration] rl_kill_text (rl_point, rl_mark); ^ vi_mode.c:798:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_change_to (count, key) ^~~~~~~~~~~~~~~ vi_mode.c:822:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_yank_to (count, key) ^~~~~~~~~~~~~ vi_mode.c:842:3: warning: implicit declaration of function 'rl_do_undo' is invalid in C99 [-Wimplicit-function-declaration] rl_do_undo (); ^ vi_mode.c:847:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_delete (count) ^~~~~~~~~~~~ vi_mode.c:871:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_comment () ^~~~~~~~~~~~~ vi_mode.c:876:5: warning: implicit declaration of function 'rl_insert_text' is invalid in C99 [-Wimplicit-function-declaration] rl_insert_text (rl_vi_comment_begin); ^ vi_mode.c:882:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:884:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_first_print () ^~~~~~~~~~~~~~~~~ vi_mode.c:886:3: warning: implicit declaration of function 'rl_back_to_indent' is invalid in C99 [-Wimplicit-function-declaration] rl_back_to_indent (); ^ vi_mode.c:887:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:889:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_back_to_indent (ignore1, ignore2) ^~~~~~~~~~~~~~~~~ vi_mode.c:895:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:903:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_char_search (count, key) ^~~~~~~~~~~~~~~~~ vi_mode.c:914:16: warning: implicit declaration of function 'rl_getc' is invalid in C99 [-Wimplicit-function-declaration] target = rl_getc (rl_instream); ^ vi_mode.c:1001:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_match () ^~~~~~~~~~~ vi_mode.c:1080:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_change_char (count, key) ^~~~~~~~~~~~~~~~~ vi_mode.c:1104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_subst (count, key) ^~~~~~~~~~~ vi_mode.c:1119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:1121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_overstrike (count, key) ^~~~~~~~~~~~~~~~ vi_mode.c:1147:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:1149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_overstrike_delete (count) ^~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c:1176:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:1178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_replace (count, key) ^~~~~~~~~~~~~ vi_mode.c:1206:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vi_mode.c:1213:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_vi_possible_completions() ^~~~~~~~~~~~~~~~~~~~~~~~~~ 91 warnings generated. cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include history.c history.c:163:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free (the_history[0]->line); ^ history.c:481:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read (file, buffer, finfo.st_size) != finfo.st_size) ^ history.c:485:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (file); ^ history.c:536:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] history_truncate_file (fname, lines) ^~~~~~~~~~~~~~~~~~~~~ history.c:584:3: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write (file, buffer + i, finfo.st_size - i); ^ history.c:592:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ history.c:827:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (entry = history_get (which)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ history.c:827:17: note: place parentheses around the assignment to silence this warning if (entry = history_get (which)) ^ ( ) history.c:827:17: note: use '==' to turn this assignment into an equality comparison if (entry = history_get (which)) ^ == history.c:970:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 8 warnings generated. cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include funmap.c funmap.c:141:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_add_funmap_entry (name, function) ^~~~~~~~~~~~~~~~~~~ funmap.c:148:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ funmap.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ funmap.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_initialize_funmap () ^~~~~~~~~~~~~~~~~~~~ funmap.c:214:3: warning: implicit declaration of function 'qsort' is invalid in C99 [-Wimplicit-function-declaration] qsort (result, result_index, sizeof (char *), qsort_string_compare); ^ 5 warnings generated. cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include keymaps.c keymaps.c:89:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern rl_insert (), rl_rubout (); ~~~~~~ ^ keymaps.c:89:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern rl_insert (), rl_rubout (); ~~~~~~ ^ keymaps.c:107:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rl_discard_keymap (map) ^~~~~~~~~~~~~~~~~ keymaps.c:127:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free ((char *)map[i].function); ^ 4 warnings generated. rm -f xmalloc.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c ../malloc/xmalloc.c rm -f tilde.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c ../glob/tilde.c ../glob/tilde.c:231:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (i = 1; c = dirname[i]; i++) ~~^~~~~~~~~~~~ ../glob/tilde.c:231:18: note: place parentheses around the assignment to silence this warning for (i = 1; c = dirname[i]; i++) ^ ( ) ../glob/tilde.c:231:18: note: use '==' to turn this assignment into an equality comparison for (i = 1; c = dirname[i]; i++) ^ == 1 warning generated. rm -f xalloca.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c ../malloc/xalloca.c rm -f ../lreadline.a ar clq ../lreadline.a readline.o vi_mode.o history.o funmap.o keymaps.o xmalloc.o tilde.o xalloca.o if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../lreadline.a; fi Making in icb sed -e 's/(.*)/()/' protos.h > tmp mv -f tmp funcs.h cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_hclear.c In file included from c_hclear.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_hclear.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_hclear.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_hclear(TARGLIST) ^~~~~~~~ c_hclear.c:17:2: warning: implicit declaration of function 'histclear' is invalid in C99 [-Wimplicit-function-declaration] histclear(); ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_hdel.c In file included from c_hdel.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_hdel.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_hdel.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_hdel(TARGLIST) ^~~~~~ c_hdel.c:18:3: warning: implicit declaration of function 'histdel' is invalid in C99 [-Wimplicit-function-declaration] histdel(argv[1]); ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_help.c In file included from c_help.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_help.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_help.c:9:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern *helpkeys[], *helptopics[], **helptexts[]; ~~~~~~ ^ c_help.c:9:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern *helpkeys[], *helptopics[], **helptexts[]; ~~~~~~ ^ c_help.c:9:38: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern *helpkeys[], *helptopics[], **helptexts[]; ~~~~~~ ^ c_help.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_help(TARGLIST) ^~~~~~ c_help.c:37:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] helptoc() ^~~~~~~ c_help.c:47:29: warning: format specifies type 'char *' but the argument has type 'int *' [-Wformat] sprintf(mbuf, "%-16s %s", helpkeys[x], helptopics[x]); ~~~~~ ^~~~~~~~~~~ c_help.c:47:42: warning: format specifies type 'char *' but the argument has type 'int *' [-Wformat] sprintf(mbuf, "%-16s %s", helpkeys[x], helptopics[x]); ~~ ^~~~~~~~~~~~~ c_help.c:60:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ c_help.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] helpme(subject) ^~~~~~ 11 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_hush.c In file included from c_hush.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_hush.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_hush.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_hush(TARGLIST) ^~~~~~ c_hush.c:29:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hushadd(interp, nick) ^~~~~~~ c_hush.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hushdelete(interp, nick) ^~~~~~~~~~ c_hush.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ishushed(nick) ^~~~~~~~ 6 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_log.c In file included from c_log.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_log.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_log.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_log(TARGLIST) ^~~~~ c_log.c:41:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] startsessionlog(interp, path) ^~~~~~~~~~~~~~~ c_log.c:54:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ c_log.c:72:6: warning: implicit declaration of function 'fchmod' is invalid in C99 [-Wimplicit-function-declaration] if (fchmod((int)(fileno(logfp)), 0600) != 0) { ^ c_log.c:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] logging() ^~~~~~~ 7 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_quit.c In file included from c_quit.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_quit.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_quit.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_quit(TARGLIST) ^~~~~~ c_quit.c:25:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_rand.c In file included from c_rand.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_rand.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_rand.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_rand(TARGLIST) ^~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_replay.c In file included from c_replay.c:4: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_replay.c:5: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_replay.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_replay(TARGLIST) ^~~~~~~~ c_replay.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bufferadd(text) ^~~~~~~~~ c_replay.c:122:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ c_replay.c:127:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bufferlist(lines) ^~~~~~~~~~ c_replay.c:160:7: warning: implicit declaration of function 'bufmatch' is invalid in C99 [-Wimplicit-function-declaration] if (bufmatch(bp->str)) lines--; ^ c_replay.c:172:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ c_replay.c:178:10: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] bufparse(str); ^~~ c_replay.c:174:28: note: passing argument to parameter 'str' here static void bufparse(char *str); ^ 9 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_shell.c In file included from c_shell.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_shell.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_shell.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_shell(TARGLIST) ^~~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_time.c In file included from c_time.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_time.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_time.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_time(TARGLIST) ^~~~~~ c_time.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printcutetime() ^~~~~~~~~~~~~ c_time.c:90:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(1, "(Ding-Dong!)\r\n\n", 15); ^ c_time.c:91:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ c_time.c:100:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ c_time.c:102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printnormaltime() ^~~~~~~~~~~~~~~ c_time.c:107:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ c_time.c:109:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printmilitarytime() ^~~~~~~~~~~~~~~~~ c_time.c:114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 11 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_usage.c In file included from c_usage.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_usage.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_usage.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_usage(TARGLIST) ^~~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_version.c In file included from c_version.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from c_version.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ c_version.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c_version(TARGLIST) ^~~~~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c cute.c In file included from cute.c:5: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from cute.c:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ cute.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] saysomething() ^~~~~~~~~~~~ cute.c:85:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c defprocs.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c dispatch.c In file included from dispatch.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from dispatch.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ dispatch.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dispatch(pkt) ^~~~~~~~ dispatch.c:62:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c oset.c In file included from oset.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from oset.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ oset.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] oset(TARGLIST) ^~~~ oset.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ounset(TARGLIST) ^~~~~~ oset.c:120:8: warning: implicit declaration of function 'unsetvar' is invalid in C99 [-Wimplicit-function-declaration] if (unsetvar(interp, vars[x].type, vars[x].address) < 0) ^ oset.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setvar(interp, type, address, s) ^~~~~~ oset.c:196:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unsetvar(interp, type, address) ^~~~~~~~ oset.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] listvars(name) ^~~~~~~~ oset.c:252:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printvar(name, type, address) ^~~~~~~~ oset.c:283:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ oset.c:286:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] varsanity() ^~~~~~~~~ oset.c:302:3: warning: implicit declaration of function 'rl_emacs_editing_mode' is invalid in C99 [-Wimplicit-function-declaration] rl_emacs_editing_mode(); ^ oset.c:306:3: warning: implicit declaration of function 'rl_vi_editing_mode' is invalid in C99 [-Wimplicit-function-declaration] rl_vi_editing_mode(); ^ oset.c:314:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ oset.c:316:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] restricted() ^~~~~~~~~~ oset.c:320:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 16 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. getline.c In file included from getline.c:2: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from getline.c:3: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ getline.c:36:11: warning: implicit declaration of function 'add_history' is invalid in C99 [-Wimplicit-function-declaration] add_history (line_read); ^ getline.c:73:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (found_nick = histget()) ~~~~~~~~~~~^~~~~~~~~~~ getline.c:73:18: note: place parentheses around the assignment to silence this warning if (found_nick = histget()) ^ ( ) getline.c:73:18: note: use '==' to turn this assignment into an equality comparison if (found_nick = histget()) ^ == getline.c:80:4: warning: implicit declaration of function 'rl_insert_text' is invalid in C99 [-Wimplicit-function-declaration] rl_insert_text(mpref); ^ getline.c:121:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (found_nick=histget()) ~~~~~~~~~~^~~~~~~~~~ getline.c:121:17: note: place parentheses around the assignment to silence this warning if (found_nick=histget()) ^ ( ) getline.c:121:17: note: use '==' to turn this assignment into an equality comparison if (found_nick=histget()) ^ == 6 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c getswitch.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c globals.c In file included from globals.c:7: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ 1 warning generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c helpdata.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c history.c In file included from history.c:4: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from history.c:5: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ history.c:87:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] histcount() ^~~~~~~~~ history.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] histdel(name) ^~~~~~~ history.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ history.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] histclear() ^~~~~~~~~ history.c:166:21: warning: implicit declaration of function 'ccasecmp' is invalid in C99 [-Wimplicit-function-declaration] *p1 && *p2 && ccasecmp(*p1,*p2); ^ 7 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c ipcf.c In file included from ipcf.c:16: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from ipcf.c:17: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ 2 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -DDEFAULTHOST=\"crater.unm.edu\" -DDEFAULTPORT=7326 main.c In file included from main.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from main.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ main.c:40:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ main.c:222:2: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(2, icb_version, strlen(icb_version)); ^ main.c:227:3: warning: implicit declaration of function 'readlineinit' is invalid in C99 [-Wimplicit-function-declaration] readlineinit(); ^ main.c:262:6: warning: implicit declaration of function 'connecttoport' is invalid in C99 [-Wimplicit-function-declaration] if (connecttoport(myhost, myport) < 0) ^ main.c:295:6: warning: implicit declaration of function 'clientserve' is invalid in C99 [-Wimplicit-function-declaration] if (clientserve() < 0) { ^ 7 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c msgs.c In file included from msgs.c:8: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from msgs.c:9: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ msgs.c:103:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] exitmsg() ^~~~~~~ msgs.c:106:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ msgs.c:160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] loginokmsg(pkt) ^~~~~~~~~~ msgs.c:164:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ msgs.c:177:3: warning: implicit declaration of function 'regnick' is invalid in C99 [-Wimplicit-function-declaration] regnick((char *)0); ^ msgs.c:233:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cmdoutmsg(pkt) ^~~~~~~~~ msgs.c:295:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ msgs.c:299:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] errormsg(pkt) ^~~~~~~~ msgs.c:321:4: warning: implicit declaration of function 'histdel' is invalid in C99 [-Wimplicit-function-declaration] histdel(nick); ^ msgs.c:323:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 12 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c parse.c In file included from parse.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from parse.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ parse.c:26:3: warning: implicit declaration of function 'send_default' is invalid in C99 [-Wimplicit-function-declaration] send_default(s,1); ^ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c print.c In file included from print.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from print.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ print.c:15:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] putl(s, flags) ^~~~ print.c:51:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(1, timestamp, 8); ^ print.c:64:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ print.c:73:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pauseprompt(prompt, Erase, c, unget, except) ^~~~~~~~~~~ print.c:108:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 7 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. readlineinit.c In file included from readlineinit.c:4: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from readlineinit.c:5: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ readlineinit.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readlineinit() ^~~~~~~~~~~~ readlineinit.c:19:1: warning: implicit declaration of function 'rl_bind_key_in_map' is invalid in C99 [-Wimplicit-function-declaration] rl_bind_key_in_map('\t', handletab, vi_insertion_keymap); ^ readlineinit.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 5 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c register.c In file included from register.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from register.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ 2 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_admin.c In file included from s_admin.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_admin.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_admin.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_admin(TARGLIST) ^~~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_beep.c In file included from s_beep.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_beep.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_beep.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_beep(TARGLIST) ^~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_bump.c In file included from s_bump.c:7: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_bump.c:8: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_bump.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_bump(TARGLIST) ^~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_chpw.c In file included from s_chpw.c:7: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_chpw.c:8: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_chpw.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_chpw(TARGLIST) ^~~~~~ s_chpw.c:37:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (match = strcmp(new1,new2)) ~~~~~~^~~~~~~~~~~~~~~~~~~ s_chpw.c:37:14: note: place parentheses around the assignment to silence this warning if (match = strcmp(new1,new2)) ^ ( ) s_chpw.c:37:14: note: use '==' to turn this assignment into an equality comparison if (match = strcmp(new1,new2)) ^ == 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_group.c In file included from s_group.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_group.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_group.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_group(TARGLIST) ^~~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_motd.c In file included from s_motd.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_motd.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_motd.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_motd(TARGLIST) ^~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_open.c In file included from s_open.c:7: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_open.c:8: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_open.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_open(TARGLIST) ^~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_person.c In file included from s_person.c:7: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_person.c:8: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_person.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_personal(TARGLIST) ^~~~~~~~~~ s_person.c:24:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sw = getswitch(argc, argv, switches)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ s_person.c:24:12: note: place parentheses around the assignment to silence this warning while (sw = getswitch(argc, argv, switches)) ^ ( ) s_person.c:24:12: note: use '==' to turn this assignment into an equality comparison while (sw = getswitch(argc, argv, switches)) ^ == 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_register.c In file included from s_register.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_register.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_register.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_register(TARGLIST) ^~~~~~~~~~ s_register.c:20:3: warning: implicit declaration of function 'regnick' is invalid in C99 [-Wimplicit-function-declaration] regnick((char *)0); ^ 4 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_send.c In file included from s_send.c:7: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_send.c:8: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_send.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_send(TARGLIST) ^~~~~~ s_send.c:18:2: warning: implicit declaration of function 'send_default' is invalid in C99 [-Wimplicit-function-declaration] send_default(catargs(&argv[1]),0); ^ s_send.c:22:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] send_default(text,echoflag) ^~~~~~~~~~~~ s_send.c:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 6 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_user.c In file included from s_user.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_user.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_user.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_user(TARGLIST) ^~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_version.c In file included from s_version.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_version.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_version.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_version(TARGLIST) ^~~~~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_who.c In file included from s_who.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from s_who.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ s_who.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_who(TARGLIST) ^~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c send.c In file included from send.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from send.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ send.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] csendopen(txt) ^~~~~~~~~ send.c:32:3: warning: implicit declaration of function 'sendit' is invalid in C99 [-Wimplicit-function-declaration] sendit(pp); ^ send.c:37:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ send.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sendlogin(id, nick, group, command, passwd) ^~~~~~~~~ send.c:50:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ send.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sendpong() ^~~~~~~~ send.c:58:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ send.c:63:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sendcmd(cmd, args) ^~~~~~~ send.c:116:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ send.c:154:10: warning: implicit declaration of function 'isspace' is invalid in C99 [-Wimplicit-function-declaration] while (!isspace(s[length-1])&&length>1) ^ 12 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -DDEFAULTHOST=\"crater.unm.edu\" -DDEFAULTPORT=7326 -DSERVERLIST=\"/usr/pkg/libdata/icbserverdb\" serverlist.c In file included from serverlist.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ serverlist.c:29:2: warning: implicit declaration of function 'getcwd' is invalid in C99 [-Wimplicit-function-declaration] getcwd(pwd, MAXPATHLEN+1); ^ serverlist.c:36:22: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pw = getpwuid(getuid())) == NULL) ^ serverlist.c:40:2: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] chdir(home); ^ serverlist.c:77:7: warning: implicit declaration of function 'readserverent' is invalid in C99 [-Wimplicit-function-declaration] if (!readserverent(serverfile, &serverbuf)) ^ serverlist.c:93:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ serverlist.c:111:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ serverlist.c:138:23: warning: implicit declaration of function 'isspace' is invalid in C99 [-Wimplicit-function-declaration] while (line[index] && isspace(line[index])) ^ 8 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. signals.c In file included from signals.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from signals.c:7: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ signals.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] trapsignals() ^~~~~~~~~~~ signals.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ signals.c:67:2: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(1, "\nReally Quit? ", 14); ^ signals.c:70:2: warning: implicit declaration of function 'noecho' is invalid in C99 [-Wimplicit-function-declaration] noecho(); ^ signals.c:85:3: warning: implicit declaration of function 'echo' is invalid in C99 [-Wimplicit-function-declaration] echo(); ^ 7 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c strccmp.c strccmp.c:84:13: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] while (--n >= 0 && cm[*us1] == cm[*us2++]) ~~~ ^ ~ strccmp.c:87:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] return(n < 0 ? 0 : cm[*us1] - cm[*--us2]); ~ ^ ~ strccmp.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ccasecmp(c1,c2) ^~~~~~~~ 3 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c strings.c In file included from strings.c:4: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from strings.c:5: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ strings.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filternickname(txt) ^~~~~~~~~~~~~~ strings.c:25:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ strings.c:28:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strings.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filtertext(s) ^~~~~~~~~~ strings.c:39:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strings.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filtergroupname(txt) ^~~~~~~~~~~~~~~ strings.c:54:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ strings.c:57:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strings.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strcicmp(s1, s2) ^~~~~~~~ strings.c:87:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strcincmp(s1, s2, n) ^~~~~~~~~ strings.c:117:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lcaseit(s) ^~~~~~~ strings.c:123:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strings.c:126:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cimatch(s1, s2) ^~~~~~~ strings.c:143:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] quoteify(a, b) ^~~~~~~~ strings.c:161:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strings.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mbreakprint(per, from, s) ^~~~~~~~~~~ strings.c:256:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strings.c:258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mprint(per, from, s) ^~~~~~ strings.c:267:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strings.c:269:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wordcmp(s1, s2) ^~~~~~~ strings.c:280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wordcasecmp(s1, s2) ^~~~~~~~~~~ strings.c:309:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] split(s) ^~~~~ 24 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c strlist.c In file included from strlist.c:6: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ strlist.c:24:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strlinkhead(s, head, tail) ^~~~~~~~~~~ strlist.c:36:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strlist.c:41:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strlinktail(s, head, tail) ^~~~~~~~~~~ strlist.c:53:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strlist.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strlinkafter(s, i, head, tail) ^~~~~~~~~~~~ strlist.c:69:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strlist.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strlinkbefore(s, i, head, tail) ^~~~~~~~~~~~~ strlist.c:82:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strlist.c:87:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strunlink(s, head, tail) ^~~~~~~~~ strlist.c:106:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ strlist.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strlinkalpha(s, head, tail, caseindep) ^~~~~~~~~~~~ strlist.c:142:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 13 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c tcl.c In file included from tcl.c:11: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from tcl.c:12: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ tcl.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tclinit() ^~~~~~~ tcl.c:94:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ tcl.c:147:7: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access(rcfile, (F_OK | R_OK)) < 0) { ^ tcl.c:173:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tclrestrict() ^~~~~~~~~~~ tcl.c:180:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 7 warnings generated. cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c unix.c In file included from unix.c:8: In file included from ./icb.h:94: In file included from ./protos.h:6: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ In file included from unix.c:9: ./externs.h:32:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern connected; /* whether we are validated or not */ ~~~~~~ ^ unix.c:58:22: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pw = getpwuid(getuid())) == NULL) ^ unix.c:60:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ unix.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] linebuffer(fp) ^~~~~~~~~~ unix.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ unix.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pushback(c) ^~~~~~~~ unix.c:100:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ unix.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getterm() ^~~~~~~ unix.c:109:17: error: variable has incomplete type 'struct ltchars' struct ltchars lt; ^ unix.c:109:9: note: forward declaration of 'struct ltchars' struct ltchars lt; ^ unix.c:112:6: error: use of undeclared identifier 'TIOCGETP' if (gtty(0,&origtty) < 0) { ^ unix.c:33:33: note: expanded from macro 'gtty' #define gtty(fd,buf) ioctl((fd),TIOCGETP,(buf)) ^ unix.c:121:26: error: incomplete definition of type 'struct sgttyb' ttyinfo.erase = origtty.sg_erase; ~~~~~~~^ unix.c:44:8: note: forward declaration of 'struct sgttyb' struct TTYSTRUCT origtty; /* holds the user's original term settings */ ^ unix.c:31:19: note: expanded from macro 'TTYSTRUCT' #define TTYSTRUCT sgttyb ^ unix.c:122:25: error: incomplete definition of type 'struct sgttyb' ttyinfo.kill = origtty.sg_kill; ~~~~~~~^ unix.c:44:8: note: forward declaration of 'struct sgttyb' struct TTYSTRUCT origtty; /* holds the user's original term settings */ ^ unix.c:31:19: note: expanded from macro 'TTYSTRUCT' #define TTYSTRUCT sgttyb ^ unix.c:128:16: error: use of undeclared identifier 'TIOCGLTC' if (ioctl(0, TIOCGLTC, <) < 0) { ^ unix.c:150:19: error: variable has incomplete type 'struct sgttyb' struct TTYSTRUCT tty; ^ unix.c:44:8: note: forward declaration of 'struct sgttyb' struct TTYSTRUCT origtty; /* holds the user's original term settings */ ^ unix.c:31:19: note: expanded from macro 'TTYSTRUCT' #define TTYSTRUCT sgttyb ^ unix.c:164:18: error: use of undeclared identifier 'CBREAK' tty.sg_flags |= CBREAK; ^ unix.c:165:19: error: use of undeclared identifier 'ECHO' tty.sg_flags &= ~ECHO; ^ unix.c:170:6: error: use of undeclared identifier 'TIOCSETN' if (stty(0, &tty) < 0) { ^ unix.c:32:33: note: expanded from macro 'stty' #define stty(fd,buf) ioctl((fd),TIOCSETN,(buf)) ^ unix.c:184:6: error: use of undeclared identifier 'TIOCSETN' if (stty(0,&origtty) < 0) { ^ unix.c:32:33: note: expanded from macro 'stty' #define stty(fd,buf) ioctl((fd),TIOCSETN,(buf)) ^ unix.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getwinsize() ^~~~~~~~~~ unix.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clearargs(argc,argv) ^~~~~~~~~ unix.c:266:19: error: variable has incomplete type 'struct sgttyb' struct TTYSTRUCT tty; ^ unix.c:44:8: note: forward declaration of 'struct sgttyb' struct TTYSTRUCT origtty; /* holds the user's original term settings */ ^ unix.c:31:19: note: expanded from macro 'TTYSTRUCT' #define TTYSTRUCT sgttyb ^ unix.c:269:6: error: use of undeclared identifier 'TIOCGETP' if (gtty(0,&tty) <0) ^ unix.c:33:33: note: expanded from macro 'gtty' #define gtty(fd,buf) ioctl((fd),TIOCGETP,(buf)) ^ unix.c:279:18: error: use of undeclared identifier 'ECHO' tty.sg_flags |= ECHO; ^ unix.c:285:6: error: use of undeclared identifier 'TIOCSETN' if (stty(0, &tty) < 0) { ^ unix.c:32:33: note: expanded from macro 'stty' #define stty(fd,buf) ioctl((fd),TIOCSETN,(buf)) ^ unix.c:295:19: error: variable has incomplete type 'struct sgttyb' struct TTYSTRUCT tty; ^ unix.c:44:8: note: forward declaration of 'struct sgttyb' struct TTYSTRUCT origtty; /* holds the user's original term settings */ ^ unix.c:31:19: note: expanded from macro 'TTYSTRUCT' #define TTYSTRUCT sgttyb ^ unix.c:298:6: error: use of undeclared identifier 'TIOCGETP' if (gtty(0,&tty) <0) ^ unix.c:33:33: note: expanded from macro 'gtty' #define gtty(fd,buf) ioctl((fd),TIOCGETP,(buf)) ^ unix.c:308:19: error: use of undeclared identifier 'ECHO' tty.sg_flags &= ~ECHO; ^ unix.c:314:6: error: use of undeclared identifier 'TIOCSETN' if (stty(0, &tty) < 0) { ^ unix.c:32:33: note: expanded from macro 'stty' #define stty(fd,buf) ioctl((fd),TIOCSETN,(buf)) ^ unix.c:44:18: error: tentative definition has type 'struct sgttyb' that is never completed struct TTYSTRUCT origtty; /* holds the user's original term settings */ ^ unix.c:44:8: note: forward declaration of 'struct sgttyb' struct TTYSTRUCT origtty; /* holds the user's original term settings */ ^ unix.c:31:19: note: expanded from macro 'TTYSTRUCT' #define TTYSTRUCT sgttyb ^ 11 warnings and 19 errors generated. *** Error code 1 Stop. make: stopped in /usr/pkgsrc/work/chat/icb/work/icb-5.0.9/icb *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/chat/icb/work/icb-5.0.9 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/chat/icb *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/chat/icb