=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for icb-5.0.9pl1nb7 --- all --- Making in murgil make[1]: warning: Invalid internal option "-J" in "/pbulk/work/chat/icb/work/icb-5.0.9/murgil"; see the manual page in make[1] in directory "/pbulk/work/chat/icb/work/icb-5.0.9/murgil" cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c clientserve.c -o clientserve.o clientserve.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] 25 | clientserve() | ^~~~~~~~~~~ clientserve.c: In function 'clientserve': clientserve.c:66:33: warning: implicit declaration of function 'c_didpoll' [-Wimplicit-function-declaration] 66 | c_didpoll(); | ^~~~~~~~~ clientserve.c:75:25: warning: implicit declaration of function 'cdoinput' [-Wimplicit-function-declaration] 75 | cdoinput(); | ^~~~~~~~ clientserve.c: At top level: clientserve.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] 81 | cdoinput() | ^~~~~~~~ clientserve.c: In function 'cdoinput': clientserve.c:84:17: warning: implicit declaration of function 'c_userchar' [-Wimplicit-function-declaration] 84 | c_userchar(); | ^~~~~~~~~~ clientserve.c:87:24: warning: implicit declaration of function '_readpacket' [-Wimplicit-function-declaration] 87 | switch(_readpacket(sock, &buf)) { | ^~~~~~~~~~~ clientserve.c:90:25: warning: implicit declaration of function 'c_packet' [-Wimplicit-function-declaration] 90 | c_packet(buf.buf); | ^~~~~~~~ clientserve.c:99:25: warning: implicit declaration of function 'c_lostcon' [-Wimplicit-function-declaration] 99 | c_lostcon(); | ^~~~~~~~~ clientserve.c: At top level: clientserve.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] 110 | sendit(pkt) | ^~~~~~ clientserve.c: In function 'sendit': clientserve.c:113:16: warning: implicit declaration of function '_sendpacket' [-Wimplicit-function-declaration] 113 | switch(_sendpacket(sock, pkt)) { | ^~~~~~~~~~~ clientserve.c: At top level: clientserve.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] 136 | closecon() | ^~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c contoport.c -o contoport.o contoport.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] 18 | connecttoport(host_name, port_number) | ^~~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c discuser.c -o discuser.o discuser.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int] 10 | disconnectuser(user) | ^~~~~~~~~~~~~~ discuser.c: In function 'disconnectuser': discuser.c:22:9: warning: implicit declaration of function 's_lost_user' [-Wimplicit-function-declaration] 22 | s_lost_user(user); | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c getaddr.c -o getaddr.o getaddr.c: In function '_getaddress': getaddr.c:46:52: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 46 | if ((iaddr.s_addr = (unsigned long)inet_addr(s)) == -1) | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c getrname.c -o getrname.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c globals.c -o globals.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c ignore.c -o ignore.o ignore.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | ignore(user) | ^~~~~~ ignore.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | unignore(user) | ^~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c makeport.c -o makeport.o makeport.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] 19 | makenewport(host_name, port_number) | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c newconnect.c -o newconnect.o newconnect.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] 24 | _newconnect(s) | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c packetsend.c -o packetsend.o packetsend.c:5:1: warning: return type defaults to 'int' [-Wimplicit-int] 5 | packetsend(s, pkt) | ^~~~~~~~~~ packetsend.c: In function 'packetsend': packetsend.c:9:16: warning: implicit declaration of function '_sendpacket' [-Wimplicit-function-declaration] 9 | switch(_sendpacket(s, pkt)) { | ^~~~~~~~~~~ packetsend.c:22:17: warning: implicit declaration of function 'disconnectuser' [-Wimplicit-function-declaration] 22 | disconnectuser(s); | ^~~~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c readpacket.c -o readpacket.o readpacket.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 17 | _readpacket(user, p) | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c sendpacket.c -o sendpacket.o sendpacket.c:8:1: warning: return type defaults to 'int' [-Wimplicit-int] 8 | _sendpacket(s, pkt) | ^~~~~~~~~~~ sendpacket.c: In function '_sendpacket': sendpacket.c:18:20: warning: implicit declaration of function 'send' [-Wimplicit-function-declaration] 18 | if ((ret = send(s, pkt, totlength, 0)) < 0) { | ^~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c serverserve.c -o serverserve.o serverserve.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] 26 | serverserve() | ^~~~~~~~~~~ serverserve.c: In function 'serverserve': serverserve.c:62:33: warning: implicit declaration of function 's_didpoll' [-Wimplicit-function-declaration] 62 | s_didpoll(); | ^~~~~~~~~ serverserve.c:71:25: warning: implicit declaration of function 'sdoinput' [-Wimplicit-function-declaration] 71 | sdoinput(); | ^~~~~~~~ serverserve.c: At top level: serverserve.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] 77 | sdoinput() | ^~~~~~~~ serverserve.c: In function 'sdoinput': serverserve.c:93:42: warning: implicit declaration of function '_newconnect' [-Wimplicit-function-declaration] 93 | if ((n = _newconnect(x)) > 0) | ^~~~~~~~~~~ serverserve.c:95:41: warning: implicit declaration of function 's_new_user' [-Wimplicit-function-declaration] 95 | s_new_user(n); | ^~~~~~~~~~ serverserve.c:98:40: warning: implicit declaration of function '_readpacket' [-Wimplicit-function-declaration] 98 | switch(_readpacket(x, &cbufs[x])) { | ^~~~~~~~~~~ serverserve.c:101:41: warning: implicit declaration of function 's_packet' [-Wimplicit-function-declaration] 101 | s_packet(x, cbufs[x].buf); | ^~~~~~~~ serverserve.c:111:41: warning: implicit declaration of function 'disconnectuser' [-Wimplicit-function-declaration] 111 | disconnectuser(x); | ^~~~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c setdelay.c -o setdelay.o setdelay.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] 14 | setpolltimeout(msecs) | ^~~~~~~~~~~~~~ setdelay.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] 28 | setpolldelay(msecs) | ^~~~~~~~~~~~ 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 ar: creating ../lmurgil.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../lmurgil.a; fi Making in tcl make[1]: warning: Invalid internal option "-J" in "/pbulk/work/chat/icb/work/icb-5.0.9/tcl"; see the manual page in make[1] in directory "/pbulk/work/chat/icb/work/icb-5.0.9/tcl" cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c panic.c -o panic.o In file included from panic.c:21: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c strerror.c -o strerror.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclAssem.c -o tclAssem.o In file included from tclAssem.c:25: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ tclAssem.c: In function 'Tcl_CreateCmdBuf': tclAssem.c:50:22: warning: 'malloc' argument 1 type is 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 50 | #define CMD_BUF_SIZE 100 | ^~~ tclAssem.c:75:28: note: in expansion of macro 'CMD_BUF_SIZE' 75 | cbPtr->buffer = malloc(CMD_BUF_SIZE); | ^~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclBasic.c -o tclBasic.o In file included from tclBasic.c:24: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclCmdAH.c -o tclCmdAH.o In file included from tclCmdAH.c:30: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ tclCmdAH.c: In function 'Tcl_ExecCmd': tclCmdAH.c:518:9: warning: implicit declaration of function 'mkstemp'; did you mean 'mkstemps'? [-Wimplicit-function-declaration] 518 | mkstemp(tmp); | ^~~~~~~ | mkstemps cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclCmdIZ.c -o tclCmdIZ.o In file included from tclCmdIZ.c:25: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ tclCmdIZ.c: In function 'Tcl_SourceCmd': tclCmdIZ.c:1157:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 1157 | close(fileId); | ^~~~~ | pclose tclCmdIZ.c:1161:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 1161 | if (read(fileId, cmdBuffer, (int) statBuf.st_size) != statBuf.st_size) { | ^~~~ | fread cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclExpr.c -o tclExpr.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclGlob.c -o tclGlob.o In file included from tclGlob.c:24: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclHistory.c -o tclHistory.o In file included from tclHistory.c:26: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ tclHistory.c: In function 'Tcl_HistoryCmd': tclHistory.c:90:26: warning: 'malloc' argument 1 type is 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 90 | #define INITIAL_CMD_SIZE 40 | ^~ tclHistory.c:412:44: note: in expansion of macro 'INITIAL_CMD_SIZE' 412 | events[i].command = malloc(INITIAL_CMD_SIZE); | ^~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'HistoryInit': tclHistory.c:90:26: warning: 'malloc' argument 1 type is 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 90 | #define INITIAL_CMD_SIZE 40 | ^~ tclHistory.c:524:42: note: in expansion of macro 'INITIAL_CMD_SIZE' 524 | iPtr->events[i].command = malloc(INITIAL_CMD_SIZE); | ^~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclProc.c -o tclProc.o In file included from tclProc.c:22: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ tclProc.c: In function 'NewVar': tclProc.c:924:29: warning: 'calloc' argument 1 type is 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 924 | varPtr = (Var *) calloc(1, VAR_SIZE(nameLength, valueLength)); | ^ ./stdlib.h:45:17: note: built-in 'calloc' declared here 45 | extern void * calloc(); | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I. -DTCL_VERSION=\"3.3\" -I/usr/include -c tclUtil.c -o tclUtil.o In file included from tclUtil.c:23: ./stdlib.h:72:17: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 72 | extern free(); | ^~~~ ./stdlib.h:72:17: warning: conflicting types for built-in function 'free'; expected 'void(void *)' [-Wbuiltin-declaration-mismatch] ./stdlib.h:1:1: note: 'free' is declared in header '' +++ |+#include 1 | /* ./stdlib.h:151:17: warning: type defaults to 'int' in declaration of 'srand' [-Wimplicit-int] 151 | extern srand(); | ^~~~~ ./stdlib.h:152:17: warning: type defaults to 'int' in declaration of 'srandom' [-Wimplicit-int] 152 | extern srandom(); | ^~~~~~~ tclUtil.c: In function 'TclCopyAndCollapse': tclUtil.c:223:1: warning: type of 'count' defaults to 'int' [-Wimplicit-int] 223 | TclCopyAndCollapse(count, src, dst) | ^~~~~~~~~~~~~~~~~~ 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 ar: creating ../ltcl.a if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; then ranlib ../ltcl.a; fi Making in readline make[1]: warning: Invalid internal option "-J" in "/pbulk/work/chat/icb/work/icb-5.0.9/readline"; see the manual page in make[1] in directory "/pbulk/work/chat/icb/work/icb-5.0.9/readline" cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include readline.c readline.c:223:8: warning: type defaults to 'int' in declaration of 'insert_some_chars' [-Wimplicit-int] 223 | static insert_some_chars (); | ^~~~~~~~~~~~~~~~~ readline.c: In function 'readline': readline.c:383:3: warning: implicit declaration of function 'rl_initialize' [-Wimplicit-function-declaration] 383 | rl_initialize (); | ^~~~~~~~~~~~~ readline.c:387:3: warning: implicit declaration of function 'rl_set_signals' [-Wimplicit-function-declaration] 387 | rl_set_signals (); | ^~~~~~~~~~~~~~ readline.c:394:3: warning: implicit declaration of function 'rl_clear_signals' [-Wimplicit-function-declaration] 394 | rl_clear_signals (); | ^~~~~~~~~~~~~~~~ readline.c: In function 'readline_internal': readline.c:427:7: warning: implicit declaration of function 'rl_on_new_line'; did you mean 'rl_newline'? [-Wimplicit-function-declaration] 427 | rl_on_new_line (); | ^~~~~~~~~~~~~~ | rl_newline readline.c:446:11: warning: implicit declaration of function 'rl_init_argument'; did you mean 'rl_digit_argument'? [-Wimplicit-function-declaration] 446 | rl_init_argument (); | ^~~~~~~~~~~~~~~~ | rl_digit_argument readline.c:450:11: warning: implicit declaration of function 'rl_read_key'; did you mean 'rl_arrow_keys'? [-Wimplicit-function-declaration] 450 | c = rl_read_key (); | ^~~~~~~~~~~ | rl_arrow_keys readline.c:465:7: warning: implicit declaration of function 'rl_dispatch'; did you mean 'rl_vi_match'? [-Wimplicit-function-declaration] 465 | rl_dispatch (c, keymap); | ^~~~~~~~~~~ | rl_vi_match readline.c:488:9: warning: implicit declaration of function 'rl_vi_check' [-Wimplicit-function-declaration] 488 | rl_vi_check (); | ^~~~~~~~~~~ readline.c:516:5: warning: implicit declaration of function 'free_undo_list' [-Wimplicit-function-declaration] 516 | free_undo_list (); | ^~~~~~~~~~~~~~ readline.c: In function 'rl_handle_sigwinch': readline.c:548:7: warning: implicit declaration of function 'rl_reset_terminal'; did you mean 'rl_deprep_terminal'? [-Wimplicit-function-declaration] 548 | rl_reset_terminal (term); | ^~~~~~~~~~~~~~~~~ | rl_deprep_terminal readline.c: In function 'rl_signal_handler': readline.c:591:7: warning: implicit declaration of function 'rl_clear_message' [-Wimplicit-function-declaration] 591 | rl_clear_message (); | ^~~~~~~~~~~~~~~~ readline.c:600:7: warning: implicit declaration of function 'rl_clean_up_for_exit' [-Wimplicit-function-declaration] 600 | rl_clean_up_for_exit (); | ^~~~~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:629:1: warning: return type defaults to 'int' [-Wimplicit-int] 629 | rl_set_signals () | ^~~~~~~~~~~~~~ readline.c:660:1: warning: return type defaults to 'int' [-Wimplicit-int] 660 | rl_clear_signals () | ^~~~~~~~~~~~~~~~ readline.c:703:1: warning: return type defaults to 'int' [-Wimplicit-int] 703 | rl_stuff_char (key) | ^~~~~~~~~~~~~ readline.c: In function 'rl_gather_tyi': readline.c:810:24: warning: implicit declaration of function 'rl_getc' [-Wimplicit-function-declaration] 810 | rl_stuff_char (rl_getc (in_stream)); | ^~~~~~~ readline.c: At top level: readline.c:864:1: warning: return type defaults to 'int' [-Wimplicit-int] 864 | rl_dispatch (key, map) | ^~~~~~~~~~~ readline.c:1074:1: warning: return type defaults to 'int' [-Wimplicit-int] 1074 | rl_start_kbd_macro (ignore1, ignore2) | ^~~~~~~~~~~~~~~~~~ readline.c:1094:1: warning: return type defaults to 'int' [-Wimplicit-int] 1094 | rl_end_kbd_macro (count, ignore) | ^~~~~~~~~~~~~~~~ readline.c:1110:1: warning: return type defaults to 'int' [-Wimplicit-int] 1110 | rl_call_last_kbd_macro (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~ readline.c:1128:1: warning: return type defaults to 'int' [-Wimplicit-int] 1128 | rl_initialize () | ^~~~~~~~~~~~~ readline.c: In function 'rl_initialize': readline.c:1136:7: warning: implicit declaration of function 'readline_initialize_everything' [-Wimplicit-function-declaration] 1136 | readline_initialize_everything (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1149:3: warning: implicit declaration of function 'start_using_history'; did you mean 'using_history'? [-Wimplicit-function-declaration] 1149 | start_using_history (); | ^~~~~~~~~~~~~~~~~~~ | using_history readline.c: At top level: readline.c:1170:1: warning: return type defaults to 'int' [-Wimplicit-int] 1170 | readline_initialize_everything () | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'readline_initialize_everything': readline.c:1186:3: warning: implicit declaration of function 'readline_default_bindings' [-Wimplicit-function-declaration] 1186 | readline_default_bindings (); | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1189:3: warning: implicit declaration of function 'rl_initialize_funmap'; did you mean 'rl_initialize'? [-Wimplicit-function-declaration] 1189 | rl_initialize_funmap (); | ^~~~~~~~~~~~~~~~~~~~ | rl_initialize readline.c:1192:3: warning: implicit declaration of function 'rl_read_init_file'; did you mean 'rl_re_read_init_file'? [-Wimplicit-function-declaration] 1192 | rl_read_init_file ((char *)NULL); | ^~~~~~~~~~~~~~~~~ | rl_re_read_init_file readline.c: At top level: readline.c:1208:1: warning: return type defaults to 'int' [-Wimplicit-int] 1208 | readline_default_bindings () | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:1313:1: warning: return type defaults to 'int' [-Wimplicit-int] 1313 | rl_digit_argument (ignore, key) | ^~~~~~~~~~~~~~~~~ readline.c:1321:1: warning: return type defaults to 'int' [-Wimplicit-int] 1321 | rl_discard_argument () | ^~~~~~~~~~~~~~~~~~~ readline.c:1329:1: warning: return type defaults to 'int' [-Wimplicit-int] 1329 | rl_init_argument () | ^~~~~~~~~~~~~~~~ readline.c:1338:1: warning: return type defaults to 'int' [-Wimplicit-int] 1338 | rl_universal_argument () | ^~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_digit_loop': readline.c:1349:7: warning: implicit declaration of function 'rl_message' [-Wimplicit-function-declaration] 1349 | rl_message ("(arg: %d) ", rl_arg_sign * rl_numeric_arg); | ^~~~~~~~~~ readline.c:1359:11: warning: implicit declaration of function 'numeric' [-Wimplicit-function-declaration] 1359 | if (numeric (c)) | ^~~~~~~ readline.c: In function 'rl_redisplay': readline.c:1627:19: warning: implicit declaration of function 'clear_to_eol' [-Wimplicit-function-declaration] 1627 | clear_to_eol ((linenum == vis_botlin)? | ^~~~~~~~~~~~ readline.c: At top level: readline.c:1820:1: warning: return type defaults to 'int' [-Wimplicit-int] 1820 | rl_on_new_line () | ^~~~~~~~~~~~~~ readline.c:1830:1: warning: return type defaults to 'int' [-Wimplicit-int] 1830 | rl_forced_update_display () | ^~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'move_cursor_relative': readline.c:1857:26: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 1857 | tputs (term_cr, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() In file included from readline.c:43: /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c:1889:5: warning: implicit declaration of function 'backspace' [-Wimplicit-function-declaration] 1889 | backspace (last_c_pos - new); | ^~~~~~~~~ readline.c: In function 'move_vert': readline.c:1908:26: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 1908 | tputs (term_cr, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c:1915:30: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 1915 | tputs (term_up, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:1922:1: warning: return type defaults to 'int' [-Wimplicit-int] 1922 | rl_show_char (c) | ^~~~~~~~~~~~ readline.c:1977:1: warning: return type defaults to 'int' [-Wimplicit-int] 1977 | rl_message (string, arg1, arg2) | ^~~~~~~~~~ readline.c: In function 'rl_message': readline.c:1977:1: warning: type of 'arg1' defaults to 'int' [-Wimplicit-int] readline.c:1977:1: warning: type of 'arg2' defaults to 'int' [-Wimplicit-int] readline.c: At top level: readline.c:1986:1: warning: return type defaults to 'int' [-Wimplicit-int] 1986 | rl_clear_message () | ^~~~~~~~~~~~~~~~ readline.c:2033:1: warning: return type defaults to 'int' [-Wimplicit-int] 2033 | rl_reset_terminal (terminal_name) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'init_terminal_io': readline.c:2102:7: warning: implicit declaration of function 'ioctl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] 2102 | if (ioctl (tty, TIOCGWINSZ, &window_size) == 0) | ^~~~~ | iscntrl readline.c: In function 'delete_chars': readline.c:2188:25: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2188 | tputs (buffer, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c:2194:30: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2194 | tputs (term_dc, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:2200:1: warning: return type defaults to 'int' [-Wimplicit-int] 2200 | insert_some_chars (string, count) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'insert_some_chars': readline.c:2209:25: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2209 | tputs (buffer, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c:2218:28: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2218 | tputs (term_im, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c:2225:32: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2225 | tputs (term_ic, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c:2234:28: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2234 | tputs (term_ei, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:2239:1: warning: return type defaults to 'int' [-Wimplicit-int] 2239 | backspace (count) | ^~~~~~~~~ readline.c: In function 'backspace': readline.c:2246:33: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2246 | tputs (term_backspace, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:2253:1: warning: return type defaults to 'int' [-Wimplicit-int] 2253 | crlf () | ^~~~ readline.c:2263:1: warning: return type defaults to 'int' [-Wimplicit-int] 2263 | clear_to_eol (count) | ^~~~~~~~~~~~ readline.c: In function 'clear_to_eol': readline.c:2268:30: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2268 | tputs (term_clreol, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: In function 'ding': readline.c:2680:33: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 2680 | tputs (visible_bell, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:2691:1: warning: return type defaults to 'int' [-Wimplicit-int] 2691 | rl_abort () | ^~~~~~~~ readline.c:2758:1: warning: return type defaults to 'int' [-Wimplicit-int] 2758 | rl_insert_text (string) | ^~~~~~~~~~~~~~ readline.c: In function 'rl_insert_text': readline.c:2782:9: warning: implicit declaration of function 'rl_add_undo' [-Wimplicit-function-declaration] 2782 | rl_add_undo (UNDO_INSERT, rl_point, rl_point + l, (char *)NULL); | ^~~~~~~~~~~ readline.c: At top level: readline.c:2791:1: warning: return type defaults to 'int' [-Wimplicit-int] 2791 | rl_delete_text (from, to) | ^~~~~~~~~~~~~~ readline.c:2853:1: warning: return type defaults to 'int' [-Wimplicit-int] 2853 | rl_forward (count) | ^~~~~~~~~~ readline.c:2878:1: warning: return type defaults to 'int' [-Wimplicit-int] 2878 | rl_backward (count) | ^~~~~~~~~~~ readline.c:2899:1: warning: return type defaults to 'int' [-Wimplicit-int] 2899 | rl_beg_of_line () | ^~~~~~~~~~~~~~ readline.c:2905:1: warning: return type defaults to 'int' [-Wimplicit-int] 2905 | rl_end_of_line () | ^~~~~~~~~~~~~~ readline.c:2911:1: warning: return type defaults to 'int' [-Wimplicit-int] 2911 | rl_forward_word (count) | ^~~~~~~~~~~~~~~ readline.c:2950:1: warning: return type defaults to 'int' [-Wimplicit-int] 2950 | rl_backward_word (count) | ^~~~~~~~~~~~~~~~ readline.c:2992:1: warning: return type defaults to 'int' [-Wimplicit-int] 2992 | rl_refresh_line () | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_refresh_line': readline.c:3001:28: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 3001 | tputs (term_clreol, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:3010:1: warning: return type defaults to 'int' [-Wimplicit-int] 3010 | rl_clear_screen () | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_clear_screen': readline.c:3021:28: warning: passing argument 3 of 'tputs' from incompatible pointer type [-Wincompatible-pointer-types] 3021 | tputs (term_clrpag, 1, output_character_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)() /usr/include/termcap.h:40:42: note: expected 'int (*)(int)' but argument is of type 'void (*)()' 40 | int tputs(const char *, int, int (*)(int)); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:3030:1: warning: return type defaults to 'int' [-Wimplicit-int] 3030 | rl_arrow_keys (count, c) | ^~~~~~~~~~~~~ readline.c:3068:1: warning: return type defaults to 'int' [-Wimplicit-int] 3068 | rl_insert (count, c) | ^~~~~~~~~ readline.c:3146:1: warning: return type defaults to 'int' [-Wimplicit-int] 3146 | rl_quoted_insert (count) | ^~~~~~~~~~~~~~~~ readline.c:3162:1: warning: return type defaults to 'int' [-Wimplicit-int] 3162 | rl_tab_insert (count) | ^~~~~~~~~~~~~ readline.c:3171:1: warning: return type defaults to 'int' [-Wimplicit-int] 3171 | rl_newline (count, key) | ^~~~~~~~~~ readline.c: In function 'rl_newline': readline.c:3182:9: warning: implicit declaration of function 'rl_end_undo_group' [-Wimplicit-function-declaration] 3182 | rl_end_undo_group (); | ^~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:3198:1: warning: return type defaults to 'int' [-Wimplicit-int] 3198 | rl_clean_up_for_exit () | ^~~~~~~~~~~~~~~~~~~~ readline.c:3213:1: warning: return type defaults to 'int' [-Wimplicit-int] 3213 | rl_do_lowercase_version (ignore1, ignore2) | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:3219:1: warning: return type defaults to 'int' [-Wimplicit-int] 3219 | rl_rubout (count) | ^~~~~~~~~ readline.c: In function 'rl_rubout': readline.c:3239:7: warning: implicit declaration of function 'rl_kill_text'; did you mean 'rl_kill_word'? [-Wimplicit-function-declaration] 3239 | rl_kill_text (orig_point, rl_point); | ^~~~~~~~~~~~ | rl_kill_word readline.c: At top level: readline.c:3262:1: warning: return type defaults to 'int' [-Wimplicit-int] 3262 | rl_delete (count, invoking_key) | ^~~~~~~~~ readline.c:3302:1: warning: return type defaults to 'int' [-Wimplicit-int] 3302 | rl_unix_word_rubout () | ^~~~~~~~~~~~~~~~~~~ readline.c:3321:1: warning: return type defaults to 'int' [-Wimplicit-int] 3321 | rl_unix_line_discard () | ^~~~~~~~~~~~~~~~~~~~ readline.c:3352:1: warning: return type defaults to 'int' [-Wimplicit-int] 3352 | rl_upcase_word (count) | ^~~~~~~~~~~~~~ readline.c: In function 'rl_upcase_word': readline.c:3355:3: warning: implicit declaration of function 'rl_change_case'; did you mean 'rl_vi_change_case'? [-Wimplicit-function-declaration] 3355 | rl_change_case (count, UpCase); | ^~~~~~~~~~~~~~ | rl_vi_change_case readline.c: At top level: readline.c:3359:1: warning: return type defaults to 'int' [-Wimplicit-int] 3359 | rl_downcase_word (count) | ^~~~~~~~~~~~~~~~ readline.c:3366:1: warning: return type defaults to 'int' [-Wimplicit-int] 3366 | rl_capitalize_word (count) | ^~~~~~~~~~~~~~~~~~ readline.c:3377:1: warning: return type defaults to 'int' [-Wimplicit-int] 3377 | rl_change_case (count, op) | ^~~~~~~~~~~~~~ readline.c: In function 'rl_change_case': readline.c:3394:3: warning: implicit declaration of function 'rl_modifying' [-Wimplicit-function-declaration] 3394 | rl_modifying (start, end); | ^~~~~~~~~~~~ readline.c: At top level: readline.c:3436:1: warning: return type defaults to 'int' [-Wimplicit-int] 3436 | rl_transpose_words (count) | ^~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_transpose_words': readline.c:3469:3: warning: implicit declaration of function 'rl_begin_undo_group' [-Wimplicit-function-declaration] 3469 | rl_begin_undo_group (); | ^~~~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:3493:1: warning: return type defaults to 'int' [-Wimplicit-int] 3493 | rl_transpose_chars (count) | ^~~~~~~~~~~~~~~~~~ readline.c:3541:1: warning: return type defaults to 'int' [-Wimplicit-int] 3541 | rl_restart_output (count, key) | ^~~~~~~~~~~~~~~~~ readline.c:3563:1: warning: return type defaults to 'int' [-Wimplicit-int] 3563 | rl_stop_output (count, key) | ^~~~~~~~~~~~~~ readline.c:3612:1: warning: return type defaults to 'int' [-Wimplicit-int] 3612 | rl_complete (ignore, invoking_key) | ^~~~~~~~~~~ readline.c: In function 'rl_complete': readline.c:3616:5: warning: implicit declaration of function 'rl_complete_internal' [-Wimplicit-function-declaration] 3616 | rl_complete_internal ('?'); | ^~~~~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:3622:1: warning: return type defaults to 'int' [-Wimplicit-int] 3622 | rl_possible_completions () | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:3628:1: warning: return type defaults to 'int' [-Wimplicit-int] 3628 | get_y_or_n () | ^~~~~~~~~~ readline.c:3683:1: warning: return type defaults to 'int' [-Wimplicit-int] 3683 | rl_complete_internal (what_to_do) | ^~~~~~~~~~~~~~~~~~~~ readline.c:4135:1: warning: return type defaults to 'int' [-Wimplicit-int] 4135 | rl_add_undo (what, start, end, text) | ^~~~~~~~~~~ readline.c:4150:1: warning: return type defaults to 'int' [-Wimplicit-int] 4150 | free_undo_list () | ^~~~~~~~~~~~~~ readline.c:4222:1: warning: return type defaults to 'int' [-Wimplicit-int] 4222 | rl_begin_undo_group () | ^~~~~~~~~~~~~~~~~~~ readline.c:4228:1: warning: return type defaults to 'int' [-Wimplicit-int] 4228 | rl_end_undo_group () | ^~~~~~~~~~~~~~~~~ readline.c:4234:1: warning: return type defaults to 'int' [-Wimplicit-int] 4234 | rl_modifying (start, end) | ^~~~~~~~~~~~ readline.c:4255:1: warning: return type defaults to 'int' [-Wimplicit-int] 4255 | rl_revert_line () | ^~~~~~~~~~~~~~ readline.c:4265:1: warning: return type defaults to 'int' [-Wimplicit-int] 4265 | rl_undo_command (count) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_undo_command': readline.c:4265:1: warning: type of 'count' defaults to 'int' [-Wimplicit-int] readline.c: At top level: readline.c:4299:1: warning: return type defaults to 'int' [-Wimplicit-int] 4299 | start_using_history () | ^~~~~~~~~~~~~~~~~~~ readline.c:4318:1: warning: return type defaults to 'int' [-Wimplicit-int] 4318 | maybe_replace_line () | ^~~~~~~~~~~~~~~~~~ readline.c:4332:1: warning: return type defaults to 'int' [-Wimplicit-int] 4332 | maybe_unsave_line () | ^~~~~~~~~~~~~~~~~ readline.c:4354:1: warning: return type defaults to 'int' [-Wimplicit-int] 4354 | maybe_save_line () | ^~~~~~~~~~~~~~~ readline.c:4371:1: warning: return type defaults to 'int' [-Wimplicit-int] 4371 | rl_beginning_of_history () | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:4377:1: warning: return type defaults to 'int' [-Wimplicit-int] 4377 | rl_end_of_history () | ^~~~~~~~~~~~~~~~~ readline.c:4385:1: warning: return type defaults to 'int' [-Wimplicit-int] 4385 | rl_get_next_history (count) | ^~~~~~~~~~~~~~~~~~~ readline.c:4433:1: warning: return type defaults to 'int' [-Wimplicit-int] 4433 | rl_get_previous_history (count) | ^~~~~~~~~~~~~~~~~~~~~~~ readline.c:4501:1: warning: return type defaults to 'int' [-Wimplicit-int] 4501 | rl_reverse_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_reverse_search_history': readline.c:4505:3: warning: implicit declaration of function 'rl_search_history'; did you mean 'read_history'? [-Wimplicit-function-declaration] 4505 | rl_search_history (-sign, key); | ^~~~~~~~~~~~~~~~~ | read_history readline.c: At top level: readline.c:4510:1: warning: return type defaults to 'int' [-Wimplicit-int] 4510 | rl_forward_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ readline.c:4522:1: warning: return type defaults to 'int' [-Wimplicit-int] 4522 | rl_display_search (search_string, reverse_p, where) | ^~~~~~~~~~~~~~~~~ readline.c:4557:1: warning: return type defaults to 'int' [-Wimplicit-int] 4557 | rl_search_history (direction, invoking_key) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'rl_search_history': readline.c:4681:15: warning: implicit declaration of function 'rl_execute_next'; did you mean 'rl_delete_text'? [-Wimplicit-function-declaration] 4681 | rl_execute_next (c); | ^~~~~~~~~~~~~~~ | rl_delete_text readline.c: At top level: readline.c:4816:1: warning: return type defaults to 'int' [-Wimplicit-int] 4816 | rl_execute_next (c) | ^~~~~~~~~~~~~~~ readline.c:4845:1: warning: return type defaults to 'int' [-Wimplicit-int] 4845 | rl_set_retained_kills (num) | ^~~~~~~~~~~~~~~~~~~~~ readline.c:4854:1: warning: return type defaults to 'int' [-Wimplicit-int] 4854 | rl_kill_text (from, to) | ^~~~~~~~~~~~ readline.c:4950:1: warning: return type defaults to 'int' [-Wimplicit-int] 4950 | rl_kill_word (count) | ^~~~~~~~~~~~ readline.c:4969:1: warning: return type defaults to 'int' [-Wimplicit-int] 4969 | rl_backward_kill_word (count) | ^~~~~~~~~~~~~~~~~~~~~ readline.c:4987:1: warning: return type defaults to 'int' [-Wimplicit-int] 4987 | rl_kill_line (direction) | ^~~~~~~~~~~~ readline.c:5005:1: warning: return type defaults to 'int' [-Wimplicit-int] 5005 | rl_backward_kill_line (direction) | ^~~~~~~~~~~~~~~~~~~~~ readline.c:5025:1: warning: return type defaults to 'int' [-Wimplicit-int] 5025 | rl_yank () | ^~~~~~~ readline.c:5035:1: warning: return type defaults to 'int' [-Wimplicit-int] 5035 | rl_yank_pop () | ^~~~~~~~~~~ readline.c:5063:1: warning: return type defaults to 'int' [-Wimplicit-int] 5063 | rl_yank_nth_arg (count, ignore) | ^~~~~~~~~~~~~~~ readline.c: In function 'rl_yank_nth_arg': readline.c:5063:1: warning: type of 'ignore' defaults to 'int' [-Wimplicit-int] readline.c: At top level: readline.c:5104:1: warning: return type defaults to 'int' [-Wimplicit-int] 5104 | rl_vi_editing_mode () | ^~~~~~~~~~~~~~~~~~ readline.c:5112:1: warning: return type defaults to 'int' [-Wimplicit-int] 5112 | rl_emacs_editing_mode () | ^~~~~~~~~~~~~~~~~~~~~ readline.c:5353:1: warning: return type defaults to 'int' [-Wimplicit-int] 5353 | rl_add_defun (name, function, key) | ^~~~~~~~~~~~ readline.c: In function 'rl_add_defun': readline.c:5359:5: warning: implicit declaration of function 'rl_bind_key'; did you mean 'rl_read_key'? [-Wimplicit-function-declaration] 5359 | rl_bind_key (key, function); | ^~~~~~~~~~~ | rl_read_key readline.c:5360:3: warning: implicit declaration of function 'rl_add_funmap_entry' [-Wimplicit-function-declaration] 5360 | rl_add_funmap_entry (name, function); | ^~~~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:5430:1: warning: return type defaults to 'int' [-Wimplicit-int] 5430 | rl_set_key (keyseq, function, map) | ^~~~~~~~~~ readline.c: In function 'rl_set_key': readline.c:5435:3: warning: implicit declaration of function 'rl_generic_bind' [-Wimplicit-function-declaration] 5435 | rl_generic_bind (ISFUNC, keyseq, function, map); | ^~~~~~~~~~~~~~~ readline.c: At top level: readline.c:5441:1: warning: return type defaults to 'int' [-Wimplicit-int] 5441 | rl_macro_bind (keyseq, macro, map) | ^~~~~~~~~~~~~ readline.c: In function 'rl_macro_bind': readline.c:5450:7: warning: implicit declaration of function 'rl_translate_keyseq' [-Wimplicit-function-declaration] 5450 | if (rl_translate_keyseq (macro, macro_keys, ¯o_keys_len)) | ^~~~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:5464:1: warning: return type defaults to 'int' [-Wimplicit-int] 5464 | rl_generic_bind (type, keyseq, data, map) | ^~~~~~~~~~~~~~~ readline.c:5520:1: warning: return type defaults to 'int' [-Wimplicit-int] 5520 | rl_translate_keyseq (seq, array, len) | ^~~~~~~~~~~~~~~~~~~ readline.c:5599:1: warning: return type defaults to 'int' [-Wimplicit-int] 5599 | rl_re_read_init_file (count, ignore) | ^~~~~~~~~~~~~~~~~~~~ readline.c: In function 'rl_read_init_file': readline.c:5656:9: warning: implicit declaration of function 'rl_parse_and_bind' [-Wimplicit-function-declaration] 5656 | rl_parse_and_bind (line); | ^~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:5681:1: warning: return type defaults to 'int' [-Wimplicit-int] 5681 | parser_if (args) | ^~~~~~~~~ readline.c:5755:1: warning: return type defaults to 'int' [-Wimplicit-int] 5755 | parser_else (args) | ^~~~~~~~~~~ readline.c:5779:1: warning: return type defaults to 'int' [-Wimplicit-int] 5779 | parser_endif (args) | ^~~~~~~~~~~~ readline.c:5847:1: warning: return type defaults to 'int' [-Wimplicit-int] 5847 | rl_parse_and_bind (string) | ^~~~~~~~~~~~~~~~~ readline.c: In function 'rl_parse_and_bind': readline.c:5907:7: warning: implicit declaration of function 'rl_variable_bind' [-Wimplicit-function-declaration] 5907 | rl_variable_bind (var, value); | ^~~~~~~~~~~~~~~~ readline.c:5978:9: warning: implicit declaration of function 'glean_key_from_name' [-Wimplicit-function-declaration] 5978 | key = glean_key_from_name (kname); | ^~~~~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:6015:1: warning: return type defaults to 'int' [-Wimplicit-int] 6015 | rl_variable_bind (name, value) | ^~~~~~~~~~~~~~~~ readline.c: In function 'strnicmp': readline.c:6366:1: warning: type of 'count' defaults to 'int' [-Wimplicit-int] 6366 | strnicmp (string1, string2, count) | ^~~~~~~~ readline.c: At top level: readline.c:6558:1: warning: return type defaults to 'int' [-Wimplicit-int] 6558 | rl_redraw() | ^~~~~~~~~ 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: return type defaults to 'int' [-Wimplicit-int] 104 | rl_vi_yank_arg (count) | ^~~~~~~~~~~~~~ vi_mode.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] 117 | rl_vi_fetch_history (count, c) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c:141:1: warning: return type defaults to 'int' [-Wimplicit-int] 141 | rl_vi_search_again (ignore, key) | ^~~~~~~~~~~~~~~~~~ vi_mode.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] 157 | rl_vi_search (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_search': vi_mode.c:179:3: warning: implicit declaration of function 'maybe_save_line' [-Wimplicit-function-declaration] 179 | maybe_save_line (); | ^~~~~~~~~~~~~~~ vi_mode.c:189:3: warning: implicit declaration of function 'rl_message' [-Wimplicit-function-declaration] 189 | rl_message (p, 0, 0); | ^~~~~~~~~~ vi_mode.c:191:14: warning: implicit declaration of function 'rl_read_key'; did you mean 'rl_arrow_keys'? [-Wimplicit-function-declaration] 191 | while (c = rl_read_key ()) | ^~~~~~~~~~~ | rl_arrow_keys vi_mode.c:199:15: warning: implicit declaration of function 'maybe_unsave_line' [-Wimplicit-function-declaration] 199 | maybe_unsave_line (); | ^~~~~~~~~~~~~~~~~ vi_mode.c:200:15: warning: implicit declaration of function 'rl_clear_message' [-Wimplicit-function-declaration] 200 | rl_clear_message (); | ^~~~~~~~~~~~~~~~ vi_mode.c:207:11: warning: implicit declaration of function 'rl_dispatch'; did you mean 'rl_vi_match'? [-Wimplicit-function-declaration] 207 | rl_dispatch (c, keymap); | ^~~~~~~~~~~ | rl_vi_match vi_mode.c:231:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 231 | free (vi_last_search); | ^~~~ vi_mode.c:45:1: note: include '' or provide a declaration of 'free' 44 | #include "history.h" +++ |+#include 45 | vi_mode.c:231:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 231 | free (vi_last_search); | ^~~~ vi_mode.c:231:5: note: include '' or provide a declaration of 'free' vi_mode.c: In function 'vi_history_search_pos': vi_mode.c:253:11: warning: implicit declaration of function 'history_search_prefix'; did you mean 'history_search_pos'? [-Wimplicit-function-declaration] 253 | ret = history_search_prefix (string + 1, dir); | ^~~~~~~~~~~~~~~~~~~~~ | history_search_pos vi_mode.c: At top level: vi_mode.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] 268 | rl_vi_dosearch (string, dir) | ^~~~~~~~~~~~~~ vi_mode.c:313:1: warning: return type defaults to 'int' [-Wimplicit-int] 313 | rl_vi_complete (ignore, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_complete': vi_mode.c:324:5: warning: implicit declaration of function 'rl_complete_internal' [-Wimplicit-function-declaration] 324 | rl_complete_internal ('*'); /* Expansion and replacement. */ | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:334:1: warning: return type defaults to 'int' [-Wimplicit-int] 334 | rl_vi_prev_word (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c:357:1: warning: return type defaults to 'int' [-Wimplicit-int] 357 | rl_vi_next_word (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_next_word': vi_mode.c:357:1: warning: type of 'key' defaults to 'int' [-Wimplicit-int] vi_mode.c: At top level: vi_mode.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] 380 | rl_vi_end_word (count, key) | ^~~~~~~~~~~~~~ vi_mode.c:397:1: warning: return type defaults to 'int' [-Wimplicit-int] 397 | rl_vi_fWord (count) | ^~~~~~~~~~~ vi_mode.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int] 412 | rl_vi_bWord (count) | ^~~~~~~~~~~ vi_mode.c:434:1: warning: return type defaults to 'int' [-Wimplicit-int] 434 | rl_vi_eWord (count) | ^~~~~~~~~~~ vi_mode.c:462:1: warning: return type defaults to 'int' [-Wimplicit-int] 462 | rl_vi_fword (count) | ^~~~~~~~~~~ vi_mode.c:486:1: warning: return type defaults to 'int' [-Wimplicit-int] 486 | rl_vi_bword (count) | ^~~~~~~~~~~ vi_mode.c:523:1: warning: return type defaults to 'int' [-Wimplicit-int] 523 | rl_vi_eword (count) | ^~~~~~~~~~~ vi_mode.c:546:1: warning: return type defaults to 'int' [-Wimplicit-int] 546 | rl_vi_insert_beg () | ^~~~~~~~~~~~~~~~ vi_mode.c:553:1: warning: return type defaults to 'int' [-Wimplicit-int] 553 | rl_vi_append_mode () | ^~~~~~~~~~~~~~~~~ vi_mode.c:561:1: warning: return type defaults to 'int' [-Wimplicit-int] 561 | rl_vi_append_eol () | ^~~~~~~~~~~~~~~~ vi_mode.c:569:1: warning: return type defaults to 'int' [-Wimplicit-int] 569 | rl_vi_eof_maybe (count, c) | ^~~~~~~~~~~~~~~ vi_mode.c:579:1: warning: return type defaults to 'int' [-Wimplicit-int] 579 | rl_vi_insertion_mode () | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c:584:1: warning: return type defaults to 'int' [-Wimplicit-int] 584 | rl_vi_movement_mode () | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_movement_mode': vi_mode.c:590:3: warning: implicit declaration of function 'vi_done_inserting' [-Wimplicit-function-declaration] 590 | vi_done_inserting (); | ^~~~~~~~~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:593:1: warning: return type defaults to 'int' [-Wimplicit-int] 593 | vi_done_inserting () | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function 'vi_done_inserting': vi_mode.c:597:7: warning: implicit declaration of function 'rl_end_undo_group' [-Wimplicit-function-declaration] 597 | rl_end_undo_group (); | ^~~~~~~~~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] 602 | rl_vi_arg_digit (count, c) | ^~~~~~~~~~~~~~~ vi_mode.c:611:1: warning: return type defaults to 'int' [-Wimplicit-int] 611 | rl_vi_change_case (count, ignore) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_change_case': vi_mode.c:630:11: warning: implicit declaration of function 'rl_begin_undo_group' [-Wimplicit-function-declaration] 630 | rl_begin_undo_group (); | ^~~~~~~~~~~~~~~~~~~ vi_mode.c:634:11: warning: implicit declaration of function 'rl_vi_check' [-Wimplicit-function-declaration] 634 | rl_vi_check (); | ^~~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:642:1: warning: return type defaults to 'int' [-Wimplicit-int] 642 | rl_vi_put (count, key) | ^~~~~~~~~ vi_mode.c:652:1: warning: return type defaults to 'int' [-Wimplicit-int] 652 | rl_vi_check () | ^~~~~~~~~~~ vi_mode.c:658:1: warning: return type defaults to 'int' [-Wimplicit-int] 658 | rl_vi_column (count) | ^~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_column': vi_mode.c:658:1: warning: type of 'count' defaults to 'int' [-Wimplicit-int] vi_mode.c: In function 'rl_vi_domove': vi_mode.c:684:11: warning: implicit declaration of function 'rl_digit_loop1' [-Wimplicit-function-declaration] 684 | rl_digit_loop1 (); | ^~~~~~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:743:1: warning: return type defaults to 'int' [-Wimplicit-int] 743 | rl_digit_loop1 () | ^~~~~~~~~~~~~~ vi_mode.c: In function 'rl_digit_loop1': vi_mode.c:760:11: warning: implicit declaration of function 'numeric' [-Wimplicit-function-declaration] 760 | if (numeric (c)) | ^~~~~~~ vi_mode.c:771:11: warning: implicit declaration of function 'rl_stuff_char' [-Wimplicit-function-declaration] 771 | rl_stuff_char (key); | ^~~~~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:777:1: warning: return type defaults to 'int' [-Wimplicit-int] 777 | rl_vi_delete_to (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_delete_to': vi_mode.c:794:3: warning: implicit declaration of function 'rl_kill_text'; did you mean 'rl_kill_word'? [-Wimplicit-function-declaration] 794 | rl_kill_text (rl_point, rl_mark); | ^~~~~~~~~~~~ | rl_kill_word vi_mode.c: At top level: vi_mode.c:798:1: warning: return type defaults to 'int' [-Wimplicit-int] 798 | rl_vi_change_to (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c:822:1: warning: return type defaults to 'int' [-Wimplicit-int] 822 | rl_vi_yank_to (count, key) | ^~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_yank_to': vi_mode.c:842:3: warning: implicit declaration of function 'rl_do_undo' [-Wimplicit-function-declaration] 842 | rl_do_undo (); | ^~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:847:1: warning: return type defaults to 'int' [-Wimplicit-int] 847 | rl_vi_delete (count) | ^~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_delete': vi_mode.c:847:1: warning: type of 'count' defaults to 'int' [-Wimplicit-int] vi_mode.c: At top level: vi_mode.c:871:1: warning: return type defaults to 'int' [-Wimplicit-int] 871 | rl_vi_comment () | ^~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_comment': vi_mode.c:876:5: warning: implicit declaration of function 'rl_insert_text'; did you mean 'rl_insert'? [-Wimplicit-function-declaration] 876 | rl_insert_text (rl_vi_comment_begin); | ^~~~~~~~~~~~~~ | rl_insert vi_mode.c: At top level: vi_mode.c:884:1: warning: return type defaults to 'int' [-Wimplicit-int] 884 | rl_vi_first_print () | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_first_print': vi_mode.c:886:3: warning: implicit declaration of function 'rl_back_to_indent' [-Wimplicit-function-declaration] 886 | rl_back_to_indent (); | ^~~~~~~~~~~~~~~~~ vi_mode.c: At top level: vi_mode.c:889:1: warning: return type defaults to 'int' [-Wimplicit-int] 889 | rl_back_to_indent (ignore1, ignore2) | ^~~~~~~~~~~~~~~~~ vi_mode.c:903:1: warning: return type defaults to 'int' [-Wimplicit-int] 903 | rl_vi_char_search (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_char_search': vi_mode.c:914:16: warning: implicit declaration of function 'rl_getc' [-Wimplicit-function-declaration] 914 | target = rl_getc (rl_instream); | ^~~~~~~ vi_mode.c: At top level: vi_mode.c:1001:1: warning: return type defaults to 'int' [-Wimplicit-int] 1001 | rl_vi_match () | ^~~~~~~~~~~ vi_mode.c:1080:1: warning: return type defaults to 'int' [-Wimplicit-int] 1080 | rl_vi_change_char (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c:1104:1: warning: return type defaults to 'int' [-Wimplicit-int] 1104 | rl_vi_subst (count, key) | ^~~~~~~~~~~ vi_mode.c:1121:1: warning: return type defaults to 'int' [-Wimplicit-int] 1121 | rl_vi_overstrike (count, key) | ^~~~~~~~~~~~~~~~ vi_mode.c:1149:1: warning: return type defaults to 'int' [-Wimplicit-int] 1149 | rl_vi_overstrike_delete (count) | ^~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c:1178:1: warning: return type defaults to 'int' [-Wimplicit-int] 1178 | rl_vi_replace (count, key) | ^~~~~~~~~~~~~ vi_mode.c:1213:1: warning: return type defaults to 'int' [-Wimplicit-int] 1213 | rl_vi_possible_completions() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include history.c history.c: In function 'add_history': history.c:163:11: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 163 | free (the_history[0]->line); | ^~~~ history.c:52:1: note: include '' or provide a declaration of 'free' 51 | #include "history.h" +++ |+#include 52 | history.c:163:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 163 | free (the_history[0]->line); | ^~~~ history.c:163:11: note: include '' or provide a declaration of 'free' history.c: In function 'stifle_history': history.c:389:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 389 | free (the_history[i]->line); | ^~~~ history.c:389:11: note: include '' or provide a declaration of 'free' history.c: In function 'read_history_range': history.c:481:7: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 481 | if (read (file, buffer, finfo.st_size) != finfo.st_size) | ^~~~ | fread history.c:485:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 485 | close (file); | ^~~~~ | pclose history.c:488:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 488 | free (buffer); | ^~~~ history.c:488:9: note: include '' or provide a declaration of 'free' history.c: At top level: history.c:536:1: warning: return type defaults to 'int' [-Wimplicit-int] 536 | history_truncate_file (fname, lines) | ^~~~~~~~~~~~~~~~~~~~~ history.c: In function 'history_truncate_file': history.c:584:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 584 | write (file, buffer + i, finfo.st_size - i); | ^~~~~ | fwrite history.c:589:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 589 | free (buffer); | ^~~~ history.c:589:5: note: include '' or provide a declaration of 'free' history.c:591:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 591 | free (filename); | ^~~~ history.c:591:3: note: include '' or provide a declaration of 'free' history.c: In function 'get_history_event': history.c:887:15: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 887 | free (search_string); | ^~~~ history.c:887:15: note: include '' or provide a declaration of 'free' history.c: In function 'history_expand': history.c:973:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 973 | free (result); | ^~~~ history.c:973:3: note: include '' or provide a declaration of 'free' history.c: In function 'history_arg_extract': history.c:1440:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1440 | free (list[i]); | ^~~~ history.c:1440:5: note: include '' or provide a declaration of 'free' history.c:1442:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1442 | free (list); | ^~~~ history.c:1442:3: note: include '' or provide a declaration of 'free' 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: return type defaults to 'int' [-Wimplicit-int] 141 | rl_add_funmap_entry (name, function) | ^~~~~~~~~~~~~~~~~~~ funmap.c:162:1: warning: return type defaults to 'int' [-Wimplicit-int] 162 | rl_initialize_funmap () | ^~~~~~~~~~~~~~~~~~~~ funmap.c: In function 'rl_funmap_names': funmap.c:214:3: warning: implicit declaration of function 'qsort' [-Wimplicit-function-declaration] 214 | qsort (result, result_index, sizeof (char *), qsort_string_compare); | ^~~~~ cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -I/usr/include keymaps.c keymaps.c: In function 'rl_make_keymap': keymaps.c:89:10: warning: type defaults to 'int' in declaration of 'rl_insert' [-Wimplicit-int] 89 | extern rl_insert (), rl_rubout (); | ^~~~~~~~~ keymaps.c:89:24: warning: type defaults to 'int' in declaration of 'rl_rubout' [-Wimplicit-int] 89 | extern rl_insert (), rl_rubout (); | ^~~~~~~~~ keymaps.c: At top level: keymaps.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] 107 | rl_discard_keymap (map) | ^~~~~~~~~~~~~~~~~ keymaps.c: In function 'rl_discard_keymap': keymaps.c:127:11: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 127 | free ((char *)map[i].function); | ^~~~ keymaps.c:27:1: note: include '' or provide a declaration of 'free' 26 | #include "vi_keymap.c" +++ |+#include 27 | #endif keymaps.c:127:11: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 127 | free ((char *)map[i].function); | ^~~~ keymaps.c:127:11: note: include '' or provide a declaration of 'free' 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 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 -q: invalid option -- . Usage: ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin ] [member-name] [count] archive-file file... ar -M [ ] - specify the dependencies of this library [S] - do not build a symbol table [T] - deprecated, use --thin instead [v] - be verbose [V] - display the version number @ - read options from --target=BFDNAME - specify the target object format as BFDNAME --output=DIRNAME - specify the output directory for extraction operations --record-libdeps= - specify the dependencies of this library --thin - make a thin archive optional: --plugin

- load the specified plugin emulation options: No emulation specific options ar: supported targets: elf32-i386 elf32-iamcu coff-i386 pei-i386 elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin *** Error code 1 Stop. make[1]: stopped making "all" in /pbulk/work/chat/icb/work/icb-5.0.9/readline Making in icb make[1]: warning: Invalid internal option "-J" in "/pbulk/work/chat/icb/work/icb-5.0.9/icb"; see the manual page in make[1] in directory "/pbulk/work/chat/icb/work/icb-5.0.9/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 -o c_hclear.o In file included from protos.h:6, from icb.h:94, from c_hclear.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_hclear.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_hclear.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | c_hclear(TARGLIST) | ^~~~~~~~ c_hclear.c: In function 'c_hclear': c_hclear.c:17:9: warning: implicit declaration of function 'histclear' [-Wimplicit-function-declaration] 17 | histclear(); | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_hdel.c -o c_hdel.o In file included from protos.h:6, from icb.h:94, from c_hdel.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_hdel.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_hdel.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | c_hdel(TARGLIST) | ^~~~~~ c_hdel.c: In function 'c_hdel': c_hdel.c:18:17: warning: implicit declaration of function 'histdel'; did you mean 'histget'? [-Wimplicit-function-declaration] 18 | histdel(argv[1]); | ^~~~~~~ | histget cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_help.c -o c_help.o In file included from protos.h:6, from icb.h:94, from c_help.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_help.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_help.c:9:9: warning: type defaults to 'int' in declaration of 'helpkeys' [-Wimplicit-int] 9 | extern *helpkeys[], *helptopics[], **helptexts[]; | ^~~~~~~~ c_help.c:9:22: warning: type defaults to 'int' in declaration of 'helptopics' [-Wimplicit-int] 9 | extern *helpkeys[], *helptopics[], **helptexts[]; | ^~~~~~~~~~ c_help.c:9:38: warning: type defaults to 'int' in declaration of 'helptexts' [-Wimplicit-int] 9 | extern *helpkeys[], *helptopics[], **helptexts[]; | ^~~~~~~~~ c_help.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | c_help(TARGLIST) | ^~~~~~ c_help.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] 37 | helptoc() | ^~~~~~~ c_help.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] 67 | helpme(subject) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_hush.c -o c_hush.o In file included from protos.h:6, from icb.h:94, from c_hush.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_hush.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_hush.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | c_hush(TARGLIST) | ^~~~~~ c_hush.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] 29 | hushadd(interp, nick) | ^~~~~~~ c_hush.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] 57 | hushdelete(interp, nick) | ^~~~~~~~~~ c_hush.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] 104 | ishushed(nick) | ^~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_log.c -o c_log.o In file included from protos.h:6, from icb.h:94, from c_log.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_log.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_log.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] 13 | c_log(TARGLIST) | ^~~~~ c_log.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] 41 | startsessionlog(interp, path) | ^~~~~~~~~~~~~~~ c_log.c: In function 'startsessionlog': c_log.c:72:13: warning: implicit declaration of function 'fchmod' [-Wimplicit-function-declaration] 72 | if (fchmod((int)(fileno(logfp)), 0600) != 0) { | ^~~~~~ c_log.c: At top level: c_log.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] 133 | logging() | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_quit.c -o c_quit.o In file included from protos.h:6, from icb.h:94, from c_quit.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_quit.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_quit.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | c_quit(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_rand.c -o c_rand.o In file included from protos.h:6, from icb.h:94, from c_rand.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_rand.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_rand.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | c_rand(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_replay.c -o c_replay.o In file included from protos.h:6, from icb.h:94, from c_replay.c:4: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_replay.c:5: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_replay.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | c_replay(TARGLIST) | ^~~~~~~~ c_replay.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | bufferadd(text) | ^~~~~~~~~ c_replay.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] 127 | bufferlist(lines) | ^~~~~~~~~~ c_replay.c: In function 'bufferlist': c_replay.c:160:21: warning: implicit declaration of function 'bufmatch' [-Wimplicit-function-declaration] 160 | if (bufmatch(bp->str)) lines--; | ^~~~~~~~ c_replay.c: In function 'bufmatch': c_replay.c:176:5: warning: type of 'str' defaults to 'int' [-Wimplicit-int] 176 | int bufmatch(str) | ^~~~~~~~ c_replay.c:178:10: warning: passing argument 1 of 'bufparse' makes pointer from integer without a cast [-Wint-conversion] 178 | bufparse(str); | ^~~ | | | int c_replay.c:174:28: note: expected 'char *' but argument is of type 'int' 174 | static void bufparse(char *str); | ~~~~~~^~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_shell.c -o c_shell.o In file included from protos.h:6, from icb.h:94, from c_shell.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_shell.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_shell.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] 12 | c_shell(TARGLIST) | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_time.c -o c_time.o In file included from protos.h:6, from icb.h:94, from c_time.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_time.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_time.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int] 10 | c_time(TARGLIST) | ^~~~~~ c_time.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] 65 | printcutetime() | ^~~~~~~~~~~~~ c_time.c: In function 'printcutetime': c_time.c:90:14: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 90 | write(1, "(Ding-Dong!)\r\n\n", 15); | ^~~~~ | fwrite c_time.c: At top level: c_time.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] 102 | printnormaltime() | ^~~~~~~~~~~~~~~ c_time.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] 109 | printmilitarytime() | ^~~~~~~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_usage.c -o c_usage.o In file included from protos.h:6, from icb.h:94, from c_usage.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_usage.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_usage.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | c_usage(TARGLIST) | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c c_version.c -o c_version.o In file included from protos.h:6, from icb.h:94, from c_version.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from c_version.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ c_version.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | c_version(TARGLIST) | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c cute.c -o cute.o In file included from protos.h:6, from icb.h:94, from cute.c:5: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from cute.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ cute.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] 69 | saysomething() | ^~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c defprocs.c -o defprocs.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c dispatch.c -o dispatch.o In file included from protos.h:6, from icb.h:94, from dispatch.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from dispatch.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ dispatch.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | dispatch(pkt) | ^~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c oset.c -o oset.o In file included from protos.h:6, from icb.h:94, from oset.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from oset.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ oset.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] 51 | oset(TARGLIST) | ^~~~ oset.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | ounset(TARGLIST) | ^~~~~~ oset.c: In function 'ounset': oset.c:120:29: warning: implicit declaration of function 'unsetvar'; did you mean 'setvar'? [-Wimplicit-function-declaration] 120 | if (unsetvar(interp, vars[x].type, vars[x].address) < 0) | ^~~~~~~~ | setvar oset.c: At top level: oset.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] 136 | setvar(interp, type, address, s) | ^~~~~~ oset.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] 196 | unsetvar(interp, type, address) | ^~~~~~~~ oset.c:224:1: warning: return type defaults to 'int' [-Wimplicit-int] 224 | listvars(name) | ^~~~~~~~ oset.c:252:1: warning: return type defaults to 'int' [-Wimplicit-int] 252 | printvar(name, type, address) | ^~~~~~~~ oset.c:286:1: warning: return type defaults to 'int' [-Wimplicit-int] 286 | varsanity() | ^~~~~~~~~ oset.c: In function 'varsanity': oset.c:302:17: warning: implicit declaration of function 'rl_emacs_editing_mode' [-Wimplicit-function-declaration] 302 | rl_emacs_editing_mode(); | ^~~~~~~~~~~~~~~~~~~~~ oset.c:306:17: warning: implicit declaration of function 'rl_vi_editing_mode' [-Wimplicit-function-declaration] 306 | rl_vi_editing_mode(); | ^~~~~~~~~~~~~~~~~~ oset.c: At top level: oset.c:316:1: warning: return type defaults to 'int' [-Wimplicit-int] 316 | restricted() | ^~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. getline.c In file included from protos.h:6, from icb.h:94, from getline.c:2: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from getline.c:3: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ getline.c: In function 'get_line': getline.c:36:17: warning: implicit declaration of function 'add_history' [-Wimplicit-function-declaration] 36 | add_history (line_read); | ^~~~~~~~~~~ getline.c: In function 'handletab': getline.c:80:25: warning: implicit declaration of function 'rl_insert_text'; did you mean 'rl_insert'? [-Wimplicit-function-declaration] 80 | rl_insert_text(mpref); | ^~~~~~~~~~~~~~ | rl_insert cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c getswitch.c -o getswitch.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c globals.c -o globals.o In file included from protos.h:6, from icb.h:94, from globals.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c helpdata.c -o helpdata.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c history.c -o history.o In file included from protos.h:6, from icb.h:94, from history.c:4: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from history.c:5: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ history.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] 87 | histcount() | ^~~~~~~~~ history.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] 93 | histdel(name) | ^~~~~~~ history.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] 112 | histclear() | ^~~~~~~~~ history.c: In function 'histmatch': history.c:166:63: warning: implicit declaration of function 'ccasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] 166 | *p1 && *p2 && ccasecmp(*p1,*p2); | ^~~~~~~~ | strcasecmp cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c ipcf.c -o ipcf.o In file included from protos.h:6, from icb.h:94, from ipcf.c:16: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from ipcf.c:17: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -DDEFAULTHOST=\"crater.unm.edu\" -DDEFAULTPORT=7326 main.c In file included from protos.h:6, from icb.h:94, from main.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from main.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ main.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | main (argc, argv) | ^~~~ main.c: In function 'main': main.c:222:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 222 | write(2, icb_version, strlen(icb_version)); | ^~~~~ | fwrite main.c:227:17: warning: implicit declaration of function 'readlineinit' [-Wimplicit-function-declaration] 227 | readlineinit(); | ^~~~~~~~~~~~ main.c:262:13: warning: implicit declaration of function 'connecttoport' [-Wimplicit-function-declaration] 262 | if (connecttoport(myhost, myport) < 0) | ^~~~~~~~~~~~~ main.c:295:13: warning: implicit declaration of function 'clientserve' [-Wimplicit-function-declaration] 295 | if (clientserve() < 0) { | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c msgs.c -o msgs.o In file included from protos.h:6, from icb.h:94, from msgs.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from msgs.c:9: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ msgs.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] 103 | exitmsg() | ^~~~~~~ msgs.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] 160 | loginokmsg(pkt) | ^~~~~~~~~~ msgs.c: In function 'statusmsg': msgs.c:177:17: warning: implicit declaration of function 'regnick' [-Wimplicit-function-declaration] 177 | regnick((char *)0); | ^~~~~~~ msgs.c: At top level: msgs.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] 233 | cmdoutmsg(pkt) | ^~~~~~~~~ msgs.c:299:1: warning: return type defaults to 'int' [-Wimplicit-int] 299 | errormsg(pkt) | ^~~~~~~~ msgs.c: In function 'errormsg': msgs.c:321:25: warning: implicit declaration of function 'histdel'; did you mean 'histget'? [-Wimplicit-function-declaration] 321 | histdel(nick); | ^~~~~~~ | histget cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c parse.c -o parse.o In file included from protos.h:6, from icb.h:94, from parse.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from parse.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ parse.c: In function 'parse': parse.c:26:17: warning: implicit declaration of function 'send_default' [-Wimplicit-function-declaration] 26 | send_default(s,1); | ^~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c print.c -o print.o In file included from protos.h:6, from icb.h:94, from print.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from print.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ print.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] 15 | putl(s, flags) | ^~~~ print.c: In function 'putl': print.c:51:25: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 51 | write(1, timestamp, 8); | ^~~~~ | fwrite print.c: At top level: print.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] 73 | pauseprompt(prompt, Erase, c, unget, except) | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. readlineinit.c In file included from protos.h:6, from icb.h:94, from readlineinit.c:4: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from readlineinit.c:5: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ readlineinit.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | readlineinit() | ^~~~~~~~~~~~ readlineinit.c: In function 'readlineinit': readlineinit.c:19:1: warning: implicit declaration of function 'rl_bind_key_in_map' [-Wimplicit-function-declaration] 19 | rl_bind_key_in_map('\t', handletab, vi_insertion_keymap); | ^~~~~~~~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c register.c -o register.o In file included from protos.h:6, from icb.h:94, from register.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from register.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_admin.c -o s_admin.o In file included from protos.h:6, from icb.h:94, from s_admin.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_admin.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_admin.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_admin(TARGLIST) | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_beep.c -o s_beep.o In file included from protos.h:6, from icb.h:94, from s_beep.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_beep.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_beep.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_beep(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_bump.c -o s_bump.o In file included from protos.h:6, from icb.h:94, from s_bump.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_bump.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_bump.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] 12 | s_bump(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_chpw.c -o s_chpw.o In file included from protos.h:6, from icb.h:94, from s_chpw.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_chpw.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_chpw.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] 12 | s_chpw(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_group.c -o s_group.o In file included from protos.h:6, from icb.h:94, from s_group.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_group.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_group.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_group(TARGLIST) | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_motd.c -o s_motd.o In file included from protos.h:6, from icb.h:94, from s_motd.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_motd.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_motd.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_motd(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_open.c -o s_open.o In file included from protos.h:6, from icb.h:94, from s_open.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_open.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_open.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int] 10 | s_open(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_person.c -o s_person.o In file included from protos.h:6, from icb.h:94, from s_person.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_person.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_person.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | s_personal(TARGLIST) | ^~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_register.c -o s_register.o In file included from protos.h:6, from icb.h:94, from s_register.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_register.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_register.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_register(TARGLIST) | ^~~~~~~~~~ s_register.c: In function 's_register': s_register.c:20:17: warning: implicit declaration of function 'regnick' [-Wimplicit-function-declaration] 20 | regnick((char *)0); | ^~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_send.c -o s_send.o In file included from protos.h:6, from icb.h:94, from s_send.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_send.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_send.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int] 10 | s_send(TARGLIST) | ^~~~~~ s_send.c: In function 's_send': s_send.c:18:9: warning: implicit declaration of function 'send_default' [-Wimplicit-function-declaration] 18 | send_default(catargs(&argv[1]),0); | ^~~~~~~~~~~~ s_send.c: At top level: s_send.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] 22 | send_default(text,echoflag) | ^~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_user.c -o s_user.o In file included from protos.h:6, from icb.h:94, from s_user.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_user.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_user.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_user(TARGLIST) | ^~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_version.c -o s_version.o In file included from protos.h:6, from icb.h:94, from s_version.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_version.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_version.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_version(TARGLIST) | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c s_who.c -o s_who.o In file included from protos.h:6, from icb.h:94, from s_who.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from s_who.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ s_who.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | s_who(TARGLIST) | ^~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c send.c -o send.o In file included from protos.h:6, from icb.h:94, from send.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from send.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ send.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] 14 | csendopen(txt) | ^~~~~~~~~ send.c: In function 'csendopen': send.c:32:17: warning: implicit declaration of function 'sendit'; did you mean 'setbit'? [-Wimplicit-function-declaration] 32 | sendit(pp); | ^~~~~~ | setbit send.c: At top level: send.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] 42 | sendlogin(id, nick, group, command, passwd) | ^~~~~~~~~ send.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] 53 | sendpong() | ^~~~~~~~ send.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] 63 | sendcmd(cmd, args) | ^~~~~~~ send.c: In function 'msplit': send.c:154:17: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 154 | while (!isspace(s[length-1])&&length>1) | ^~~~~~~ send.c:8:1: note: include '' or provide a declaration of 'isspace' 7 | #include "externs.h" +++ |+#include 8 | 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 protos.h:6, from icb.h:94, from serverlist.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ serverlist.c: In function 'openserverfile': serverlist.c:29:9: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] 29 | getcwd(pwd, MAXPATHLEN+1); | ^~~~~~ | getw serverlist.c:36:36: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 36 | if ((pw = getpwuid(getuid())) == NULL) | ^~~~~~ | getpwuid serverlist.c:40:9: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 40 | chdir(home); | ^~~~~ serverlist.c: In function 'getserver': serverlist.c:77:14: warning: implicit declaration of function 'readserverent' [-Wimplicit-function-declaration] 77 | if (!readserverent(serverfile, &serverbuf)) | ^~~~~~~~~~~~~ serverlist.c: In function 'readserverent': serverlist.c:138:23: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 138 | while (line[index] && isspace(line[index])) | ^~~~~~~ serverlist.c:7:1: note: include '' or provide a declaration of 'isspace' 6 | #include "icb.h" +++ |+#include 7 | cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -I../readline -I.. signals.c In file included from protos.h:6, from icb.h:94, from signals.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from signals.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ signals.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | trapsignals() | ^~~~~~~~~~~ signals.c: In function 'askquit': signals.c:67:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 67 | write(1, "\nReally Quit? ", 14); | ^~~~~ | fwrite signals.c:70:9: warning: implicit declaration of function 'noecho' [-Wimplicit-function-declaration] 70 | noecho(); | ^~~~~~ signals.c:85:17: warning: implicit declaration of function 'echo' [-Wimplicit-function-declaration] 85 | echo(); | ^~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c strccmp.c -o strccmp.o strccmp.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] 90 | ccasecmp(c1,c2) | ^~~~~~~~ strccmp.c: In function 'ccasecmp': strccmp.c:90:1: warning: type of 'c1' defaults to 'int' [-Wimplicit-int] strccmp.c:90:1: warning: type of 'c2' defaults to 'int' [-Wimplicit-int] cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c strings.c -o strings.o In file included from protos.h:6, from icb.h:94, from strings.c:4: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from strings.c:5: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ strings.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] 14 | filternickname(txt) | ^~~~~~~~~~~~~~ strings.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] 33 | filtertext(s) | ^~~~~~~~~~ strings.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] 43 | filtergroupname(txt) | ^~~~~~~~~~~~~~~ strings.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] 76 | strcicmp(s1, s2) | ^~~~~~~~ strings.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] 87 | strcincmp(s1, s2, n) | ^~~~~~~~~ strings.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] 117 | lcaseit(s) | ^~~~~~~ strings.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] 126 | cimatch(s1, s2) | ^~~~~~~ strings.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int] 143 | quoteify(a, b) | ^~~~~~~~ strings.c:201:1: warning: return type defaults to 'int' [-Wimplicit-int] 201 | mbreakprint(per, from, s) | ^~~~~~~~~~~ strings.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] 258 | mprint(per, from, s) | ^~~~~~ strings.c:269:1: warning: return type defaults to 'int' [-Wimplicit-int] 269 | wordcmp(s1, s2) | ^~~~~~~ strings.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int] 280 | wordcasecmp(s1, s2) | ^~~~~~~~~~~ strings.c:309:1: warning: return type defaults to 'int' [-Wimplicit-int] 309 | split(s) | ^~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c strlist.c -o strlist.o In file included from protos.h:6, from icb.h:94, from strlist.c:6: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ strlist.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] 24 | strlinkhead(s, head, tail) | ^~~~~~~~~~~ strlist.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] 41 | strlinktail(s, head, tail) | ^~~~~~~~~~~ strlist.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] 59 | strlinkafter(s, i, head, tail) | ^~~~~~~~~~~~ strlist.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] 75 | strlinkbefore(s, i, head, tail) | ^~~~~~~~~~~~~ strlist.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] 87 | strunlink(s, head, tail) | ^~~~~~~~~ strlist.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] 111 | strlinkalpha(s, head, tail, caseindep) | ^~~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c tcl.c -o tcl.o In file included from protos.h:6, from icb.h:94, from tcl.c:11: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from tcl.c:12: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ tcl.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] 48 | tclinit() | ^~~~~~~ tcl.c: In function 'getrcname': tcl.c:148:21: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] 148 | if (access(rcfile, (F_OK | R_OK)) < 0) { | ^~~~~~ tcl.c: At top level: tcl.c:175:1: warning: return type defaults to 'int' [-Wimplicit-int] 175 | tclrestrict() | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c unix.c -o unix.o In file included from protos.h:6, from icb.h:94, from unix.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from unix.c:9: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ unix.c: In function 'getloginid': unix.c:54:36: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 54 | if ((pw = getpwuid(getuid())) == NULL) | ^~~~~~ | getpwuid unix.c: At top level: unix.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] 74 | linebuffer(fp) | ^~~~~~~~~~ unix.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] 86 | pushback(c) | ^~~~~~~~ unix.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] 102 | getterm() | ^~~~~~~ unix.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | getwinsize() | ^~~~~~~~~~ unix.c:244:1: warning: return type defaults to 'int' [-Wimplicit-int] 244 | clearargs(argc,argv) | ^~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I/usr/include -c usage.c -o usage.o In file included from protos.h:6, from icb.h:94, from usage.c:7: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ In file included from usage.c:8: externs.h:32:8: warning: type defaults to 'int' in declaration of 'connected' [-Wimplicit-int] 32 | extern connected; /* whether we are validated or not */ | ^~~~~~~~~ usage.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] 23 | listusage(name) | ^~~~~~~~~ usage.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] 43 | uline(u) | ^~~~~ usage.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] 53 | addusage(name, type, args, usage) | ^~~~~~~~ usage.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] 76 | deleteusage(name) | ^~~~~~~~~~~ usage.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] 82 | usagelinkin(u) | ^~~~~~~~~~~ usage.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] 112 | usagelinkhead(u, first, last) | ^~~~~~~~~~~~~ usage.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] 129 | usagelinktail(u, first, last) | ^~~~~~~~~~~~~ usage.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] 146 | gunlink(u, first, last) | ^~~~~~~ usage.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int] 171 | usagelinkafter(u, i, first, last) | ^~~~~~~~~~~~~~ usage.c:186:1: warning: return type defaults to 'int' [-Wimplicit-int] 186 | usagelinkbefore(u, i, first, last) | ^~~~~~~~~~~~~~~ make[1]: don't know how to make ../lreadline.a. Stop make[1]: stopped making "default" in /pbulk/work/chat/icb/work/icb-5.0.9/icb *** [all] Error code 2 make: stopped making "all" in /pbulk/work/chat/icb/work/icb-5.0.9 make: 1 error make: stopped making "all" in /pbulk/work/chat/icb/work/icb-5.0.9 *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/chat/icb *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/chat/icb