=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for mg2a-1.11nb2 gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c basic.c basic.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] backchar(f, n) ^ basic.c: In function 'backchar': basic.c:31:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:36:20: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] if (n < 0) return forwchar(f, -n); ^ basic.c: At top level: basic.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] 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:9: warning: implicit declaration of function 'setmark' [-Wimplicit-function-declaration] (VOID) setmark(f, n) ; ^ basic.c: At top level: basic.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:10: warning: implicit declaration of function 'backline' [-Wimplicit-function-declaration] return backline(f|FFRAND, -n); ^ basic.c:156:20: warning: implicit declaration of function 'getgoal' [-Wimplicit-function-declaration] curwp->w_doto = getgoal(dlp); ^ basic.c: At top level: basic.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:12: warning: implicit declaration of function 'getcolpos' [-Wimplicit-function-declaration] curgoal = getcolpos() - 1; /* Get the position. */ ^ basic.c: At top level: basic.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] getgoal(dlp) register LINE *dlp; { ^ basic.c:244:1: warning: return type defaults to 'int' [-Wimplicit-int] forwpage(f, n) ^ basic.c: In function 'forwpage': basic.c:244:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:254:10: warning: implicit declaration of function 'backpage' [-Wimplicit-function-declaration] return backpage(f|FFRAND, -n); ^ basic.c: At top level: basic.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:9: warning: implicit declaration of function 'nextwind' [-Wimplicit-function-declaration] (VOID) nextwind(f, n); ^ basic.c: At top level: basic.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] gotoline(f, n) ^ basic.c: In function 'gotoline': basic.c:413:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] basic.c:421:10: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] if ((s=ereply("Goto line: ", buf, sizeof(buf))) != TRUE) ^ basic.c:423:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] n = atoi(buf); ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c dir.c dir.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] dirinit() ^ dir.c: In function 'dirinit': dir.c:25:3: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] panic("Can't get current directory!"); ^ dir.c: At top level: dir.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] if ((s=ereply("Change default directory: ", bufc, NPAT)) != TRUE) ^ dir.c:41:6: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(bufc) == -1) { ^ dir.c: At top level: dir.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c dired.c dired.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] dired(f, n) ^ dired.c: In function 'dired': dired.c:18:8: warning: implicit declaration of function 'eread' [-Wimplicit-function-declaration] if(eread("Dired: ", dirname, NFILEN, EFNEW | EFCR) == ABORT) ^ dired.c:22:12: warning: implicit declaration of function 'showbuffer' [-Wimplicit-function-declaration] return showbuffer(bp, curwp, WFHARD | WFMODE); ^ dired.c: At top level: dired.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] d_otherwindow(f, n) ^ dired.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] d_del(f, n) ^ dired.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] d_undel(f, n) ^ dired.c: In function 'd_undel': dired.c:63:22: warning: implicit declaration of function 'd_undelbak' [-Wimplicit-function-declaration] if(n < 0) return d_undelbak(f, -n); ^ dired.c: At top level: dired.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] d_undelbak(f, n) ^ dired.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] d_findfile(f, n) ^ dired.c: In function 'd_findfile': dired.c:100:13: warning: implicit declaration of function 'd_makename' [-Wimplicit-function-declaration] if((s = d_makename(curwp->w_dotp, fname)) == ABORT) return FALSE; ^ dired.c:105:12: warning: implicit declaration of function 'readin' [-Wimplicit-function-declaration] return readin(fname); ^ dired.c: At top level: dired.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] d_ffotherwindow(f, n) ^ dired.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] d_expunge(f, n) ^ dired.c: In function 'd_expunge': dired.c:143:10: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] if(unlink(fname) < 0) { ^ In file included from def.h:10:0, from dired.c:4: sysdef.h:27:23: warning: implicit declaration of function 'rmdir' [-Wimplicit-function-declaration] #define unlinkdir(fn) rmdir(fn) /* unlink directory */ ^ dired.c:149:10: note: in expansion of macro 'unlinkdir' if(unlinkdir(fname) < 0) { ^ dired.c: At top level: dired.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] d_copy(f, n) ^ dired.c: In function 'd_copy': dired.c:175:12: warning: implicit declaration of function 'copy' [-Wimplicit-function-declaration] return copy(frname, toname) >= 0; ^ dired.c: At top level: dired.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int] d_rename(f, n) ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c file.c file.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] if ((s=ereply("Insert file: ", fname, NFILEN)) != TRUE) ^ file.c:27:9: warning: implicit declaration of function 'insertfile' [-Wimplicit-function-declaration] return insertfile(adjustname(fname), (char *) NULL); ^ file.c: At top level: file.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:6: warning: implicit declaration of function 'showbuffer' [-Wimplicit-function-declaration] if (showbuffer(bp, curwp, WFHARD) != TRUE) return FALSE; ^ file.c:54:10: warning: implicit declaration of function 'readin' [-Wimplicit-function-declaration] return readin(adjf); /* Read it in. */ ^ file.c: At top level: file.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] readin(fname) char *fname; { ^ file.c: In function 'readin': file.c:134:6: warning: implicit declaration of function 'bclear' [-Wimplicit-function-declaration] if (bclear(curbp) != TRUE) /* Might be old. */ ^ file.c: At top level: file.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] insertfile(fname, newname) char fname[], newname[]; { ^ file.c: In function 'insertfile': file.c:173:9: warning: implicit declaration of function 'ffropen' [-Wimplicit-function-declaration] if ((s=ffropen(fname)) == FIOERR) /* Hard file open. */ ^ file.c:183:9: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] (VOID) lnewline(); ^ file.c:191:12: warning: implicit declaration of function 'ffgetline' [-Wimplicit-function-declaration] while ((s=ffgetline(line, NLINE, &nbytes)) != FIOERR) { ^ file.c:216:13: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if((cp = malloc((unsigned)(nbytes + NLINE))) == NULL) { ^ file.c:216:13: warning: incompatible implicit declaration of built-in function 'malloc' file.c:216:13: note: include '' or provide a declaration of 'malloc' file.c:220:19: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] if(nbytes) free(cp2); ^ file.c:220:19: warning: incompatible implicit declaration of built-in function 'free' file.c:220:19: note: include '' or provide a declaration of 'free' file.c:225:8: warning: incompatible implicit declaration of built-in function 'free' free(cp2); ^ file.c:225:8: note: include '' or provide a declaration of 'free' file.c:231:5: warning: incompatible implicit declaration of built-in function 'free' free(cp); ^ file.c:231:5: note: include '' or provide a declaration of 'free' file.c:256:9: warning: implicit declaration of function 'ffclose' [-Wimplicit-function-declaration] (VOID) ffclose(); /* Ignore errors. */ ^ file.c:264:9: warning: implicit declaration of function 'ldelnewline' [-Wimplicit-function-declaration] (VOID) ldelnewline(); ^ file.c: At top level: file.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'writeout' [-Wimplicit-function-declaration] if ((s=writeout(curbp, adjfname)) == TRUE) { ^ file.c: At top level: file.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'buffsave' [-Wimplicit-function-declaration] return buffsave(curbp); ^ file.c: At top level: file.c:393:1: warning: return type defaults to 'int' [-Wimplicit-int] buffsave(bp) BUFFER *bp; { ^ file.c:451:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] if (0 != system(cmd)) printf(".orig backup failed: '%s'\n", cmd); ^ file.c:582:9: warning: implicit declaration of function 'ffwopen' [-Wimplicit-function-declaration] if ((s=ffwopen(fn)) != FIOSUC) /* Open writes message. */ ^ file.c:584:6: warning: implicit declaration of function 'ffputbuf' [-Wimplicit-function-declaration] s = ffputbuf(bp); ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c line.c line.c: In function 'lalloc': line.c:60:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if((lp = (LINE *)malloc((unsigned)size)) == NULL) { ^ line.c:60:19: warning: incompatible implicit declaration of built-in function 'malloc' line.c:60:19: note: include '' or provide a declaration of 'malloc' line.c: In function 'lfree': line.c:127:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *) lp); ^ line.c:127:2: warning: incompatible implicit declaration of built-in function 'free' line.c:127:2: 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] linsert(n, c) ^ line.c: In function 'linsert': line.c:168:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] line.c:226:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) lp1); ^ line.c:226:3: 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] lnewline() ^ line.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:8: warning: implicit declaration of function 'ldelnewline' [-Wimplicit-function-declaration] if (ldelnewline() == FALSE ^ line.c:344:24: warning: implicit declaration of function 'kinsert' [-Wimplicit-function-declaration] || (kflag!=KNONE && kinsert('\n', kflag)==FALSE)) ^ line.c:354:9: warning: implicit declaration of function 'kgrow' [-Wimplicit-function-declaration] if (kgrow(FALSE) == FALSE) return FALSE; ^ line.c:362:30: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] } 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] ldelnewline() { ^ line.c: In function 'ldelnewline': line.c:423:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) lp2); ^ line.c:423:3: note: include '' or provide a declaration of 'free' line.c:450:2: warning: incompatible implicit declaration of built-in function 'free' free((char *) lp1); ^ line.c:450:2: 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] lreplace(plen, st, f) ^ line.c: In function 'lreplace': line.c:477:9: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] (VOID) backchar(FFARG | FFRAND, (int) plen); ^ line.c:517:12: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] (VOID) forwchar(FFRAND, 1); ^ line.c: In function 'kdelete': line.c:544:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) kbufp); ^ line.c:544:3: 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] 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] kgrow(back) { ^ line.c: In function 'kgrow': line.c:575:1: warning: type of 'back' defaults to 'int' [-Wimplicit-int] line.c:584:13: warning: incompatible implicit declaration of built-in function 'malloc' if ((nbufp=malloc((unsigned)(ksize+KBLOCK))) == NULL) { ^ line.c:584:13: note: include '' or provide a declaration of 'malloc' line.c:591:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) kbufp); ^ line.c:591:3: 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] kremove(n) { ^ line.c: In function 'kremove': line.c:605:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c match.c match.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:12: warning: implicit declaration of function 'selfinsert' [-Wimplicit-function-declaration] if ((s = selfinsert(FFRAND, 1)) != TRUE) ^ match.c:51:4: warning: implicit declaration of function 'ttbeep' [-Wimplicit-function-declaration] ttbeep(); ^ match.c: At top level: match.c:64:8: warning: return type defaults to 'int' [-Wimplicit-int] static balance() ^ match.c: In function 'displaymatch': match.c:162:3: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); /* wait a bit */ ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c paragraph.c paragraph.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:10: warning: implicit declaration of function 'gotoeop' [-Wimplicit-function-declaration] return gotoeop(f, -n); ^ paragraph.c:25:10: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] while (backchar(FFRAND, 1) && !inword()) {} ^ paragraph.c:25:34: warning: implicit declaration of function 'inword' [-Wimplicit-function-declaration] while (backchar(FFRAND, 1) && !inword()) {} ^ paragraph.c: At top level: paragraph.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] while(forwchar(FFRAND, 1) && !inword()) {} ^ paragraph.c: At top level: paragraph.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:10: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] (VOID) lnewline(); ^ paragraph.c:126:7: warning: implicit declaration of function 'ldelete' [-Wimplicit-function-declaration] if (ldelete((RSIZE) 1, KNONE) == FALSE && !eopflag) ^ paragraph.c:157:13: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] (VOID) linsert(1, ' '); ^ paragraph.c: At top level: paragraph.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:17: warning: implicit declaration of function 'killregion' [-Wimplicit-function-declaration] if ((status = killregion(FFRAND, 1)) != TRUE) ^ paragraph.c: At top level: paragraph.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:34: warning: implicit declaration of function 'selfinsert' [-Wimplicit-function-declaration] if (i == curwp->w_doto) return selfinsert(f, n) ; ^ paragraph.c:256:9: warning: implicit declaration of function 'delwhite' [-Wimplicit-function-declaration] (VOID) delwhite(FFRAND, 1); ^ paragraph.c: At top level: paragraph.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c random.c random.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:43: warning: implicit declaration of function 'getcolpos' [-Wimplicit-function-declaration] cbyte, cbyte, cchar, ratio, cline, row, getcolpos()); ^ random.c: At top level: random.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] getcolpos() { ^ random.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:7: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] s = lnewline(); ^ random.c:134:7: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] 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] 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:11: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] if ((s=forwchar(FFRAND, 1)) != TRUE) ^ random.c: At top level: random.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'ldelete' [-Wimplicit-function-declaration] return ldelete((RSIZE)nld, KNONE); ^ random.c: At top level: random.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'delwhite' [-Wimplicit-function-declaration] (VOID) delwhite(f, n); ^ random.c:204:9: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] return linsert(1, ' '); ^ random.c: At top level: random.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] 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:10: warning: implicit declaration of function 'backdel' [-Wimplicit-function-declaration] return backdel(f | FFRAND, -n); ^ random.c: At top level: random.c:302:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] 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:13: warning: implicit declaration of function 'kremove' [-Wimplicit-function-declaration] while ((c=kremove(i)) >= 0) { ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c region.c region.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'getregion' [-Wimplicit-function-declaration] if ((s=getregion(®ion)) != TRUE) ^ region.c:29:10: warning: implicit declaration of function 'ldelete' [-Wimplicit-function-declaration] return (ldelete(region.r_size, KFORW)); ^ region.c: At top level: region.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:11: warning: implicit declaration of function 'kinsert' [-Wimplicit-function-declaration] if ((s=kinsert('\n', KFORW)) != TRUE) ^ region.c: At top level: region.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] getregion(rp) register REGION *rp; { ^ region.c: In function 'getregion': region.c:183:13: warning: implicit declaration of function 'setsize' [-Wimplicit-function-declaration] return (setsize(rp, ^ region.c: At top level: region.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] setsize(rp, size) register REGION *rp; register RSIZE size; { ^ region.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:27: warning: implicit declaration of function 'setprefix' [-Wimplicit-function-declaration] if ((f == TRUE) && ((s = setprefix(FFRAND, 1)) != TRUE)) ^ region.c:261:10: warning: implicit declaration of function 'gotobol' [-Wimplicit-function-declaration] (VOID) gotobol(FFRAND, 1); ^ region.c:263:11: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] (VOID) linsert(1, *prefix); ^ region.c:264:10: warning: implicit declaration of function 'forwline' [-Wimplicit-function-declaration] (VOID) forwline(FFRAND, 1); ^ region.c: At top level: region.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:7: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] s = ereply("Prefix string: ",buf,sizeof buf); ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c search.c search.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'readpattern' [-Wimplicit-function-declaration] if ((s=readpattern("Search")) != TRUE) ^ search.c:58:6: warning: implicit declaration of function 'forwsrch' [-Wimplicit-function-declaration] if (forwsrch() == FALSE) { ^ search.c: At top level: search.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:6: warning: implicit declaration of function 'backsrch' [-Wimplicit-function-declaration] if (backsrch() == FALSE) { ^ search.c: At top level: search.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:9: warning: implicit declaration of function 'isearch' [-Wimplicit-function-declaration] return isearch(SRCH_FORW); ^ search.c: At top level: search.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] isearch(dir) { ^ search.c: In function 'isearch': search.c:146:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] search.c:174:15: warning: implicit declaration of function 'getkey' [-Wimplicit-function-declaration] switch (c = getkey(FALSE)) { ^ search.c:194:11: warning: implicit declaration of function 'ctrlg' [-Wimplicit-function-declaration] (VOID) ctrlg(FFRAND, 0); ^ search.c:210:11: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] (VOID) forwchar(FFRAND, 1); ^ search.c:213:12: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] (VOID) backchar(FFRAND, 1); ^ search.c:214:5: warning: implicit declaration of function 'ttbeep' [-Wimplicit-function-declaration] ttbeep(); ^ search.c: In function 'is_prompt': search.c:406:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] 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] is_dspl(prompt, flag) char *prompt; { ^ search.c: At top level: search.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:9: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] if ((s=ereply("Query replace %s with: ",news, NPAT, pat)) == ABORT) ^ search.c:472:8: warning: implicit declaration of function 'lreplace' [-Wimplicit-function-declaration] if (lreplace((RSIZE) plen, news, f) == FALSE) ^ search.c: At top level: search.c:524:1: warning: return type defaults to 'int' [-Wimplicit-int] forwsrch() { ^ search.c:574:1: warning: return type defaults to 'int' [-Wimplicit-int] backsrch() { ^ search.c:652:1: warning: return type defaults to 'int' [-Wimplicit-int] readpattern(prompt) char *prompt; { ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c version.c version.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] showversion(f, n) ^ version.c: In function 'showversion': version.c:18:2: warning: implicit declaration of function 'ewprintf' [-Wimplicit-function-declaration] ewprintf(version); ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c window.c window.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:2: warning: implicit declaration of function 'ttresize' [-Wimplicit-function-declaration] ttresize(); ^ window.c: At top level: window.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *) wp); ^ window.c:145:3: warning: incompatible implicit declaration of built-in function 'free' window.c:145:3: note: include '' or provide a declaration of 'free' window.c:156:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) wp); ^ window.c:156:3: 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] 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:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ((wp = (WINDOW *)malloc(sizeof(WINDOW))) == NULL) { ^ window.c:192:22: warning: incompatible implicit declaration of built-in function 'malloc' window.c:192:22: 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] 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:10: warning: implicit declaration of function 'shrinkwind' [-Wimplicit-function-declaration] return shrinkwind(f, -n); ^ window.c: At top level: window.c:304:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:2: warning: incompatible implicit declaration of built-in function 'free' free((char *) wp); ^ window.c:377:2: note: include '' or provide a declaration of 'free' gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c word.c word.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:20: warning: implicit declaration of function 'forwword' [-Wimplicit-function-declaration] if (n < 0) return forwword(f | FFRAND, -n); ^ word.c:20:6: warning: implicit declaration of function 'backchar' [-Wimplicit-function-declaration] if (backchar(FFRAND, 1) == FALSE) ^ word.c:23:10: warning: implicit declaration of function 'inword' [-Wimplicit-function-declaration] while (inword() == FALSE) { ^ word.c:32:9: warning: implicit declaration of function 'forwchar' [-Wimplicit-function-declaration] return forwchar(FFRAND, 1); ^ word.c: At top level: word.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] 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] 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] 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:10: warning: implicit declaration of function 'ldelete' [-Wimplicit-function-declaration] return (ldelete(size, KFORW)); ^ word.c: At top level: word.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] inword() { ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c buffer.c buffer.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] usebuffer(f, n) ^ buffer.c: In function 'usebuffer': buffer.c:16:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:16:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] buffer.c:25:5: warning: implicit declaration of function 'eread' [-Wimplicit-function-declaration] s=eread("Switch to buffer: ", bufn, NBUFN, EFNEW|EFBUF); ^ buffer.c:36:9: warning: implicit declaration of function 'showbuffer' [-Wimplicit-function-declaration] return showbuffer(bp, curwp, WFFORCE|WFHARD); ^ buffer.c: At top level: buffer.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] poptobuffer(f, n) ^ buffer.c: In function 'poptobuffer': buffer.c:43:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] 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] 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] buffer.c:108:6: warning: implicit declaration of function 'bclear' [-Wimplicit-function-declaration] if (bclear(bp) != TRUE) return TRUE; ^ buffer.c:112:49: warning: comparison between pointer and integer if(showbuffer(bp1, wp, WFMODE|WFFORCE|WFHARD) != NULL) ^ buffer.c:118:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *) bp->b_linep); /* Release header line. */ ^ buffer.c:118:2: warning: incompatible implicit declaration of built-in function 'free' buffer.c:118:2: note: include '' or provide a declaration of 'free' buffer.c: At top level: buffer.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] buffer.c:148:6: warning: implicit declaration of function 'anycb' [-Wimplicit-function-declaration] if (anycb(f) == ABORT) return ABORT; ^ buffer.c: At top level: buffer.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] listbuffers(f, n) ^ buffer.c: In function 'listbuffers': buffer.c:160:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:160:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] buffer.c: In function 'makelist': buffer.c:200:6: warning: implicit declaration of function 'addline' [-Wimplicit-function-declaration] if (addline(blp, line) == FALSE) return NULL; ^ buffer.c: At top level: buffer.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] addline(bp, text) register BUFFER *bp; char *text; { ^ buffer.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] anycb(f) { ^ buffer.c: In function 'anycb': buffer.c:307:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] buffer.c:318:30: warning: implicit declaration of function 'eyorn' [-Wimplicit-function-declaration] if ((f == TRUE || (save = eyorn(prompt)) == TRUE) ^ buffer.c:319:8: warning: implicit declaration of function 'buffsave' [-Wimplicit-function-declaration] && buffsave(bp) == TRUE) { ^ buffer.c: In function 'bfind': buffer.c:340:1: warning: type of 'cflag' defaults to 'int' [-Wimplicit-int] bfind(bname, cflag) register char *bname; { ^ buffer.c:342:9: warning: conflicting types for built-in function 'malloc' char *malloc(); ^ buffer.c:363:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) bp); ^ buffer.c:363:3: note: include '' or provide a declaration of 'free' buffer.c:367:3: warning: incompatible implicit declaration of built-in function 'free' free(bp->b_bname); ^ buffer.c:367:3: 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] bclear(bp) register BUFFER *bp; { ^ buffer.c: In function 'bclear': buffer.c:409:8: warning: implicit declaration of function 'eyesno' [-Wimplicit-function-declaration] && (s=eyesno("Buffer modified; kill anyway")) != TRUE) ^ buffer.c: At top level: buffer.c:425:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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:8: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] if (linsert(1, lgetc(clp, clo)) == FALSE) ^ buffer.c:524:7: warning: implicit declaration of function 'newline' [-Wimplicit-function-declaration] if (newline(FFRAND, 1) == FALSE) /* fake newline */ ^ buffer.c: At top level: buffer.c:545:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] popbuftop(bp) ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c display.c display.c: In function 'vtinit': display.c:127:2: warning: implicit declaration of function 'ttopen' [-Wimplicit-function-declaration] ttopen(); ^ display.c:128:2: warning: implicit declaration of function 'ttinit' [-Wimplicit-function-declaration] ttinit(); ^ display.c: In function 'vttidy': display.c:150:2: warning: implicit declaration of function 'ttcolor' [-Wimplicit-function-declaration] ttcolor(CTEXT); ^ display.c:151:2: warning: implicit declaration of function 'ttnowindow' [-Wimplicit-function-declaration] ttnowindow(); /* No scroll window. */ ^ display.c:152:2: warning: implicit declaration of function 'ttmove' [-Wimplicit-function-declaration] ttmove(nrow-1, 0); /* Echo line. */ ^ display.c:153:2: warning: implicit declaration of function 'tteeol' [-Wimplicit-function-declaration] tteeol(); ^ display.c:154:2: warning: implicit declaration of function 'tttidy' [-Wimplicit-function-declaration] tttidy(); ^ display.c:155:2: warning: implicit declaration of function 'ttflush' [-Wimplicit-function-declaration] ttflush(); ^ display.c:156:2: warning: implicit declaration of function 'ttclose' [-Wimplicit-function-declaration] ttclose(); ^ display.c: In function 'vtmove': display.c:167:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] vtmove(row, col) { ^ display.c:167:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] display.c: In function 'update': display.c:279:6: warning: implicit declaration of function 'typeahead' [-Wimplicit-function-declaration] if (typeahead()) return; ^ display.c:418:3: warning: implicit declaration of function 'tteeop' [-Wimplicit-function-declaration] tteeop(); ^ display.c:461:4: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] panic("Illegal screen size in update"); ^ display.c: In function 'uline': display.c:536:6: warning: type of 'row' defaults to 'int' [-Wimplicit-int] VOID uline(row, vvp, pvp) VIDEO *vvp; VIDEO *pvp; { ^ display.c:565:4: warning: implicit declaration of function 'ttputc' [-Wimplicit-function-declaration] ttputc(*cp1++); ^ display.c: In function 'modeline': display.c:646:7: warning: implicit declaration of function 'vtputs' [-Wimplicit-function-declaration] n += vtputs("Mg: "); ^ display.c: At top level: display.c:671:1: warning: return type defaults to 'int' [-Wimplicit-int] vtputs(s) register char *s; { ^ display.c: In function 'setscores': display.c:740:1: warning: type of 'offs' defaults to 'int' [-Wimplicit-int] setscores(offs, size) { ^ display.c:740:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] display.c: In function 'traceback': display.c:826:6: warning: type of 'offs' defaults to 'int' [-Wimplicit-int] 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] gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c echo.c echo.c: In function 'eerase': echo.c:34:2: warning: implicit declaration of function 'ttcolor' [-Wimplicit-function-declaration] ttcolor(CTEXT); ^ echo.c:35:2: warning: implicit declaration of function 'ttmove' [-Wimplicit-function-declaration] ttmove(nrow-1, 0); ^ echo.c:36:2: warning: implicit declaration of function 'tteeol' [-Wimplicit-function-declaration] tteeol(); ^ echo.c:37:2: warning: implicit declaration of function 'ttflush' [-Wimplicit-function-declaration] ttflush(); ^ echo.c: At top level: echo.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] eyorn(sp) char *sp; { ^ echo.c: In function 'eyorn': echo.c:56:7: warning: implicit declaration of function 'getkey' [-Wimplicit-function-declaration] s = getkey(FALSE); ^ echo.c:59:30: warning: implicit declaration of function 'ctrlg' [-Wimplicit-function-declaration] 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] eyesno(sp) char *sp; { ^ echo.c: In function 'eyesno': echo.c:86:8: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)lp); ^ echo.c:86:8: warning: incompatible implicit declaration of built-in function 'free' echo.c:86:8: 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] ereply(char *fp, char *buf, int nbuf, ...) ^ echo.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] eread(char *fp, char *buf, int nbuf, int flag, ...) ^ echo.c:140:8: warning: return type defaults to 'int' [-Wimplicit-int] 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:5: warning: implicit declaration of function 'ttputc' [-Wimplicit-function-declaration] ttputc(CCHR('M')); ^ echo.c: In function 'complt': echo.c:284:12: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] static int complt(flags, c, buf, cpos) ^ echo.c:284:12: warning: type of 'c' defaults to 'int' [-Wimplicit-int] echo.c:297:10: warning: implicit declaration of function 'complete_function' [-Wimplicit-function-declaration] i = complete_function(buf, c); ^ echo.c:320:11: warning: implicit declaration of function 'panic' [-Wimplicit-function-declaration] else panic("broken complt call: flags"); ^ echo.c:339:13: warning: implicit declaration of function 'getxtra' [-Wimplicit-function-declaration] bxtra = getxtra(lh, lh2, cpos, wflag); ^ echo.c: At top level: echo.c:390:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -DDO_METAKEY -DPREFIXREGION -DSTARTUPFILE=\"mg.rc\" -DNO_BACKUP -DSYMBLINK -c extend.c extend.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] insert(f, n) ^ extend.c: In function 'insert': extend.c:40:46: warning: implicit declaration of function 'lnewline' [-Wimplicit-function-declaration] if((((c=maclcur->l_text[count]) == '\n') ? lnewline() ^ extend.c:41:9: warning: implicit declaration of function 'linsert' [-Wimplicit-function-declaration] : linsert(1, c)) != TRUE) return FALSE; ^ extend.c:49:8: warning: implicit declaration of function 'eread' [-Wimplicit-function-declaration] if(eread("Insert: ", buf, sizeof(buf), EFNEW) == FALSE) return FALSE; ^ extend.c: In function 'dobind': extend.c:324:26: warning: implicit declaration of function 'getkey' [-Wimplicit-function-declaration] pep = keyname(pep, c = getkey(FALSE)); ^ extend.c: At top level: extend.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] 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] 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:409:19: error: macro "strncat" requires 3 arguments, but only 1 given char *strncat(); ^ extend.c: At top level: extend.c:421:1: warning: return type defaults to 'int' [-Wimplicit-int] unbindtokey(f, n) ^ extend.c:427:1: warning: return type defaults to 'int' [-Wimplicit-int] localunbind(f, n) ^ extend.c:441:1: warning: return type defaults to 'int' [-Wimplicit-int] extend(f, n) ^ extend.c: In function 'extend': extend.c:441:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:441:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c: At top level: extend.c:486:1: warning: return type defaults to 'int' [-Wimplicit-int] evalexpr(f, n) ^ extend.c: In function 'evalexpr': extend.c:486:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:486:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c:491:11: warning: implicit declaration of function 'ereply' [-Wimplicit-function-declaration] if ((s = ereply("Eval: ", exbuf, 128)) != TRUE) ^ extend.c:493:9: warning: implicit declaration of function 'excline' [-Wimplicit-function-declaration] return excline(exbuf); ^ extend.c: At top level: extend.c:500:1: warning: return type defaults to 'int' [-Wimplicit-int] evalbuffer(f, n) ^ extend.c: In function 'evalbuffer': extend.c:500:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:500:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c: At top level: extend.c:520:1: warning: return type defaults to 'int' [-Wimplicit-int] evalfile(f, n) ^ extend.c: In function 'evalfile': extend.c:520:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] extend.c:520:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] extend.c:527:9: warning: implicit declaration of function 'load' [-Wimplicit-function-declaration] return load(fname); ^ extend.c: At top level: extend.c:533:1: warning: return type defaults to 'int' [-Wimplicit-int] load(fname) char *fname; { ^ extend.c: In function 'load': extend.c:541:6: warning: implicit declaration of function 'ffropen' [-Wimplicit-function-declaration] if (ffropen(fname) != FIOSUC) return FALSE; ^ extend.c:542:14: warning: implicit declaration of function 'ffgetline' [-Wimplicit-function-declaration] while ((s = ffgetline(excbuf, sizeof(excbuf)-1, &nbytes)) == FIOSUC) { ^ extend.c:550:9: warning: implicit declaration of function 'ffclose' [-Wimplicit-function-declaration] (VOID) ffclose(); ^ extend.c: At top level: extend.c:564:1: warning: return type defaults to 'int' [-Wimplicit-int] excline(line) ^ *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/editors/mg2a/work.alpha/mg2a *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/editors/mg2a *** Error code 1 Stop. make: stopped in /usr/pkgsrc/editors/mg2a