+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icb-5.0.9pl1nb7/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icb-5.0.9pl1nb7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for icb-5.0.9pl1nb7 Making in murgil cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c clientserve.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c contoport.c contoport.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] 18 | connecttoport(host_name, port_number) | ^~~~~~~~~~~~~ contoport.c: In function 'connecttoport': contoport.c:36:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 36 | bzero((char *) &saddr, sizeof(saddr)); | ^~~~~ contoport.c:36:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] contoport.c:37:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 37 | bcopy((char *) addr, (char *) &saddr.sin_addr, 4); | ^~~~~ contoport.c:37:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c discuser.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c getaddr.c 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) | ^~~~~~~~~ getaddr.c:56:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 56 | bcopy(hp->h_addr, (char *) &iaddr.s_addr, (unsigned int) hp->h_length); | ^~~~~ getaddr.c:56:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c getrname.c getrname.c: In function 'getremotename': getrname.c:32:38: warning: passing argument 2 of 'getpeername' from incompatible pointer type [-Wincompatible-pointer-types] 32 | if (getpeername(s, PEER_CAST &rs, &rs_size) < 0) { | ^~~ | | | struct sockaddr_in * In file included from getrname.c:7: /usr/include/sys/socket.h:551:29: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *' 551 | extern int getpeername(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t); | ^ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c globals.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c ignore.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c makeport.c makeport.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] 19 | makenewport(host_name, port_number) | ^~~~~~~~~~~ makeport.c: In function 'makenewport': makeport.c:35:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 35 | bzero((char *) &saddr, sizeof(saddr)); | ^~~~~ makeport.c:35:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] makeport.c:36:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 36 | bcopy(hp->h_addr, (char *) &saddr.sin_addr, hp->h_length); | ^~~~~ makeport.c:36:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c newconnect.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c packetsend.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c readpacket.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c sendpacket.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c serverserve.c serverserve.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] 26 | serverserve() | ^~~~~~~~~~~ serverserve.c: In function 'serverserve': serverserve.c:53:17: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 53 | bcopy((char *) &fdset, (char *) &fdr, | ^~~~~ serverserve.c:53:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c setdelay.c 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 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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c panic.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c strerror.c 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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclAssem.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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 'long 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(); | ^~~~~~ tclAssem.c: In function 'Tcl_AssembleCmd': tclAssem.c:178:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 178 | newBuf = malloc(newSize); | ^~~~~~~ ./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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclBasic.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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(); | ^~~~~~~ tclBasic.c: In function 'Tcl_Eval': tclBasic.c:662:55: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 662 | newCopy = (char *) malloc((unsigned) copySize); | ^~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclBasic.c:663:29: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 663 | bcopy(copy, newCopy, (dst-copy)); | ^~~~~ tclBasic.c:663:29: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] tclBasic.c:675:25: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 675 | bcopy(iPtr->result, dst, length); | ^~~~~ tclBasic.c:875:43: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 875 | newCopy = (char *) malloc((unsigned) copySize); | ^~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclBasic.c:876:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 876 | bcopy(copy, newCopy, (dst-copy)); | ^~~~~ tclBasic.c:1043:13: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 1043 | p = index(cmdStart, '\n'); | ^~~~~ tclBasic.c:1043:13: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] tclBasic.c: In function 'Tcl_AddErrorInfo': tclBasic.c:1260:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1260 | buffer = malloc((unsigned) (length + strlen(message) + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclCmdAH.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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:611:41: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 611 | newOutput = (char *) malloc((unsigned) outputSpace); | ^~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclCmdAH.c:613:17: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 613 | bcopy(output, newOutput, outputSize); | ^~~~~ tclCmdAH.c:613:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] tclCmdAH.c: In function 'Tcl_FileCmd': tclCmdAH.c:769:13: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 769 | p = rindex(fileName, '/'); | ^~~~~~ tclCmdAH.c:769:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] tclCmdAH.c:782:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 782 | p = rindex(fileName, '.'); | ^~~~~~ tclCmdAH.c:795:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 795 | p = rindex(fileName, '.'); | ^~~~~~ tclCmdAH.c:802:13: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 802 | p = rindex(fileName, '/'); | ^~~~~~ tclCmdAH.c: In function 'Tcl_FormatCmd': tclCmdAH.c:1303:57: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1303 | newDst = (char *) malloc((unsigned) newSpace+1); | ~~~~~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclCmdAH.c:1305:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1305 | bcopy(dst, newDst, dstSize); | ^~~~~ tclCmdAH.c:1314:13: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1314 | bcopy(oneWordValue, dst+dstSize, size); | ^~~~~ 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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclCmdIZ.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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_IndexCmd': tclCmdIZ.c:163:61: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 163 | interp->result = (char *) malloc((unsigned) size+1); | ~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclCmdIZ.c:167:13: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 167 | bcopy(element, interp->result, size); | ^~~~~ tclCmdIZ.c:167:13: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] tclCmdIZ.c: In function 'Tcl_InfoCmd': tclCmdIZ.c:471:13: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 471 | bcopy((char *) argv, (char *) newArgs, argc*sizeof(char *)); | ^~~~~ tclCmdIZ.c: In function 'Tcl_ScanCmd': tclCmdIZ.c:1055:31: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1055 | results = (char *) malloc((unsigned) totalSize); | ^~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ 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:1160:59: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1160 | cmdBuffer = (char *) malloc((unsigned) statBuf.st_size+1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ 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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclExpr.c 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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclGlob.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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(); | ^~~~~~~ tclGlob.c: In function 'AppendResult': tclGlob.c:106:27: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 106 | newSpace = malloc((unsigned) newSize); | ^~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:107:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 107 | bcopy(resPtr->result, newSpace, resPtr->spaceUsed); | ^~~~~ tclGlob.c:107:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] tclGlob.c: In function 'DoGlob': tclGlob.c:235:29: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 235 | newRem = malloc((unsigned) remLength); | ^~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:287:30: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 287 | pattern = malloc((unsigned) (l2+1)); | ^~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:314:41: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 314 | newDir = malloc((unsigned) (l1+D_NAMLEN(entryPtr)+2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c:351:29: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 351 | newDir = malloc((unsigned) l2); | ^~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclGlob.c: In function 'Tcl_TildeSubst': tclGlob.c:436:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 436 | bcopy(name+1, curBuf, length); | ^~~~~ tclGlob.c:458:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 458 | curBuf = malloc((unsigned) curSize); | ^~~~~~~~~~~~~~~~~~ ./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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclHistory.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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:321:21: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 321 | p = index(p, '\n'); | ^~~~~ tclHistory.c:321:21: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] tclHistory.c:330:20: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 330 | p = malloc((unsigned) (length+1)); | ^~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c:354:24: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 354 | next = index(cur, '\n'); | ^~~~~ tclHistory.c:395:24: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 395 | malloc((unsigned) (count * sizeof(HistoryEvent))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c:90:26: warning: 'malloc' argument 1 type is 'int' where 'long 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:522:20: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 522 | malloc((unsigned) (numEvents * sizeof(HistoryEvent))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c:90:26: warning: 'malloc' argument 1 type is 'int' where 'long 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(); | ^~~~~~ tclHistory.c: In function 'MakeSpace': tclHistory.c:559:32: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 559 | hPtr->command = malloc((unsigned) size); | ^~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'RevCommand': tclHistory.c:666:31: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 666 | revPtr->newBytes = malloc((unsigned) (revPtr->newSize+1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'DoRevs': tclHistory.c:783:25: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 783 | newCommand = malloc(size); | ^~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'SubsAndEval': tclHistory.c:984:21: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 984 | newCmd = malloc((unsigned) (length + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclHistory.c: In function 'GetWords': tclHistory.c:1088:21: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1088 | result = malloc((unsigned) (strlen(command) + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclProc.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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 'Tcl_ProcCmd': tclProc.c:75:67: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | procPtr->command = (char *) malloc((unsigned) strlen(argv[3]) + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ In file included from tclProc.c:25: tclInt.h:75:60: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | ((unsigned) sizeof(Var) + nameLength + valueLength - 2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ tclProc.c:124:37: note: in expansion of macro 'VAR_SIZE' 124 | argPtr = (Var *) malloc(VAR_SIZE(nameLength, valueLength)); | ^~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclInt.h:75:60: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | ((unsigned) sizeof(Var) + nameLength + valueLength - 2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ tclProc.c:127:46: note: in expansion of macro 'VAR_SIZE' 127 | argPtr->nextPtr = (Var *) malloc(VAR_SIZE(nameLength, valueLength)); | ^~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclProc.c: In function 'Tcl_SetVar': tclProc.c:248:68: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 248 | varPtr->value = (char *) malloc((unsigned) valueLength + 1); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclProc.c: In function 'NewVar': tclProc.c:924:29: warning: 'calloc' argument 1 type is 'int' where 'long 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(); | ^~~~~~ tclInt.h:75:60: warning: 'calloc' argument 2 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 75 | ((unsigned) sizeof(Var) + nameLength + valueLength - 2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ tclProc.c:924:32: note: in expansion of macro 'VAR_SIZE' 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\" -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tclUtil.c 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 '<stdlib.h>' +++ |+#include <stdlib.h> 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) | ^~~~~~~~~~~~~~~~~~ tclUtil.c: In function 'Tcl_Merge': tclUtil.c:390:50: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 390 | result = (char *) malloc((unsigned) numChars + 1); | ~~~~~~~~~~~~~~~~~~~~^~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclUtil.c: In function 'Tcl_Concat': tclUtil.c:489:21: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 489 | result = malloc((unsigned) totalSize); | ^~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclUtil.c: In function 'Tcl_Return': tclUtil.c:545:61: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 545 | iPtr->result = (char *) malloc((unsigned) length+1); | ~~~~~~~~~~~~~~~~~^~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ tclUtil.c: In function 'Tcl_SplitList': tclUtil.c:742:29: warning: 'malloc' argument 1 type is 'unsigned int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 742 | argv = (char **) malloc((unsigned) | ^~~~~~~~~~ 743 | ((size * sizeof(char *)) + (p - list) + 1)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stdlib.h:46:17: note: built-in 'malloc' declared here 46 | extern void * malloc(); | ^~~~~~ 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 cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -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:7: warning: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] 1857 | tputs (term_cr, 1, output_character_function); | ^~~~~ | puts readline.c:1889:5: warning: implicit declaration of function 'backspace' [-Wimplicit-function-declaration] 1889 | backspace (last_c_pos - new); | ^~~~~~~~~ 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:2063:7: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 2063 | if (tgetent (term_buffer, term) <= 0) | ^~~~~~~ | getenv readline.c:2118:23: warning: implicit declaration of function 'tgetnum' [-Wimplicit-function-declaration] 2118 | screenwidth = tgetnum ("co"); | ^~~~~~~ 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:2239:1: warning: return type defaults to 'int' [-Wimplicit-int] 2239 | backspace (count) | ^~~~~~~~~ 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: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:3010:1: warning: return type defaults to 'int' [-Wimplicit-int] 3010 | rl_clear_screen () | ^~~~~~~~~~~~~~~ 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -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 '<stdlib.h>' or provide a declaration of 'free' 44 | #include "history.h" +++ |+#include <stdlib.h> 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 '<stdlib.h>' 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:59:29: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 59 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ vi_mode.c:678:8: note: in expansion of macro 'member' 678 | if (!member (c, vi_motion)) | ^~~~~~ vi_mode.c:59:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 59 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ vi_mode.c:678:8: note: in expansion of macro 'member' 678 | if (!member (c, vi_motion)) | ^~~~~~ 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() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_possible_completions': vi_mode.c:1217:8: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 1217 | if (!index (" ;", rl_line_buffer[rl_point])) | ^~~~~ cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -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 '<stdlib.h>' or provide a declaration of 'free' 51 | #include "history.h" +++ |+#include <stdlib.h> 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 '<stdlib.h>' 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 '<stdlib.h>' 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 '<stdlib.h>' 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 '<stdlib.h>' 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 '<stdlib.h>' 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 '<stdlib.h>' or provide a declaration of 'free' history.c: In function 'history_expand': history.c:66:29: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:968:29: note: in expansion of macro 'member' 968 | if (!string[i + 1] || member (string[i + 1], history_no_expand_chars)) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:968:29: note: in expansion of macro 'member' 968 | if (!string[i + 1] || member (string[i + 1], history_no_expand_chars)) | ^~~~~~ 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 '<stdlib.h>' or provide a declaration of 'free' history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1005:15: note: in expansion of macro 'member' 1005 | if (member (cc, history_no_expand_chars)) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1018:15: note: in expansion of macro 'member' 1018 | if (member (cc, ":$*%^")) | ^~~~~~ 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 '<stdlib.h>' 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 '<stdlib.h>' or provide a declaration of 'free' history.c: In function 'history_tokenize': history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1473:7: note: in expansion of macro 'member' 1473 | if (member (string[i], "()\n")) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1479:7: note: in expansion of macro 'member' 1479 | if (member (string[i], "<>;&|")) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1518:9: note: in expansion of macro 'member' 1518 | if (member (string[i], "\"'`")) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1534:24: note: in expansion of macro 'member' 1534 | (member (string[i], slashify_in_quotes))) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1548:28: note: in expansion of macro 'member' 1548 | if (!delimiter && (member (string[i], " \t\n;&()|<>"))) | ^~~~~~ history.c:66:29: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 66 | #define member(c, s) ((c) ? index ((s), (c)) : 0) | ^~~~~ history.c:1551:27: note: in expansion of macro 'member' 1551 | if (!delimiter && member (string[i], "\"'`")) | ^~~~~~ cc -c -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -I../ -DVI_MODE -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -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 '<stdlib.h>' or provide a declaration of 'free' 26 | #include "vi_keymap.c" +++ |+#include <stdlib.h> 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 '<stdlib.h>' or provide a declaration of 'free' rm -f xmalloc.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c ../malloc/xmalloc.c rm -f tilde.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c ../glob/tilde.c rm -f xalloca.o cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -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 <name>] [member-name] [count] archive-file file... ar -M [<mri-script] commands: d - delete file(s) from the archive m[ab] - move file(s) in the archive p - print file(s) found in the archive q[f] - quick append file(s) to the archive r[ab][f][u] - replace existing or insert new file(s) into the archive s - act as ranlib t[O][v] - display contents of the archive x[o] - extract file(s) from the archive command specific modifiers: [a] - put file(s) after [member-name] [b] - put file(s) before [member-name] (same as [i]) [D] - use zero for timestamps and uids/gids [U] - use actual timestamps and uids/gids (default) [N] - use instance [count] of name [f] - truncate inserted file names [P] - use full path names when matching [o] - preserve original dates [O] - display offsets of files in the archive [u] - only replace files that are newer than current archive contents generic modifiers: [c] - do not warn if the library had to be created [s] - create an archive index (cf. ranlib) [l <text> ] - 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 @<file> - read options from <file> --target=BFDNAME - specify the target object format as BFDNAME --output=DIRNAME - specify the output directory for extraction operations --record-libdeps=<text> - specify the dependencies of this library --thin - make a thin archive optional: --plugin <p> - load the specified plugin emulation options: No emulation specific options ar: supported targets: elf32-i386-sol2 elf64-x86-64-sol2 elf32-iamcu coff-i386 pei-i386 pe-x86-64 pei-x86-64 elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/chat/icb/work/icb-5.0.9/readline Making in icb sed -e 's/(.*)/()/' protos.h > tmp mv -f tmp funcs.h cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_hclear.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_hdel.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_help.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_hush.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_log.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_quit.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_rand.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_replay.c 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: In function 'bufferadd': c_replay.c:111:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 111 | bcopy(text, bp->str, len+1); | ^~~~~ c_replay.c:111:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] c_replay.c: At top level: 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_shell.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_time.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_usage.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c c_version.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c cute.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c defprocs.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c dispatch.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c oset.c 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: In function 'setvar': oset.c:152:17: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 152 | bcopy(&tmp, address, sizeof(int)); | ^~~~~ oset.c:152:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] oset.c: At top level: 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: In function 'printvar': oset.c:264:17: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 264 | bcopy(address, &ival, sizeof(int)); | ^~~~~ oset.c: At top level: 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c getswitch.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c globals.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c helpdata.c cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c history.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c ipcf.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c msgs.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c parse.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c print.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c register.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_admin.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_beep.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_bump.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_chpw.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_group.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_motd.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_open.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_person.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_register.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_send.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_user.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_version.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c s_who.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c send.c 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' [-Wimplicit-function-declaration] 32 | sendit(pp); | ^~~~~~ 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 '<ctype.h>' or provide a declaration of 'isspace' 7 | #include "externs.h" +++ |+#include <ctype.h> 8 | cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -c -DDEFAULTHOST=\"crater.unm.edu\" -DDEFAULTPORT=7326 -DSERVERLIST=\"/opt/local/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:27:9: warning: implicit declaration of function 'getwd'; did you mean 'getcwd'? [-Wimplicit-function-declaration] 27 | getwd(pwd); | ^~~~~ | getcwd 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 '<ctype.h>' or provide a declaration of 'isspace' 6 | #include "icb.h" +++ |+#include <ctype.h> 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c strccmp.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c strings.c 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: In function 'filternickname': strings.c:22:22: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 22 | if (!index(OKNICKCHARS, *txt)) | ^~~~~ strings.c:22:22: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] strings.c: At top level: 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: In function 'filtergroupname': strings.c:51:22: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 51 | if (!index(OKGROUPCHARS, *txt)) | ^~~~~ strings.c: At top level: 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: In function 'quoteify': strings.c:153:21: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 153 | if (index(special, *a)) { | ^~~~~ strings.c: At top level: 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c strlist.c 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c tcl.c 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:175:1: warning: return type defaults to 'int' [-Wimplicit-int] 175 | tclrestrict() | ^~~~~~~~~~~ cc -O2 -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c unix.c 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: In function 'pushback': unix.c:90:13: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 90 | if (ioctl(0, TIOCSTI, &c) < 0) | ^~~~~ unix.c: At top level: unix.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] 102 | getterm() | ^~~~~~~ unix.c: In function 'icbterm': unix.c:152:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 152 | bcopy((char *)&origtty, (char *)&tty, (unsigned)sizeof(struct TTYSTRUCT)); | ^~~~~ unix.c:152:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] unix.c: At top level: unix.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | getwinsize() | ^~~~~~~~~~ unix.c: In function 'tildexpand': unix.c:228:11: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 228 | index(".-_", *s)) && ((p - login) < 17)) | ^~~~~ unix.c:228:11: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] unix.c: At top level: 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 -DBSD_COMP -I/opt/local/include/ncurses -I/opt/local/include -I/usr/include -c usage.c 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 in /home/pbulk/build/chat/icb/work/icb-5.0.9/icb *** [all] Error code 2 bmake: stopped in /home/pbulk/build/chat/icb/work/icb-5.0.9 1 error bmake: stopped in /home/pbulk/build/chat/icb/work/icb-5.0.9 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/icb *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/icb