+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mg2a-1.11nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mg2a-1.11nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mg2a-1.11nb2 --- ttydef.h --- --- sysdef.h --- --- chrdef.h --- --- cinfo.c --- --- spawn.c --- --- ttyio.c --- --- tty.c --- --- ttykbd.c --- --- fileio.c --- --- basic.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c basic.c --- dir.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c dir.c --- basic.o --- basic.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] 18 | gotobol(f, n) | ^~~~~~~ basic.c: In function 'gotobol': basic.c:18:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:18:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] 31 | backchar(f, n) | ^~~~~~~~ basic.c: In function 'backchar': basic.c:31:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:36:27: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] 36 | if (n < 0) return forwchar(f, -n); | ^~~~~~~~ basic.c: At top level: basic.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] 57 | gotoeol(f, n) | ^~~~~~~ basic.c: In function 'gotoeol': basic.c:57:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:57:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] 70 | forwchar(f, n) | ^~~~~~~~ basic.c: In function 'forwchar': basic.c:70:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] 96 | gotobob(f, n) | ^~~~~~~ basic.c: In function 'gotobob': basic.c:96:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:96:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c:98:16: warning: implicit declaration of function 'setmark' [-Wimplicit-function-declaration] 98 | (VOID) setmark(f, n) ; | ^~~~~~~ basic.c: At top level: basic.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] 110 | gotoeob(f, n) | ^~~~~~~ basic.c: In function 'gotoeob': basic.c:110:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:110:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] 127 | forwline(f, n) | ^~~~~~~~ basic.c: In function 'forwline': basic.c:127:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:127:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c:132:24: warning: implicit declaration of function 'backline' [-Wimplicit-function-declaration] 132 | return backline(f|FFRAND, -n); | ^~~~~~~~ basic.c:156:34: warning: implicit declaration of function 'getgoal'; did you mean 'setgoal'? [-Wimplicit-function-declaration] 156 | curwp->w_doto = getgoal(dlp); | ^~~~~~~ | setgoal basic.c: At top level: basic.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] 169 | backline(f, n) | ^~~~~~~~ basic.c: In function 'backline': basic.c:169:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:169:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: In function 'setgoal': basic.c:196:19: warning: implicit declaration of function 'getcolpos' [-Wimplicit-function-declaration] 196 | curgoal = getcolpos() - 1; /* Get the position. */ | ^~~~~~~~~ basic.c: At top level: basic.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] 207 | getgoal(dlp) register LINE *dlp; { | ^~~~~~~ basic.c:244:1: warning: return type defaults to 'int' [-Wimplicit-int] 244 | forwpage(f, n) | ^~~~~~~~ basic.c: In function 'forwpage': basic.c:244:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:254:24: warning: implicit declaration of function 'backpage' [-Wimplicit-function-declaration] 254 | return backpage(f|FFRAND, -n); | ^~~~~~~~ basic.c: At top level: basic.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] 281 | backpage(f, n) | ^~~~~~~~ basic.c: In function 'backpage': basic.c:281:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:339:1: warning: return type defaults to 'int' [-Wimplicit-int] 339 | pagenext(f, n) | ^~~~~~~~ basic.c: In function 'pagenext': basic.c:339:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:339:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c:348:16: warning: implicit declaration of function 'nextwind'; did you mean 'rewind'? [-Wimplicit-function-declaration] 348 | (VOID) nextwind(f, n); | ^~~~~~~~ | rewind basic.c: At top level: basic.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] 371 | setmark(f, n) | ^~~~~~~ basic.c: In function 'setmark': basic.c:371:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:371:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] 386 | swapmark(f, n) | ^~~~~~~~ basic.c: In function 'swapmark': basic.c:386:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:386:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] basic.c: At top level: basic.c:413:1: warning: return type defaults to 'int' [-Wimplicit-int] 413 | gotoline(f, n) | ^~~~~~~~ basic.c: In function 'gotoline': basic.c:413:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:421:24: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 421 | if ((s=ereply("Goto line: ", buf, sizeof(buf))) != TRUE) | ^~~~~~ basic.c:423:21: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 423 | n = atoi(buf); | ^~~~ --- dir.o --- dir.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] 21 | dirinit() | ^~~~~~~ dir.c: In function 'dirinit': dir.c:25:17: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] 25 | panic("Can't get current directory!"); | ^~~~~ dir.c: At top level: dir.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] 32 | changedir(f, n) | ^~~~~~~~~ dir.c: In function 'changedir': dir.c:32:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] dir.c:32:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] dir.c:37:16: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 37 | if ((s=ereply("Change default directory: ", bufc, NPAT)) != TRUE) | ^~~~~~ dir.c:41:13: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 41 | if (chdir(bufc) == -1) { | ^~~~~ dir.c: At top level: dir.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] 57 | showcwdir(f, n) | ^~~~~~~~~ dir.c: In function 'showcwdir': dir.c:57:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] dir.c:57:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- file.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c file.c file.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | fileinsert(f, n) | ^~~~~~~~~~ file.c: In function 'fileinsert': file.c:20:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] file.c:20:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] file.c:25:16: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 25 | if ((s=ereply("Insert file: ", fname, NFILEN)) != TRUE) | ^~~~~~ file.c:27:16: warning: implicit declaration of function 'insertfile' [-Wimplicit-function-declaration] 27 | return insertfile(adjustname(fname), (char *) NULL); | ^~~~~~~~~~ file.c: At top level: file.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | filevisit(f, n) | ^~~~~~~~~ file.c: In function 'filevisit': file.c:40:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] file.c:40:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] file.c:52:13: warning: implicit declaration of function 'showbuffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] 52 | if (showbuffer(bp, curwp, WFHARD) != TRUE) return FALSE; | ^~~~~~~~~~ | setbuffer file.c:54:24: warning: implicit declaration of function 'readin' [-Wimplicit-function-declaration] 54 | return readin(adjf); /* Read it in. */ | ^~~~~~ file.c: At top level: file.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] 63 | poptofile(f, n) | ^~~~~~~~~ file.c: In function 'poptofile': file.c:63:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] file.c:63:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] file.c: At top level: file.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | readin(fname) char *fname; { | ^~~~~~ file.c: In function 'readin': file.c:134:13: warning: implicit declaration of function 'bclear' [-Wimplicit-function-declaration] 134 | if (bclear(curbp) != TRUE) /* Might be old. */ | ^~~~~~ file.c: At top level: file.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] 159 | insertfile(fname, newname) char fname[], newname[]; { | ^~~~~~~~~~ file.c: In function 'insertfile': file.c:173:16: warning: implicit declaration of function 'ffropen'; did you mean 'fdopen'? [-Wimplicit-function-declaration] 173 | if ((s=ffropen(fname)) == FIOERR) /* Hard file open. */ | ^~~~~~~ | fdopen file.c:183:16: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] 183 | (VOID) lnewline(); | ^~~~~~~~ file.c:191:19: warning: implicit declaration of function 'ffgetline'; did you mean 'getline'? [-Wimplicit-function-declaration] 191 | while ((s=ffgetline(line, NLINE, &nbytes)) != FIOERR) { | ^~~~~~~~~ | getline file.c:216:34: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 216 | if((cp = malloc((unsigned)(nbytes + NLINE))) == NULL) { | ^~~~~~ file.c:8:1: note: include '' or provide a declaration of 'malloc' 7 | #include +++ |+#include 8 | file.c:216:34: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 216 | if((cp = malloc((unsigned)(nbytes + NLINE))) == NULL) { | ^~~~~~ file.c:216:34: note: include '' or provide a declaration of 'malloc' file.c:220:40: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 220 | if(nbytes) free(cp2); | ^~~~ file.c:220:40: note: include '' or provide a declaration of 'free' file.c:220:40: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] file.c:220:40: note: include '' or provide a declaration of 'free' file.c:225:29: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 225 | free(cp2); | ^~~~ file.c:225:29: note: include '' or provide a declaration of 'free' file.c:231:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 231 | free(cp); | ^~~~ file.c:231:33: note: include '' or provide a declaration of 'free' file.c:256:16: warning: implicit declaration of function 'ffclose'; did you mean 'fclose'? [-Wimplicit-function-declaration] 256 | (VOID) ffclose(); /* Ignore errors. */ | ^~~~~~~ | fclose file.c:264:16: warning: implicit declaration of function 'ldelnewline' [-Wimplicit-function-declaration] 264 | (VOID) ldelnewline(); | ^~~~~~~~~~~ file.c: At top level: file.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] 346 | filewrite(f, n) | ^~~~~~~~~ file.c: In function 'filewrite': file.c:346:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] file.c:346:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] file.c:355:16: warning: implicit declaration of function 'writeout' [-Wimplicit-function-declaration] 355 | if ((s=writeout(curbp, adjfname)) == TRUE) { | ^~~~~~~~ file.c: At top level: file.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] 379 | filesave(f, n) | ^~~~~~~~ file.c: In function 'filesave': file.c:379:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] file.c:379:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] file.c:381:16: warning: implicit declaration of function 'buffsave' [-Wimplicit-function-declaration] 381 | return buffsave(curbp); | ^~~~~~~~ file.c: At top level: file.c:393:1: warning: return type defaults to 'int' [-Wimplicit-int] 393 | buffsave(bp) BUFFER *bp; { | ^~~~~~~~ file.c:451:1: warning: return type defaults to 'int' [-Wimplicit-int] 451 | writeout(bp, fn) register BUFFER *bp; char *fn; { | ^~~~~~~~ file.c: In function 'writeout': file.c:548:19: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] 548 | if (0 != system(cmd)) printf(".orig backup failed: '%s'\n", cmd); | ^~~~~~ file.c:572:79: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 572 | sprintf(cmd, "/bin/cp %s %s%s-@%ld", fn, dir_name, file_name_no_dir, time(NULL)); | ^~~~ file.c:582:16: warning: implicit declaration of function 'ffwopen'; did you mean 'fdopen'? [-Wimplicit-function-declaration] 582 | if ((s=ffwopen(fn)) != FIOSUC) /* Open writes message. */ | ^~~~~~~ | fdopen file.c:584:13: warning: implicit declaration of function 'ffputbuf' [-Wimplicit-function-declaration] 584 | s = ffputbuf(bp); | ^~~~~~~~ --- line.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c line.c line.c: In function 'lalloc': line.c:60:26: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 60 | if((lp = (LINE *)malloc((unsigned)size)) == NULL) { | ^~~~~~ line.c:21:1: note: include '' or provide a declaration of 'malloc' 20 | #include "def.h" +++ |+#include 21 | line.c:60:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | if((lp = (LINE *)malloc((unsigned)size)) == NULL) { | ^~~~~~ line.c:60:26: note: include '' or provide a declaration of 'malloc' line.c: In function 'lfree': line.c:127:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 127 | free((char *) lp); | ^~~~ line.c:127:9: note: include '' or provide a declaration of 'free' line.c:127:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] line.c:127:9: note: include '' or provide a declaration of 'free' line.c: At top level: line.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] 168 | linsert(n, c) | ^~~~~~~ line.c: In function 'linsert': line.c:168:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] line.c:226:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 226 | free((char *) lp1); | ^~~~ line.c:226:17: note: include '' or provide a declaration of 'free' line.c: At top level: line.c:264:1: warning: return type defaults to 'int' [-Wimplicit-int] 264 | lnewline() | ^~~~~~~~ line.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] 317 | ldelete(n, kflag) RSIZE n; { | ^~~~~~~ line.c: In function 'ldelete': line.c:317:1: warning: type of 'kflag' defaults to 'int' [-Wimplicit-int] line.c:343:29: warning: implicit declaration of function 'ldelnewline'; did you mean 'lnewline'? [-Wimplicit-function-declaration] 343 | if (ldelnewline() == FALSE | ^~~~~~~~~~~ | lnewline line.c:344:45: warning: implicit declaration of function 'kinsert'; did you mean 'linsert'? [-Wimplicit-function-declaration] 344 | || (kflag!=KNONE && kinsert('\n', kflag)==FALSE)) | ^~~~~~~ | linsert line.c:354:37: warning: implicit declaration of function 'kgrow' [-Wimplicit-function-declaration] 354 | if (kgrow(FALSE) == FALSE) return FALSE; | ^~~~~ line.c:362:44: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] 362 | } else if (kflag != KNONE) panic("broken ldelete call"); | ^~~~~ line.c: At top level: line.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int] 396 | ldelnewline() { | ^~~~~~~~~~~ line.c: In function 'ldelnewline': line.c:423:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 423 | free((char *) lp2); | ^~~~ line.c:423:17: note: include '' or provide a declaration of 'free' line.c:450:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 450 | free((char *) lp1); | ^~~~ line.c:450:9: note: include '' or provide a declaration of 'free' line.c: At top level: line.c:461:1: warning: return type defaults to 'int' [-Wimplicit-int] 461 | lreplace(plen, st, f) | ^~~~~~~~ line.c: In function 'lreplace': line.c:477:16: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] 477 | (VOID) backchar(FFARG | FFRAND, (int) plen); | ^~~~~~~~ line.c:517:40: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] 517 | (VOID) forwchar(FFRAND, 1); | ^~~~~~~~ line.c: In function 'kdelete': line.c:544:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 544 | free((char *) kbufp); | ^~~~ line.c:544:17: note: include '' or provide a declaration of 'free' line.c: At top level: line.c:559:1: warning: return type defaults to 'int' [-Wimplicit-int] 559 | kinsert(c, dir) { | ^~~~~~~ line.c: In function 'kinsert': line.c:559:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] line.c:559:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] line.c: At top level: line.c:575:1: warning: return type defaults to 'int' [-Wimplicit-int] 575 | kgrow(back) { | ^~~~~ line.c: In function 'kgrow': line.c:575:1: warning: type of 'back' defaults to 'int' [-Wimplicit-int] line.c:584:20: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 584 | if ((nbufp=malloc((unsigned)(ksize+KBLOCK))) == NULL) { | ^~~~~~ line.c:584:20: note: include '' or provide a declaration of 'malloc' line.c:591:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 591 | free((char *) kbufp); | ^~~~ line.c:591:17: note: include '' or provide a declaration of 'free' line.c: At top level: line.c:605:1: warning: return type defaults to 'int' [-Wimplicit-int] 605 | kremove(n) { | ^~~~~~~ line.c: In function 'kremove': line.c:605:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- match.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c match.c match.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] 42 | showmatch(f, n) | ^~~~~~~~~ match.c: In function 'showmatch': match.c:42:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] match.c:42:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] match.c:48:26: warning: implicit declaration of function 'selfinsert' [-Wimplicit-function-declaration] 48 | if ((s = selfinsert(FFRAND, 1)) != TRUE) | ^~~~~~~~~~ match.c:51:25: warning: implicit declaration of function 'ttbeep' [-Wimplicit-function-declaration] 51 | ttbeep(); | ^~~~~~ match.c: At top level: match.c:64:8: warning: return type defaults to 'int' [-Wimplicit-int] 64 | static balance() | ^~~~~~~ match.c: In function 'displaymatch': match.c:162:17: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 162 | sleep(1); /* wait a bit */ | ^~~~~ --- paragraph.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c paragraph.c paragraph.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] 16 | gotobop(f, n) | ^~~~~~~ paragraph.c: In function 'gotobop': paragraph.c:16:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] paragraph.c:16:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] paragraph.c:19:24: warning: implicit declaration of function 'gotoeop'; did you mean 'gotobop'? [-Wimplicit-function-declaration] 19 | return gotoeop(f, -n); | ^~~~~~~ | gotobop paragraph.c:25:24: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] 25 | while (backchar(FFRAND, 1) && !inword()) {} | ^~~~~~~~ paragraph.c:25:48: warning: implicit declaration of function 'inword' [-Wimplicit-function-declaration] 25 | while (backchar(FFRAND, 1) && !inword()) {} | ^~~~~~ paragraph.c: At top level: paragraph.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] 47 | gotoeop(f, n) | ^~~~~~~ paragraph.c: In function 'gotoeop': paragraph.c:47:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] paragraph.c:47:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] paragraph.c:56:23: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] 56 | while(forwchar(FFRAND, 1) && !inword()) {} | ^~~~~~~~ paragraph.c: At top level: paragraph.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] 84 | fillpara(f, n) | ^~~~~~~~ paragraph.c: In function 'fillpara': paragraph.c:84:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] paragraph.c:84:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] paragraph.c:101:24: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] 101 | (VOID) lnewline(); | ^~~~~~~~ paragraph.c:126:21: warning: implicit declaration of function 'ldelete'; did you mean 'kdelete'? [-Wimplicit-function-declaration] 126 | if (ldelete((RSIZE) 1, KNONE) == FALSE && !eopflag) | ^~~~~~~ | kdelete paragraph.c:157:48: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] 157 | (VOID) linsert(1, ' '); | ^~~~~~~ paragraph.c: At top level: paragraph.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] 191 | killpara(f, n) | ^~~~~~~~ paragraph.c: In function 'killpara': paragraph.c:191:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] paragraph.c:191:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] paragraph.c:209:31: warning: implicit declaration of function 'killregion' [-Wimplicit-function-declaration] 209 | if ((status = killregion(FFRAND, 1)) != TRUE) | ^~~~~~~~~~ paragraph.c: At top level: paragraph.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] 223 | fillword(f, n) | ^~~~~~~~ paragraph.c: In function 'fillword': paragraph.c:223:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] paragraph.c:223:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] paragraph.c:229:48: warning: implicit declaration of function 'selfinsert' [-Wimplicit-function-declaration] 229 | if (i == curwp->w_doto) return selfinsert(f, n) ; | ^~~~~~~~~~ paragraph.c:256:16: warning: implicit declaration of function 'delwhite' [-Wimplicit-function-declaration] 256 | (VOID) delwhite(FFRAND, 1); | ^~~~~~~~ paragraph.c: At top level: paragraph.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] 266 | setfillcol(f, n) { | ^~~~~~~~~~ paragraph.c: In function 'setfillcol': paragraph.c:266:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] paragraph.c:266:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- random.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c random.c random.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 20 | showcpos(f, n) | ^~~~~~~~ random.c: In function 'showcpos': random.c:20:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:20:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c:56:57: warning: implicit declaration of function 'getcolpos' [-Wimplicit-function-declaration] 56 | cbyte, cbyte, cchar, ratio, cline, row, getcolpos()); | ^~~~~~~~~ random.c: At top level: random.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] 60 | getcolpos() { | ^~~~~~~~~ random.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] 90 | twiddle(f, n) | ^~~~~~~ random.c: In function 'twiddle': random.c:90:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:90:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c: At top level: random.c:120:1: warning: return type defaults to 'int' [-Wimplicit-int] 120 | openline(f, n) | ^~~~~~~~ random.c: In function 'openline': random.c:120:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:120:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c:131:21: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] 131 | s = lnewline(); | ^~~~~~~~ random.c:134:21: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] 134 | s = backchar(f | FFRAND, n); /* of them all. */ | ^~~~~~~~ random.c: At top level: random.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] 149 | newline(f, n) | ^~~~~~~ random.c: In function 'newline': random.c:149:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:149:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c:160:32: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] 160 | if ((s=forwchar(FFRAND, 1)) != TRUE) | ^~~~~~~~ random.c: At top level: random.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int] 179 | deblank(f, n) | ^~~~~~~ random.c: In function 'deblank': random.c:179:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:179:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c:196:16: warning: implicit declaration of function 'ldelete'; did you mean 'kdelete'? [-Wimplicit-function-declaration] 196 | return ldelete((RSIZE)nld, KNONE); | ^~~~~~~ | kdelete random.c: At top level: random.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] 202 | justone(f, n) { | ^~~~~~~ random.c: In function 'justone': random.c:202:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:202:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c:203:16: warning: implicit declaration of function 'delwhite' [-Wimplicit-function-declaration] 203 | (VOID) delwhite(f, n); | ^~~~~~~~ random.c:204:16: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] 204 | return linsert(1, ' '); | ^~~~~~~ random.c: At top level: random.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] 210 | delwhite(f, n) | ^~~~~~~~ random.c: In function 'delwhite': random.c:210:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:210:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c: At top level: random.c:243:1: warning: return type defaults to 'int' [-Wimplicit-int] 243 | indent(f, n) | ^~~~~~ random.c: In function 'indent': random.c:243:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:243:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c: At top level: random.c:282:1: warning: return type defaults to 'int' [-Wimplicit-int] 282 | forwdel(f, n) | ^~~~~~~ random.c: In function 'forwdel': random.c:282:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:282:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c:285:24: warning: implicit declaration of function 'backdel' [-Wimplicit-function-declaration] 285 | return backdel(f | FFRAND, -n); | ^~~~~~~ random.c: At top level: random.c:302:1: warning: return type defaults to 'int' [-Wimplicit-int] 302 | backdel(f, n) | ^~~~~~~ random.c: In function 'backdel': random.c:302:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:302:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c: At top level: random.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] 330 | killline(f, n) { | ^~~~~~~~ random.c: In function 'killline': random.c:330:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:330:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c: At top level: random.c:395:1: warning: return type defaults to 'int' [-Wimplicit-int] 395 | yank(f, n) | ^~~~ random.c: In function 'yank': random.c:395:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] random.c:395:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] random.c:408:27: warning: implicit declaration of function 'kremove'; did you mean 'remove'? [-Wimplicit-function-declaration] 408 | while ((c=kremove(i)) >= 0) { | ^~~~~~~ | remove --- region.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c region.c region.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 17 | killregion(f, n) | ^~~~~~~~~~ region.c: In function 'killregion': region.c:17:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] region.c:17:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] region.c:22:16: warning: implicit declaration of function 'getregion' [-Wimplicit-function-declaration] 22 | if ((s=getregion(®ion)) != TRUE) | ^~~~~~~~~ region.c:29:17: warning: implicit declaration of function 'ldelete'; did you mean 'kdelete'? [-Wimplicit-function-declaration] 29 | return (ldelete(region.r_size, KFORW)); | ^~~~~~~ | kdelete region.c: At top level: region.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 39 | copyregion(f, n) | ^~~~~~~~~~ region.c: In function 'copyregion': region.c:39:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] region.c:39:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] region.c:56:32: warning: implicit declaration of function 'kinsert' [-Wimplicit-function-declaration] 56 | if ((s=kinsert('\n', KFORW)) != TRUE) | ^~~~~~~ region.c: At top level: region.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] 77 | lowerregion(f, n) | ^~~~~~~~~~~ region.c: In function 'lowerregion': region.c:77:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] region.c:77:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] region.c: At top level: region.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] 112 | upperregion(f, n) | ^~~~~~~~~~~ region.c: In function 'upperregion': region.c:112:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] region.c:112:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] region.c: At top level: region.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] 153 | getregion(rp) register REGION *rp; { | ^~~~~~~~~ region.c: In function 'getregion': region.c:183:41: warning: implicit declaration of function 'setsize' [-Wimplicit-function-declaration] 183 | return (setsize(rp, | ^~~~~~~ region.c: At top level: region.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] 206 | setsize(rp, size) register REGION *rp; register RSIZE size; { | ^~~~~~~ region.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] 236 | prefixregion(f, n) | ^~~~~~~~~~~~ region.c: In function 'prefixregion': region.c:236:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] region.c:236:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] region.c:244:34: warning: implicit declaration of function 'setprefix' [-Wimplicit-function-declaration] 244 | if ((f == TRUE) && ((s = setprefix(FFRAND, 1)) != TRUE)) | ^~~~~~~~~ region.c:261:24: warning: implicit declaration of function 'gotobol' [-Wimplicit-function-declaration] 261 | (VOID) gotobol(FFRAND, 1); | ^~~~~~~ region.c:263:32: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] 263 | (VOID) linsert(1, *prefix); | ^~~~~~~ region.c:264:24: warning: implicit declaration of function 'forwline' [-Wimplicit-function-declaration] 264 | (VOID) forwline(FFRAND, 1); | ^~~~~~~~ region.c: At top level: region.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] 275 | setprefix(f, n) | ^~~~~~~~~ region.c: In function 'setprefix': region.c:275:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] region.c:275:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] region.c:281:21: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 281 | s = ereply("Prefix string: ",buf,sizeof buf); | ^~~~~~ --- version.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c version.c version.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] 15 | showversion(f, n) | ^~~~~~~~~~~ version.c: In function 'showversion': version.c:18:9: warning: implicit declaration of function 'ewprintf' [-Wimplicit-function-declaration] 18 | ewprintf(version); | ^~~~~~~~ --- window.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c window.c --- word.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c word.c --- window.o --- window.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 17 | reposition(f, n) | ^~~~~~~~~~ window.c: In function 'reposition': window.c:17:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:17:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c: At top level: window.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] 45 | refresh(f, n) | ^~~~~~~ window.c: In function 'refresh': window.c:45:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:45:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c:53:9: warning: implicit declaration of function 'ttresize' [-Wimplicit-function-declaration] 53 | ttresize(); | ^~~~~~~~ window.c: At top level: window.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] 80 | nextwind(f, n) | ^~~~~~~~ window.c: In function 'nextwind': window.c:80:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:80:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c: At top level: window.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | onlywind(f, n) | ^~~~~~~~ window.c: In function 'onlywind': window.c:130:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:130:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c:145:17: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 145 | free((char *) wp); | ^~~~ window.c:5:1: note: include '' or provide a declaration of 'free' 4 | #include "def.h" +++ |+#include 5 | window.c:145:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 145 | free((char *) wp); | ^~~~ window.c:145:17: note: include '' or provide a declaration of 'free' window.c:156:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 156 | free((char *) wp); | ^~~~ window.c:156:17: note: include '' or provide a declaration of 'free' window.c: At top level: window.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int] 179 | splitwind(f, n) | ^~~~~~~~~ window.c: In function 'splitwind': window.c:179:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:179:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c:192:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 192 | if ((wp = (WINDOW *)malloc(sizeof(WINDOW))) == NULL) { | ^~~~~~ window.c:192:29: note: include '' or provide a declaration of 'malloc' window.c:192:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] window.c:192:29: note: include '' or provide a declaration of 'malloc' window.c: At top level: window.c:257:1: warning: return type defaults to 'int' [-Wimplicit-int] 257 | enlargewind(f, n) | ^~~~~~~~~~~ window.c: In function 'enlargewind': window.c:257:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:257:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c:264:24: warning: implicit declaration of function 'shrinkwind' [-Wimplicit-function-declaration] 264 | return shrinkwind(f, -n); | ^~~~~~~~~~ window.c: At top level: window.c:304:1: warning: return type defaults to 'int' [-Wimplicit-int] 304 | shrinkwind(f, n) | ^~~~~~~~~~ window.c: In function 'shrinkwind': window.c:304:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:304:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c: At top level: window.c:354:1: warning: return type defaults to 'int' [-Wimplicit-int] 354 | delwind(f, n) | ^~~~~~~ window.c: In function 'delwind': window.c:354:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] window.c:354:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] window.c:377:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 377 | free((char *) wp); | ^~~~ window.c:377:9: note: include '' or provide a declaration of 'free' --- word.o --- word.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 17 | backword(f, n) | ^~~~~~~~ word.c: In function 'backword': word.c:17:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] word.c:17:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] word.c:19:27: warning: implicit declaration of function 'forwword' [-Wimplicit-function-declaration] 19 | if (n < 0) return forwword(f | FFRAND, -n); | ^~~~~~~~ word.c:20:13: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] 20 | if (backchar(FFRAND, 1) == FALSE) | ^~~~~~~~ word.c:23:24: warning: implicit declaration of function 'inword' [-Wimplicit-function-declaration] 23 | while (inword() == FALSE) { | ^~~~~~ word.c:32:16: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] 32 | return forwchar(FFRAND, 1); | ^~~~~~~~ word.c: At top level: word.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] 41 | forwword(f, n) | ^~~~~~~~ word.c: In function 'forwword': word.c:41:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] word.c:41:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] word.c: At top level: word.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] 64 | upperword(f, n) | ^~~~~~~~~ word.c: In function 'upperword': word.c:64:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] word.c:64:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] word.c: At top level: word.c:94:1: warning: return type defaults to 'int' [-Wimplicit-int] 94 | lowerword(f, n) | ^~~~~~~~~ word.c: In function 'lowerword': word.c:94:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] word.c:94:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] word.c: At top level: word.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] 126 | capword(f, n) | ^~~~~~~ word.c: In function 'capword': word.c:126:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] word.c:126:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] word.c: At top level: word.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] 165 | delfword(f, n) | ^~~~~~~~ word.c: In function 'delfword': word.c:165:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] word.c:165:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] word.c:194:17: warning: implicit declaration of function 'ldelete'; did you mean 'kdelete'? [-Wimplicit-function-declaration] 194 | return (ldelete(size, KFORW)); | ^~~~~~~ | kdelete word.c: At top level: word.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] 210 | delbword(f, n) | ^~~~~~~~ word.c: In function 'delbword': word.c:210:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] word.c:210:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] word.c: At top level: word.c:247:1: warning: return type defaults to 'int' [-Wimplicit-int] 247 | inword() { | ^~~~~~ --- search.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c search.c search.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] 52 | forwsearch(f, n) | ^~~~~~~~~~ search.c: In function 'forwsearch': search.c:52:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] search.c:52:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] search.c:56:16: warning: implicit declaration of function 'readpattern' [-Wimplicit-function-declaration] 56 | if ((s=readpattern("Search")) != TRUE) | ^~~~~~~~~~~ search.c:58:13: warning: implicit declaration of function 'forwsrch'; did you mean 'forwsearch'? [-Wimplicit-function-declaration] 58 | if (forwsrch() == FALSE) { | ^~~~~~~~ | forwsearch search.c: At top level: search.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] 74 | backsearch(f, n) | ^~~~~~~~~~ search.c: In function 'backsearch': search.c:74:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] search.c:74:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] search.c:80:13: warning: implicit declaration of function 'backsrch'; did you mean 'backsearch'? [-Wimplicit-function-declaration] 80 | if (backsrch() == FALSE) { | ^~~~~~~~ | backsearch search.c: At top level: search.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] 95 | searchagain(f, n) | ^~~~~~~~~~~ search.c: In function 'searchagain': search.c:95:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] search.c:95:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] search.c: At top level: search.c:120:1: warning: return type defaults to 'int' [-Wimplicit-int] 120 | forwisearch(f, n) | ^~~~~~~~~~~ search.c: In function 'forwisearch': search.c:120:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] search.c:120:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] search.c:122:16: warning: implicit declaration of function 'isearch'; did you mean 'forwisearch'? [-Wimplicit-function-declaration] 122 | return isearch(SRCH_FORW); | ^~~~~~~ | forwisearch search.c: At top level: search.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | backisearch(f, n) | ^~~~~~~~~~~ search.c: In function 'backisearch': search.c:130:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] search.c:130:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] search.c: At top level: search.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] 146 | isearch(dir) { | ^~~~~~~ search.c: In function 'isearch': search.c:146:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] search.c:174:29: warning: implicit declaration of function 'getkey'; did you mean 'ungetkey'? [-Wimplicit-function-declaration] 174 | switch (c = getkey(FALSE)) { | ^~~~~~ | ungetkey search.c:194:32: warning: implicit declaration of function 'ctrlg' [-Wimplicit-function-declaration] 194 | (VOID) ctrlg(FFRAND, 0); | ^~~~~ search.c:210:32: warning: implicit declaration of function 'forwchar'; did you mean 'forwsearch'? [-Wimplicit-function-declaration] 210 | (VOID) forwchar(FFRAND, 1); | ^~~~~~~~ | forwsearch search.c:213:40: warning: implicit declaration of function 'backchar'; did you mean 'backsearch'? [-Wimplicit-function-declaration] 213 | (VOID) backchar(FFRAND, 1); | ^~~~~~~~ | backsearch search.c:214:33: warning: implicit declaration of function 'ttbeep' [-Wimplicit-function-declaration] 214 | ttbeep(); | ^~~~~~ search.c: In function 'is_prompt': search.c:406:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] 406 | is_prompt(dir, flag, success) { | ^~~~~~~~~ search.c:406:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] search.c:406:1: warning: type of 'success' defaults to 'int' [-Wimplicit-int] search.c: In function 'is_dspl': search.c:426:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] 426 | is_dspl(prompt, flag) char *prompt; { | ^~~~~~~ search.c: At top level: search.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int] 439 | queryrepl(f, n) | ^~~~~~~~~ search.c: In function 'queryrepl': search.c:439:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] search.c:439:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] search.c:454:16: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 454 | if ((s=ereply("Query replace %s with: ",news, NPAT, pat)) == ABORT) | ^~~~~~ search.c:472:29: warning: implicit declaration of function 'lreplace' [-Wimplicit-function-declaration] 472 | if (lreplace((RSIZE) plen, news, f) == FALSE) | ^~~~~~~~ search.c: At top level: search.c:524:1: warning: return type defaults to 'int' [-Wimplicit-int] 524 | forwsrch() { | ^~~~~~~~ search.c:574:1: warning: return type defaults to 'int' [-Wimplicit-int] 574 | backsrch() { | ^~~~~~~~ search.c:652:1: warning: return type defaults to 'int' [-Wimplicit-int] 652 | readpattern(prompt) char *prompt; { | ^~~~~~~~~~~ --- regex.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c regex.c --- re_search.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c re_search.c --- kbd.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c kbd.c kbd.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] 24 | do_meta(f, n) | ^~~~~~~ kbd.c: In function 'do_meta': kbd.c:24:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] kbd.c:24:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] kbd.c: In function 'getkey': kbd.c:74:39: warning: implicit declaration of function 'ttwait' [-Wimplicit-function-declaration] 74 | if(prompt[0]!='\0' && ttwait()) { | ^~~~~~ In file included from def.h:11, from kbd.c:4: ttydef.h:15:26: warning: implicit declaration of function 'ttgetc'; did you mean 'ungetc'? [-Wimplicit-function-declaration] 15 | #define getkbd() (ttgetc()) | ^~~~~~ kbd.c:85:21: note: in expansion of macro 'getkbd' 85 | } else c = getkbd(); | ^~~~~~ kbd.c: At top level: kbd.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 130 | doin() | ^~~~ kbd.c:150:1: warning: return type defaults to 'int' [-Wimplicit-int] 150 | rescan(f, n) | ^~~~~~ kbd.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] 204 | universal_argument(f, n) | ^~~~~~~~~~~~~~~~~~ kbd.c: In function 'universal_argument': kbd.c:215:29: warning: implicit declaration of function 'negative_argument' [-Wimplicit-function-declaration] 215 | if(c == '-') return negative_argument(f, nn); | ^~~~~~~~~~~~~~~~~ kbd.c:216:41: warning: implicit declaration of function 'digit_argument' [-Wimplicit-function-declaration] 216 | if(c >= '0' && c <= '9') return digit_argument(f, nn); | ^~~~~~~~~~~~~~ kbd.c: At top level: kbd.c:237:1: warning: return type defaults to 'int' [-Wimplicit-int] 237 | digit_argument(f, n) | ^~~~~~~~~~~~~~ kbd.c:269:1: warning: return type defaults to 'int' [-Wimplicit-int] 269 | negative_argument(f, n) | ^~~~~~~~~~~~~~~~~ kbd.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] 307 | selfinsert(f, n) | ^~~~~~~~~~ kbd.c: In function 'selfinsert': kbd.c:335:17: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 335 | free((char *)maclcur); | ^~~~ kbd.c:12:1: note: include '' or provide a declaration of 'free' 11 | #include "macro.h" +++ |+#include 12 | #endif kbd.c:335:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 335 | free((char *)maclcur); | ^~~~ kbd.c:335:17: note: include '' or provide a declaration of 'free' kbd.c:357:21: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] 357 | count = lnewline(); | ^~~~~~~~ kbd.c:367:12: warning: implicit declaration of function 'linsert'; did you mean 'insert'? [-Wimplicit-function-declaration] 367 | return linsert(n, c); | ^~~~~~~ | insert kbd.c: At top level: kbd.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int] 374 | quote(f, n) | ^~~~~ kbd.c: In function 'quote': kbd.c:374:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] kbd.c:374:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- macro.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c macro.c macro.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | definemacro(f, n) | ^~~~~~~~~~~ macro.c: In function 'definemacro': macro.c:26:17: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 26 | free((char *)lp1); | ^~~~ macro.c:9:1: note: include '' or provide a declaration of 'free' 8 | #include "macro.h" +++ |+#include 9 | macro.c:26:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 26 | free((char *)lp1); | ^~~~ macro.c:26:17: note: include '' or provide a declaration of 'free' macro.c:28:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 28 | free((char *)lp1); | ^~~~ macro.c:28:13: note: include '' or provide a declaration of 'free' macro.c: At top level: macro.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] 37 | finishmacro(f, n) | ^~~~~~~~~~~ macro.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] 46 | executemacro(f, n) | ^~~~~~~~~~~~ --- main.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c main.c main.c: In function 'main': main.c:80:9: warning: implicit declaration of function 'dirinit' [-Wimplicit-function-declaration] 80 | dirinit(); /* Get current directory */ | ^~~~~~~ main.c:93:24: warning: implicit declaration of function 'load' [-Wimplicit-function-declaration] 93 | (VOID) load(cp); | ^~~~ main.c:98:24: warning: implicit declaration of function 'showbuffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] 98 | (VOID) showbuffer(curbp, curwp, 0); | ^~~~~~~~~~ | setbuffer main.c:99:24: warning: implicit declaration of function 'readin' [-Wimplicit-function-declaration] 99 | (VOID) readin(cp); | ^~~~~~ main.c:110:20: warning: implicit declaration of function 'doin' [-Wimplicit-function-declaration] 110 | switch(doin()) { | ^~~~ main.c:116:21: warning: implicit declaration of function 'ttbeep' [-Wimplicit-function-declaration] 116 | ttbeep(); | ^~~~~~ main.c: In function 'edinit': main.c:135:35: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] 135 | if (bp==NULL || wp==NULL) panic("edinit"); | ^~~~~ main.c: At top level: main.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] 159 | quit(f, n) | ^~~~ main.c: In function 'quit': main.c:159:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] main.c:159:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] main.c:164:18: warning: implicit declaration of function 'anycb' [-Wimplicit-function-declaration] 164 | if ((s = anycb(FALSE)) == ABORT) return ABORT; | ^~~~~ main.c:166:12: warning: implicit declaration of function 'eyesno' [-Wimplicit-function-declaration] 166 | || eyesno("Some modified buffers exist, really exit") == TRUE) { | ^~~~~~ main.c: At top level: main.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] 182 | ctrlg(f, n) | ^~~~~ main.c: In function 'ctrlg': main.c:182:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] main.c:182:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- buffer.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c buffer.c --- display.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c display.c display.c: In function 'vtinit': display.c:127:9: warning: implicit declaration of function 'ttopen'; did you mean 'popen'? [-Wimplicit-function-declaration] 127 | ttopen(); | ^~~~~~ | popen display.c:128:9: warning: implicit declaration of function 'ttinit'; did you mean 'vtinit'? [-Wimplicit-function-declaration] 128 | ttinit(); | ^~~~~~ | vtinit display.c: In function 'vttidy': display.c:150:9: warning: implicit declaration of function 'ttcolor' [-Wimplicit-function-declaration] 150 | ttcolor(CTEXT); | ^~~~~~~ --- buffer.o --- buffer.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] 16 | usebuffer(f, n) | ^~~~~~~~~ buffer.c: In function 'usebuffer': buffer.c:16:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] --- display.o --- display.c:151:9: warning: implicit declaration of function 'ttnowindow' [-Wimplicit-function-declaration] 151 | ttnowindow(); /* No scroll window. */ | ^~~~~~~~~~ --- buffer.o --- buffer.c:16:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- display.o --- display.c:152:9: warning: implicit declaration of function 'ttmove'; did you mean 'vtmove'? [-Wimplicit-function-declaration] 152 | ttmove(nrow-1, 0); /* Echo line. */ | ^~~~~~ | vtmove display.c:153:9: warning: implicit declaration of function 'tteeol'; did you mean 'vteeol'? [-Wimplicit-function-declaration] 153 | tteeol(); | ^~~~~~ | vteeol display.c:154:9: warning: implicit declaration of function 'tttidy'; did you mean 'vttidy'? [-Wimplicit-function-declaration] 154 | tttidy(); | ^~~~~~ | vttidy --- buffer.o --- buffer.c:25:19: warning: implicit declaration of function 'eread'; did you mean 'fread'? [-Wimplicit-function-declaration] 25 | s=eread("Switch to buffer: ", bufn, NBUFN, EFNEW|EFBUF); | ^~~~~ | fread --- display.o --- display.c:155:9: warning: implicit declaration of function 'ttflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 155 | ttflush(); | ^~~~~~~ | fflush display.c:156:9: warning: implicit declaration of function 'ttclose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 156 | ttclose(); | ^~~~~~~ | pclose display.c: In function 'vtmove': display.c:167:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] 167 | vtmove(row, col) { | ^~~~~~ display.c:167:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] --- buffer.o --- buffer.c:36:16: warning: implicit declaration of function 'showbuffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] 36 | return showbuffer(bp, curwp, WFFORCE|WFHARD); | ^~~~~~~~~~ | setbuffer buffer.c: At top level: buffer.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] 43 | poptobuffer(f, n) | ^~~~~~~~~~~ buffer.c: In function 'poptobuffer': --- display.o --- display.c: In function 'update': --- buffer.o --- buffer.c:43:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] --- display.o --- display.c:279:13: warning: implicit declaration of function 'typeahead' [-Wimplicit-function-declaration] 279 | if (typeahead()) return; | ^~~~~~~~~ --- buffer.o --- buffer.c:43:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] buffer.c: At top level: buffer.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] 78 | killbuffer(f, n) | ^~~~~~~~~~ buffer.c: In function 'killbuffer': buffer.c:78:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:78:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- display.o --- display.c:418:17: warning: implicit declaration of function 'tteeop'; did you mean 'vteeol'? [-Wimplicit-function-declaration] 418 | tteeop(); | ^~~~~~ | vteeol display.c:461:25: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] 461 | panic("Illegal screen size in update"); | ^~~~~ --- buffer.o --- buffer.c:108:13: warning: implicit declaration of function 'bclear' [-Wimplicit-function-declaration] 108 | if (bclear(bp) != TRUE) return TRUE; | ^~~~~~ buffer.c:112:63: warning: comparison between pointer and integer 112 | if(showbuffer(bp1, wp, WFMODE|WFFORCE|WFHARD) != NULL) | ^~ --- display.o --- display.c: In function 'uline': --- buffer.o --- buffer.c:118:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 118 | free((char *) bp->b_linep); /* Release header line. */ | ^~~~ --- display.o --- display.c:536:6: warning: type of 'row' defaults to 'int' [-Wimplicit-int] 536 | VOID uline(row, vvp, pvp) VIDEO *vvp; VIDEO *pvp; { | ^~~~~ --- buffer.o --- buffer.c:6:1: note: include '' or provide a declaration of 'free' 5 | #include "kbd.h" /* needed for modes */ +++ |+#include 6 | buffer.c:118:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 118 | free((char *) bp->b_linep); /* Release header line. */ | ^~~~ buffer.c:118:9: note: include '' or provide a declaration of 'free' --- display.o --- display.c:565:25: warning: implicit declaration of function 'ttputc'; did you mean 'vtputc'? [-Wimplicit-function-declaration] 565 | ttputc(*cp1++); | ^~~~~~ | vtputc --- buffer.o --- buffer.c: At top level: buffer.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] 146 | savebuffers(f, n) | ^~~~~~~~~~~ buffer.c: In function 'savebuffers': buffer.c:146:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:146:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- display.o --- display.c: In function 'modeline': display.c:646:14: warning: implicit declaration of function 'vtputs'; did you mean 'vtpute'? [-Wimplicit-function-declaration] 646 | n += vtputs("Mg: "); | ^~~~~~ | vtpute display.c: At top level: display.c:671:1: warning: return type defaults to 'int' [-Wimplicit-int] 671 | vtputs(s) register char *s; { | ^~~~~~ display.c: In function 'setscores': display.c:740:1: warning: type of 'offs' defaults to 'int' [-Wimplicit-int] 740 | setscores(offs, size) { | ^~~~~~~~~ display.c:740:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] --- buffer.o --- buffer.c:148:13: warning: implicit declaration of function 'anycb' [-Wimplicit-function-declaration] 148 | if (anycb(f) == ABORT) return ABORT; | ^~~~~ buffer.c: At top level: buffer.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] 160 | listbuffers(f, n) | ^~~~~~~~~~~ buffer.c: In function 'listbuffers': buffer.c:160:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] --- display.o --- display.c: In function 'traceback': --- buffer.o --- buffer.c:160:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] --- display.o --- display.c:826:6: warning: type of 'offs' defaults to 'int' [-Wimplicit-int] 826 | VOID traceback(offs, size, i, j) { | ^~~~~~~~~ display.c:826:6: warning: type of 'size' defaults to 'int' [-Wimplicit-int] display.c:826:6: warning: type of 'i' defaults to 'int' [-Wimplicit-int] display.c:826:6: warning: type of 'j' defaults to 'int' [-Wimplicit-int] --- buffer.o --- buffer.c: In function 'makelist': buffer.c:200:13: warning: implicit declaration of function 'addline' [-Wimplicit-function-declaration] 200 | if (addline(blp, line) == FALSE) return NULL; | ^~~~~~~ buffer.c: At top level: buffer.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] 277 | addline(bp, text) register BUFFER *bp; char *text; { | ^~~~~~~ buffer.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] 307 | anycb(f) { | ^~~~~ buffer.c: In function 'anycb': buffer.c:307:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:318:51: warning: implicit declaration of function 'eyorn' [-Wimplicit-function-declaration] 318 | if ((f == TRUE || (save = eyorn(prompt)) == TRUE) | ^~~~~ buffer.c:319:29: warning: implicit declaration of function 'buffsave' [-Wimplicit-function-declaration] 319 | && buffsave(bp) == TRUE) { | ^~~~~~~~ buffer.c: In function 'bfind': buffer.c:340:1: warning: type of 'cflag' defaults to 'int' [-Wimplicit-int] 340 | bfind(bname, cflag) register char *bname; { | ^~~~~ buffer.c:342:26: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 342 | char *malloc(); | ^~~~~~ buffer.c:342:26: note: 'malloc' is declared in header '' buffer.c:363:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 363 | free((char *) bp); | ^~~~ buffer.c:363:17: note: include '' or provide a declaration of 'free' buffer.c:367:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 367 | free(bp->b_bname); | ^~~~ buffer.c:367:17: note: include '' or provide a declaration of 'free' buffer.c: At top level: buffer.c:403:1: warning: return type defaults to 'int' [-Wimplicit-int] 403 | bclear(bp) register BUFFER *bp; { | ^~~~~~ buffer.c: In function 'bclear': buffer.c:409:15: warning: implicit declaration of function 'eyesno' [-Wimplicit-function-declaration] 409 | && (s=eyesno("Buffer modified; kill anyway")) != TRUE) | ^~~~~~ buffer.c: At top level: buffer.c:425:1: warning: return type defaults to 'int' [-Wimplicit-int] 425 | showbuffer(bp, wp, flags) register BUFFER *bp; register WINDOW *wp; { | ^~~~~~~~~~ buffer.c: In function 'showbuffer': buffer.c:425:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] buffer.c: At top level: buffer.c:490:1: warning: return type defaults to 'int' [-Wimplicit-int] 490 | bufferinsert(f, n) | ^~~~~~~~~~~~ buffer.c: In function 'bufferinsert': buffer.c:490:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:490:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] buffer.c:521:29: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] 521 | if (linsert(1, lgetc(clp, clo)) == FALSE) | ^~~~~~~ buffer.c:524:21: warning: implicit declaration of function 'newline'; did you mean 'getline'? [-Wimplicit-function-declaration] 524 | if (newline(FFRAND, 1) == FALSE) /* fake newline */ | ^~~~~~~ | getline buffer.c: At top level: buffer.c:545:1: warning: return type defaults to 'int' [-Wimplicit-int] 545 | notmodified(f, n) | ^~~~~~~~~~~ buffer.c: In function 'notmodified': buffer.c:545:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:545:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] buffer.c: At top level: buffer.c:566:1: warning: return type defaults to 'int' [-Wimplicit-int] 566 | popbuftop(bp) | ^~~~~~~~~ --- keymap.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c keymap.c keymap.c:1072:9: warning: return type defaults to 'int' [-Wimplicit-int] 1072 | static name_fent(fname, flag) | ^~~~~~~~~ keymap.c:1107:1: warning: return type defaults to 'int' [-Wimplicit-int] 1107 | complete_function(fname, c) | ^~~~~~~~~~~~~~~~~ keymap.c: In function 'complete_function': keymap.c:1107:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] --- modes.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c modes.c modes.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] 52 | indentmode(f, n) | ^~~~~~~~~~ modes.c: In function 'indentmode': modes.c:52:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] modes.c:52:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] modes.c: At top level: modes.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] 57 | fillmode(f, n) | ^~~~~~~~ modes.c: In function 'fillmode': modes.c:57:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] modes.c:57:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] modes.c: At top level: modes.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] 65 | blinkparen(f, n) | ^~~~~~~~~~ modes.c: In function 'blinkparen': modes.c:65:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] modes.c:65:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] modes.c: At top level: modes.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] 82 | overwrite(f, n) | ^~~~~~~~~ modes.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] 93 | set_default_mode(f, n) | ^~~~~~~~~~~~~~~~ modes.c: In function 'set_default_mode': modes.c:100:8: warning: implicit declaration of function 'eread'; did you mean 'fread'? [-Wimplicit-function-declaration] 100 | if(eread("Set Default Mode: ", mode, 32, EFNEW) != TRUE) | ^~~~~ | fread --- dired.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c dired.c dired.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] 11 | dired(f, n) | ^~~~~ dired.c: In function 'dired': dired.c:18:8: warning: implicit declaration of function 'eread'; did you mean 'fread'? [-Wimplicit-function-declaration] 18 | if(eread("Dired: ", dirname, NFILEN, EFNEW | EFCR) == ABORT) | ^~~~~ | fread dired.c:22:12: warning: implicit declaration of function 'showbuffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] 22 | return showbuffer(bp, curwp, WFHARD | WFMODE); | ^~~~~~~~~~ | setbuffer dired.c: At top level: dired.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] 26 | d_otherwindow(f, n) | ^~~~~~~~~~~~~ dired.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] 44 | d_del(f, n) | ^~~~~ dired.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] 60 | d_undel(f, n) | ^~~~~~~ dired.c: In function 'd_undel': dired.c:63:22: warning: implicit declaration of function 'd_undelbak'; did you mean 'd_undel'? [-Wimplicit-function-declaration] 63 | if(n < 0) return d_undelbak(f, -n); | ^~~~~~~~~~ | d_undel dired.c: At top level: dired.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] 76 | d_undelbak(f, n) | ^~~~~~~~~~ dired.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] 92 | d_findfile(f, n) | ^~~~~~~~~~ dired.c: In function 'd_findfile': dired.c:100:13: warning: implicit declaration of function 'd_makename' [-Wimplicit-function-declaration] 100 | if((s = d_makename(curwp->w_dotp, fname)) == ABORT) return FALSE; | ^~~~~~~~~~ dired.c:105:12: warning: implicit declaration of function 'readin' [-Wimplicit-function-declaration] 105 | return readin(fname); | ^~~~~~ dired.c: At top level: dired.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] 109 | d_ffotherwindow(f, n) | ^~~~~~~~~~~~~~~ dired.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] 128 | d_expunge(f, n) | ^~~~~~~~~ dired.c: In function 'd_expunge': dired.c:143:24: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 143 | if(unlink(fname) < 0) { | ^~~~~~ In file included from def.h:10, from dired.c:4: sysdef.h:27:25: warning: implicit declaration of function 'rmdir' [-Wimplicit-function-declaration] 27 | #define unlinkdir(fn) rmdir(fn) /* unlink directory */ | ^~~~~ dired.c:149:24: note: in expansion of macro 'unlinkdir' 149 | if(unlinkdir(fname) < 0) { | ^~~~~~~~~ dired.c: At top level: dired.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] 163 | d_copy(f, n) | ^~~~~~ dired.c: In function 'd_copy': dired.c:175:12: warning: implicit declaration of function 'copy'; did you mean 'bcopy'? [-Wimplicit-function-declaration] 175 | return copy(frname, toname) >= 0; | ^~~~ | bcopy dired.c: At top level: dired.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int] 179 | d_rename(f, n) | ^~~~~~~~ --- extend.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c extend.c --- help.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c help.c --- extend.o --- extend.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] 28 | insert(f, n) | ^~~~~~ extend.c: In function 'insert': extend.c:40:60: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] 40 | if((((c=maclcur->l_text[count]) == '\n') ? lnewline() | ^~~~~~~~ extend.c:41:23: warning: implicit declaration of function 'linsert'; did you mean 'insert'? [-Wimplicit-function-declaration] 41 | : linsert(1, c)) != TRUE) return FALSE; | ^~~~~~~ | insert extend.c:49:8: warning: implicit declaration of function 'eread'; did you mean 'fread'? [-Wimplicit-function-declaration] 49 | if(eread("Insert: ", buf, sizeof(buf), EFNEW) == FALSE) return FALSE; | ^~~~~ | fread extend.c: In function 'dobind': extend.c:324:40: warning: implicit declaration of function 'getkey'; did you mean 'getkbd'? [-Wimplicit-function-declaration] 324 | pep = keyname(pep, c = getkey(FALSE)); | ^~~~~~ | getkbd extend.c: At top level: extend.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] 386 | bindtokey(f, n) | ^~~~~~~~~ extend.c: In function 'bindtokey': extend.c:386:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:386:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c: At top level: extend.c:395:1: warning: return type defaults to 'int' [-Wimplicit-int] 395 | localbind(f, n) | ^~~~~~~~~ extend.c: In function 'localbind': extend.c:395:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:395:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c: At top level: extend.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] 405 | define_key(f, n) | ^~~~~~~~~~ extend.c: In function 'define_key': extend.c:405:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:405:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c: At top level: extend.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int] 420 | unbindtokey(f, n) | ^~~~~~~~~~~ extend.c:426:1: warning: return type defaults to 'int' [-Wimplicit-int] 426 | localunbind(f, n) | ^~~~~~~~~~~ extend.c:440:1: warning: return type defaults to 'int' [-Wimplicit-int] 440 | extend(f, n) | ^~~~~~ extend.c: In function 'extend': extend.c:440:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:440:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c: At top level: extend.c:485:1: warning: return type defaults to 'int' [-Wimplicit-int] 485 | evalexpr(f, n) | ^~~~~~~~ extend.c: In function 'evalexpr': extend.c:485:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:485:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c:490:18: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] 490 | if ((s = ereply("Eval: ", exbuf, 128)) != TRUE) | ^~~~~~ extend.c:492:16: warning: implicit declaration of function 'excline' [-Wimplicit-function-declaration] 492 | return excline(exbuf); | ^~~~~~~ extend.c: At top level: extend.c:499:1: warning: return type defaults to 'int' [-Wimplicit-int] 499 | evalbuffer(f, n) | ^~~~~~~~~~ extend.c: In function 'evalbuffer': extend.c:499:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:499:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c: At top level: extend.c:519:1: warning: return type defaults to 'int' [-Wimplicit-int] 519 | evalfile(f, n) | ^~~~~~~~ extend.c: In function 'evalfile': extend.c:519:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:519:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c:526:16: warning: implicit declaration of function 'load' [-Wimplicit-function-declaration] 526 | return load(fname); | ^~~~ extend.c: At top level: extend.c:532:1: warning: return type defaults to 'int' [-Wimplicit-int] 532 | load(fname) char *fname; { | ^~~~ extend.c: In function 'load': extend.c:540:13: warning: implicit declaration of function 'ffropen'; did you mean 'fdopen'? [-Wimplicit-function-declaration] 540 | if (ffropen(fname) != FIOSUC) return FALSE; | ^~~~~~~ | fdopen extend.c:541:21: warning: implicit declaration of function 'ffgetline'; did you mean 'getline'? [-Wimplicit-function-declaration] 541 | while ((s = ffgetline(excbuf, sizeof(excbuf)-1, &nbytes)) == FIOSUC) { | ^~~~~~~~~ | getline extend.c:549:16: warning: implicit declaration of function 'ffclose'; did you mean 'fclose'? [-Wimplicit-function-declaration] 549 | (VOID) ffclose(); | ^~~~~~~ | fclose extend.c: At top level: extend.c:563:1: warning: return type defaults to 'int' [-Wimplicit-int] 563 | excline(line) | ^~~~~~~ --- help.o --- help.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] 21 | desckey(f, n) | ^~~~~~~ help.c: In function 'desckey': help.c:21:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] help.c:21:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] help.c:43:65: warning: implicit declaration of function 'getkey'; did you mean 'getkbd'? [-Wimplicit-function-declaration] 43 | pep = keyname(pep, key.k_chars[key.k_count++] = c = getkey(FALSE)); | ^~~~~~ | getkbd help.c: At top level: help.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] 95 | wallchart(f, n) | ^~~~~~~~~ help.c: In function 'wallchart': help.c:95:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] help.c:95:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] help.c:101:13: warning: implicit declaration of function 'bclear' [-Wimplicit-function-declaration] 101 | if (bclear(bp) != TRUE) return FALSE; /* Clear it out. */ | ^~~~~~ help.c:105:17: warning: implicit declaration of function 'addline' [-Wimplicit-function-declaration] 105 | if((addline(bp, locbind) == FALSE) || | ^~~~~~~ help.c:111:16: warning: implicit declaration of function 'popbuftop'; did you mean 'popbuf'? [-Wimplicit-function-declaration] 111 | return popbuftop(bp); | ^~~~~~~~~ | popbuf help.c: At top level: help.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] 167 | help_help(f, n) | ^~~~~~~~~ help.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] 190 | apropos_command(f, n) | ^~~~~~~~~~~~~~~ help.c: In function 'apropos_command': help.c:198:8: warning: implicit declaration of function 'eread'; did you mean 'fread'? [-Wimplicit-function-declaration] 198 | if(eread("apropos: ", string, sizeof(string), EFNEW) == ABORT) return ABORT; | ^~~~~ | fread --- echo.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c echo.c echo.c: In function 'eerase': echo.c:34:9: warning: implicit declaration of function 'ttcolor' [-Wimplicit-function-declaration] 34 | ttcolor(CTEXT); | ^~~~~~~ echo.c:35:9: warning: implicit declaration of function 'ttmove'; did you mean 'remove'? [-Wimplicit-function-declaration] 35 | ttmove(nrow-1, 0); | ^~~~~~ | remove echo.c:36:9: warning: implicit declaration of function 'tteeol'; did you mean 'ttdell'? [-Wimplicit-function-declaration] 36 | tteeol(); | ^~~~~~ | ttdell echo.c:37:9: warning: implicit declaration of function 'ttflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 37 | ttflush(); | ^~~~~~~ | fflush echo.c: At top level: echo.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] 48 | eyorn(sp) char *sp; { | ^~~~~ echo.c: In function 'eyorn': echo.c:56:21: warning: implicit declaration of function 'getkey'; did you mean 'getkbd'? [-Wimplicit-function-declaration] 56 | s = getkey(FALSE); | ^~~~~~ | getkbd echo.c:59:44: warning: implicit declaration of function 'ctrlg' [-Wimplicit-function-declaration] 59 | if (s == CCHR('G')) return ctrlg(FFRAND, 1); | ^~~~~ echo.c: At top level: echo.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] 69 | eyesno(sp) char *sp; { | ^~~~~~ echo.c: In function 'eyesno': echo.c:86:29: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 86 | free((char *)lp); | ^~~~ echo.c:14:1: note: include '' or provide a declaration of 'free' 13 | # include "macro.h" +++ |+#include 14 | #endif echo.c:86:29: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 86 | free((char *)lp); | ^~~~ echo.c:86:29: note: include '' or provide a declaration of 'free' echo.c: At top level: echo.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] 109 | ereply(char *fp, char *buf, int nbuf, ...) | ^~~~~~ echo.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] 129 | eread(char *fp, char *buf, int nbuf, int flag, ...) | ^~~~~ echo.c:140:8: warning: return type defaults to 'int' [-Wimplicit-int] 140 | static veread(fp, buf, nbuf, flag, ap) char *fp; char *buf; va_list ap; { | ^~~~~~ echo.c: In function 'veread': echo.c:140:8: warning: type of 'nbuf' defaults to 'int' [-Wimplicit-int] echo.c:140:8: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] echo.c:180:33: warning: implicit declaration of function 'ttputc'; did you mean 'eputc'? [-Wimplicit-function-declaration] 180 | ttputc(CCHR('M')); | ^~~~~~ | eputc echo.c: In function 'complt': echo.c:284:12: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] 284 | static int complt(flags, c, buf, cpos) | ^~~~~~ echo.c:284:12: warning: type of 'c' defaults to 'int' [-Wimplicit-int] echo.c:297:17: warning: implicit declaration of function 'complete_function' [-Wimplicit-function-declaration] 297 | i = complete_function(buf, c); | ^~~~~~~~~~~~~~~~~ echo.c:320:18: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] 320 | else panic("broken complt call: flags"); | ^~~~~ echo.c:339:41: warning: implicit declaration of function 'getxtra' [-Wimplicit-function-declaration] 339 | bxtra = getxtra(lh, lh2, cpos, wflag); | ^~~~~~~ echo.c: At top level: echo.c:390:1: warning: return type defaults to 'int' [-Wimplicit-int] 390 | getxtra(lp1, lp2, cpos, wflag) register LIST *lp1, *lp2; register int wflag; { | ^~~~~~~ echo.c: In function 'getxtra': echo.c:390:1: warning: type of 'cpos' defaults to 'int' [-Wimplicit-int] --- cinfo.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c cinfo.c --- spawn.o --- cc -pipe -O2 -I/usr/pkg/include/ncurses -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -I/usr/pkg/include/ncurses -c spawn.c spawn.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | spawncli(f, n) { | ^~~~~~~~ spawn.c: In function 'spawncli': spawn.c:40:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] spawn.c:40:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] spawn.c:44:25: error: storage size of 'status' isn't known 44 | union wait status; | ^~~~~~ spawn.c:53:9: warning: implicit declaration of function 'ttcolor' [-Wimplicit-function-declaration] 53 | ttcolor(CTEXT); | ^~~~~~~ spawn.c:54:9: warning: implicit declaration of function 'ttnowindow' [-Wimplicit-function-declaration] 54 | ttnowindow(); | ^~~~~~~~~~ spawn.c:57:25: warning: implicit declaration of function 'ttmove'; did you mean 'remove'? [-Wimplicit-function-declaration] 57 | ttmove(nrow-1, 0); | ^~~~~~ | remove spawn.c:58:25: warning: implicit declaration of function 'tteeol'; did you mean 'ttdell'? [-Wimplicit-function-declaration] 58 | tteeol(); | ^~~~~~ | ttdell spawn.c:69:13: warning: implicit declaration of function 'ttcooked' [-Wimplicit-function-declaration] 69 | if (ttcooked() == FALSE) | ^~~~~~~~ spawn.c:72:17: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 72 | omask = sigsetmask(0); | ^~~~~ In file included from spawn.c:11: /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ spawn.c:74:17: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 74 | (void) sigsetmask(omask); | ^ In file included from spawn.c:11: /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ spawn.c:78:26: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 78 | if ((pid=fork()) < 0) { | ^~~~ spawn.c:85:25: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] 85 | execl(shellp, "sh", "-i", NULL); | ^~~~~ spawn.c:85:25: warning: incompatible implicit declaration of built-in function 'execl' [-Wbuiltin-declaration-mismatch] spawn.c:86:25: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 86 | _exit(0); /* Should do better! */ | ^~~~~ spawn.c:86:25: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] spawn.c:95:16: warning: implicit declaration of function 'ttraw' [-Wimplicit-function-declaration] 95 | return ttraw(); | ^~~~~ *** [spawn.o] Error code 1 bmake: stopped in /home/pbulk/build/editors/mg2a/work/mg2a 1 error bmake: stopped in /home/pbulk/build/editors/mg2a/work/mg2a *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/mg2a *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/editors/mg2a