=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ng-1.4.4 rm -f ttydef.h ln sys/default/ttydef.h . rm -f sysdef.h ln sys/bsd/sysdef.h . rm -f chrdef.h ln sys/default/chrdef.h . rm -f cinfo.c ln sys/default/cinfo.c . rm -f spawn.c ln sys/bsd/spawn.c . rm -f ttyio.c ln sys/bsd/ttyio.c . rm -f tty.c ln sys/default/tty.c . rm -f ttykbd.c ln sys/default/ttykbd.c . rm -f fileio.c ln sys/bsd/fileio.c . rm -f canna.c ln sys/default/canna.c . cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c basic.c In file included from basic.c:23: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from basic.c:24: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from basic.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ basic.c:32:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobol(f, n) ^ basic.c:32:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobol(f, n) ^ basic.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobol(f, n) ^ int basic.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:50:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backchar(f, n) ^ basic.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backchar(f, n) ^ int basic.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:104:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeol(f, n) ^ basic.c:104:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeol(f, n) ^ basic.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeol(f, n) ^ int basic.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:123:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwchar(f, n) ^ basic.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwchar(f, n) ^ int basic.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:171:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobob(f, n) ^ basic.c:171:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobob(f, n) ^ basic.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobob(f, n) ^ int basic.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:185:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeob(f, n) ^ basic.c:185:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeob(f, n) ^ basic.c:185:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeob(f, n) ^ int basic.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:201:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nextline(f, n) ^ basic.c:201:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nextline(f, n) ^ basic.c:201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nextline(f, n) ^ int basic.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:228:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwline(f, n) ^ basic.c:228:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwline(f, n) ^ basic.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwline(f, n) ^ int basic.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:308:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backline(f, n) ^ basic.c:308:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backline(f, n) ^ basic.c:308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backline(f, n) ^ int basic.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:350:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getgoal(dlp) register LINE *dlp; { ^ int basic.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:411:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwpage(f, n) ^ basic.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwpage(f, n) ^ int basic.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:459:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backpage(f, n) ^ basic.c:459:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backpage(f, n) ^ int basic.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:527:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pagenext(f, n) ^ basic.c:527:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pagenext(f, n) ^ basic.c:527:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pagenext(f, n) ^ int basic.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:559:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setmark(f, n) ^ basic.c:559:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setmark(f, n) ^ basic.c:559:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setmark(f, n) ^ int basic.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:574:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] swapmark(f, n) ^ basic.c:574:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] swapmark(f, n) ^ basic.c:574:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] swapmark(f, n) ^ int basic.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] basic.c:602:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoline(f, n) ^ basic.c:602:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoline(f, n) ^ int basic.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 60 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c dir.c In file included from dir.c:44: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from dir.c:45: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from dir.c:45: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ dir.c:71:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getcwd(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here char *getcwd(char *, size_t); ^ dir.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] storecwd(bp) ^ dir.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rchdir(newdir) ^ dir.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vchdir(newdir) ^ dir.c:306:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] changedir(f, n) ^ dir.c:306:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] changedir(f, n) ^ dir.c:306:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] changedir(f, n) ^ int dir.c:321:25: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strcpy(bufc, adjustname(bufc)); ^ dir.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] changedir(f, n) ^ dir.c:489:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showcwdir(f, n) ^ dir.c:489:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showcwdir(f, n) ^ dir.c:489:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showcwdir(f, n) ^ int dir.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 16 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c dired.c In file included from dired.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from dired.c:22: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from dired.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ dired.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] dired(f, n) ^ int dired.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:51:20: warning: passing arguments to 'dired_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((bp = dired_(dirname)) == NULL) return FALSE; ^ dired.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_otherwindow(f, n) ^ int dired.c:110:20: warning: passing arguments to 'dired_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((bp = dired_(dirname)) == NULL) return FALSE; ^ dired.c:114:20: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((wp = popbuf(bp)) == NULL) return FALSE; ^ dired.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d_otherwindow(f, n) ^ dired.c:121:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_del(f, n) ^ int dired.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:137:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_undel(f, n) ^ int dired.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_undelbak(f, n) ^ int dired.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_flag(f, n) ^ int dired.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_fileopen(f, n, popup) ^ dired.c:207:26: warning: passing arguments to 'dired_' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = (s ? dired_(fname) : findbuffer(fname))) == NULL) { ^ dired.c:207:46: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = (s ? dired_(fname) : findbuffer(fname))) == NULL) { ^ dired.c:217:23: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) { ^ dired.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d_fileopen(f, n, popup) ^ dired.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_findfile(f, n) ^ int dired.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d_viewfile(f, n) ^ dired.c:270:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_ffotherwindow(f, n) ^ int dired.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_expunge(f, n) ^ int dired.c:312:11: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(lp); ^ dired.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d_expunge(f, n) ^ dired.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename(path) ^ dired.c:343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_copy(f, n) ^ int dired.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:387:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_rename(f, n) ^ int dired.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dired.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d_execute(f, n) ^ 37 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c shell.c In file included from shell.c:16: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from shell.c:17: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from shell.c:17: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ shell.c:21:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] shellcmnd(f, n) ^ shell.c:21:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] shellcmnd(f, n) ^ shell.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] shellcmnd(f, n) ^ int shell.c:36:18: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*Shell Command Output*", TRUE)) == NULL) return FALSE; ^ shell.c:37:19: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ shell.c:43:28: warning: passing arguments to 'call_process' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((result = call_process(buf, NULL)) == NULL) ^ shell.c:49:17: warning: passing arguments to 'gotobob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) gotobob(0, 1); ^ shell.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shellcmnd(f, n) ^ 11 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c version.c In file included from version.c:42: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from version.c:45: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from version.c:45: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ version.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showversion(f, n) ^ int version.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] version.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showngversion(f, n) ^ int version.c:261:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*Ng Version*", TRUE)) == NULL) return FALSE; ^ version.c:447:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ version.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showngversion(f, n) ^ version.c:458:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] printversion() ^ int version.c:478:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] printoptions() ^ int 11 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c window.c In file included from window.c:16: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from window.c:17: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from window.c:17: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ window.c:30:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] reposition(f, n) ^ window.c:30:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] reposition(f, n) ^ window.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] reposition(f, n) ^ int window.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] window.c:58:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] refresh(f, n) ^ window.c:58:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] refresh(f, n) ^ window.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] refresh(f, n) ^ int window.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] window.c:93:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nextwind(f, n) ^ window.c:93:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nextwind(f, n) ^ window.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nextwind(f, n) ^ int window.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] window.c:143:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] onlywind(f, n) ^ window.c:143:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] onlywind(f, n) ^ window.c:143:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] onlywind(f, n) ^ int window.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] window.c:191:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] splitwind(f, n) ^ window.c:191:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] splitwind(f, n) ^ window.c:191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] splitwind(f, n) ^ int window.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] window.c:287:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] enlargewind(f, n) ^ window.c:287:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] enlargewind(f, n) ^ window.c:287:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] enlargewind(f, n) ^ int window.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] window.c:345:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] shrinkwind(f, n) ^ window.c:345:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] shrinkwind(f, n) ^ window.c:345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] shrinkwind(f, n) ^ int window.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] window.c:407:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delwind(f, n) ^ window.c:407:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delwind(f, n) ^ window.c:407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delwind(f, n) ^ int window.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 35 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c kinsoku.c In file included from kinsoku.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from kinsoku.c:24: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from kinsoku.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ kinsoku.c:70:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_list_char(f, n) ^ kinsoku.c:70:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_list_char(f, n) ^ kinsoku.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_list_char(f, n) ^ int kinsoku.c:82:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*Kinsoku Chars*", TRUE)) == NULL) return FALSE; ^ kinsoku.c:150:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ kinsoku.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kc_list_char(f, n) ^ kinsoku.c:164:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_add_bol(f, n) ^ kinsoku.c:164:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_add_bol(f, n) ^ kinsoku.c:164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_add_bol(f, n) ^ int kinsoku.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kinsoku.c:198:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_del_bol(f, n) ^ kinsoku.c:198:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_del_bol(f, n) ^ kinsoku.c:198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_del_bol(f, n) ^ int kinsoku.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kinsoku.c:232:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_add_eol(f, n) ^ kinsoku.c:232:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_add_eol(f, n) ^ kinsoku.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_add_eol(f, n) ^ int kinsoku.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kinsoku.c:266:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_del_eol(f, n) ^ kinsoku.c:266:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_del_eol(f, n) ^ kinsoku.c:266:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kc_del_eol(f, n) ^ int kinsoku.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kinsoku.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] isbolkchar(c1, c2) ^ int kinsoku.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kinsoku.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] iseolkchar(c1, c2) ^ int kinsoku.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 29 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c jump.c In file included from jump.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from jump.c:33: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from jump.c:33: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ jump.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_regexp( pat ) ^ int jump.c:99:34: warning: passing arguments to 're_compile_pattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] message = re_compile_pattern (pat, strlen(pat), &re_buff); ^ jump.c:100:20: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if (message != '\0') { ^~~~ (void *)0 jump.c:106:24: warning: passing arguments to 're_compile_fastmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_compile_fastmap (&re_buff); ^ jump.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_regexp( pat ) ^ jump.c:110:27: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] parse_error_message( clp, col, namebuf, ip, parse_end ) ^ jump.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] parse_error_message( clp, col, namebuf, ip, parse_end ) ^ int jump.c:123:19: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = re_search (&re_buff, ltext(clp), llength(clp), ^ jump.c:140:26: warning: passing arguments to 'grab_filename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename = grab_filename( buf ); ^ jump.c:147:26: warning: passing arguments to 'grab_filename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename = grab_filename( buf ); ^ jump.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_error_message( clp, col, namebuf, ip, parse_end ) ^ jump.c:160:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] jumptoerror(f,n) ^ jump.c:160:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] jumptoerror(f,n) ^ jump.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] jumptoerror(f,n) ^ int jump.c:167:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int access(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:431:6: note: conflicting prototype is here int access(const char *, int); ^ jump.c:192:18: warning: passing arguments to 'filevisit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!filevisit(FFRAND,0)) return FALSE; ^ jump.c:194:18: warning: passing arguments to 'poptofile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!poptofile(FFRAND,0)) return FALSE; ^ jump.c:196:11: warning: passing arguments to 'gotoline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotoline( FFARG, lineno ); ^ jump.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jumptoerror(f,n) ^ jump.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] grab_filename( buf ) ^ jump.c:80:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *grab_filename(); ^ jump.c:264:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] compile(f, n) ^ jump.c:264:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] compile(f, n) ^ jump.c:264:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] compile(f, n) ^ int jump.c:280:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*compilation*", TRUE)) == NULL) return FALSE; ^ jump.c:281:21: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ jump.c:288:31: warning: passing arguments to 'call_process' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((result = call_process(compile_command, NULL)) == NULL) ^ jump.c:292:19: warning: passing arguments to 'gotobob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) gotobob(0, 1); ^ jump.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compile(f, n) ^ jump.c:310:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nexterror(f, n) ^ jump.c:310:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nexterror(f, n) ^ jump.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] nexterror(f, n) ^ int jump.c:319:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*compilation*", TRUE)) == NULL) return FALSE; ^ jump.c:320:21: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ jump.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nexterror(f, n) ^ 38 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c buffer.c In file included from buffer.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from buffer.c:36: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from buffer.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ buffer.c:57:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usebuffer(f, n) ^ buffer.c:57:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usebuffer(f, n) ^ buffer.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usebuffer(f, n) ^ int buffer.c:65:32: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && ((curbp->b_altb = bfind("*scratch*", TRUE)) == NULL)) ^ buffer.c:73:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((bp=bfind(bufn, TRUE)) == NULL) return FALSE; ^ buffer.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usebuffer(f, n) ^ buffer.c:84:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] poptobuffer(f, n) ^ buffer.c:84:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] poptobuffer(f, n) ^ buffer.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] poptobuffer(f, n) ^ int buffer.c:94:32: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && ((curbp->b_altb = bfind("*scratch*", TRUE)) == NULL)) ^ buffer.c:102:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((bp=bfind(bufn, TRUE)) == NULL) return FALSE; ^ buffer.c:105:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ buffer.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] poptobuffer(f, n) ^ buffer.c:119:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killbuffer(f, n) ^ buffer.c:119:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killbuffer(f, n) ^ buffer.c:119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killbuffer(f, n) ^ int buffer.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:131:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((bp=bfind(bufn, FALSE)) == NULL) return FALSE; ^ buffer.c:146:19: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (bp == bfind("*scratch*",FALSE)) ^ buffer.c:149:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp1 = bfind("*scratch*",TRUE)) == NULL) ^ buffer.c:200:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] savebuffers(f, n) ^ buffer.c:200:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] savebuffers(f, n) ^ buffer.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] savebuffers(f, n) ^ int buffer.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:214:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] listbuffers(f, n) ^ buffer.c:214:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] listbuffers(f, n) ^ buffer.c:214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] listbuffers(f, n) ^ int buffer.c:221:43: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp=makelist()) == NULL || (wp=popbuf(bp)) == NULL) ^ buffer.c:226:28: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bp->b_modes[0] = name_mode("Buffer Menu"); ^ buffer.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listbuffers(f, n) ^ buffer.c:259:18: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((blp = bfind("*Buffer List*", TRUE)) == NULL) return NULL; ^ buffer.c:312:14: warning: passing arguments to 'itor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) itor(b, 6, nbytes); /* 6 digit buffer size. */ ^ buffer.c:340:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static RSIZE itor(buf, width, num) ^ buffer.c:46:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static RSIZE itor(); ^ buffer.c:365:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] addline(bp, text) register BUFFER *bp; char *text; { ^ int buffer.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:371:16: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((lp=lalloc(ntext)) == NULL) ^ buffer.c:395:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] anycb(f) { ^ buffer.c:395:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] anycb(f) { ^ int buffer.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:399:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] VOID upmodes(); ^ ./def.h:520:13: note: conflicting prototype is here extern VOID upmodes pro((BUFFER *)); ^ buffer.c:428:14: warning: parameter 'cflag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bfind(bname, cflag) register char *bname; { ^ buffer.c:465:18: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((lp = lalloc(0)) == NULL) { ^ buffer.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bfind(bname, cflag) register char *bname; { ^ In file included from buffer.c:36: ./def.h:388:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern BUFFER *bfind(); ^ buffer.c:524:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bclear(bp) register BUFFER *bp; { ^ int buffer.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:534:8: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(lp); ^ buffer.c:546:20: warning: parameter 'flags' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showbuffer(bp, wp, flags) register BUFFER *bp; register WINDOW *wp; { ^ buffer.c:546:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showbuffer(bp, wp, flags) register BUFFER *bp; register WINDOW *wp; { ^ int buffer.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popbuf(bp) register BUFFER *bp; { ^ In file included from buffer.c:36: ./def.h:389:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern WINDOW *popbuf(); ^ buffer.c:610:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bufferinsert(f, n) ^ buffer.c:610:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bufferinsert(f, n) ^ buffer.c:610:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bufferinsert(f, n) ^ int buffer.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:681:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] notmodified(f, n) ^ buffer.c:681:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] notmodified(f, n) ^ buffer.c:681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] notmodified(f, n) ^ int buffer.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:701:19: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] togglereadonly(f, n) ^ buffer.c:701:16: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] togglereadonly(f, n) ^ buffer.c:701:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] togglereadonly(f, n) ^ int buffer.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:732:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] popbuftop(bp) ^ int buffer.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:760:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getnum(prompt, num) ^ int buffer.c:760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:775:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_default_tabwidth(f, n) ^ int buffer.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:789:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_tabwidth(f, n) ^ int buffer.c:804:13: warning: passing arguments to 'refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] refresh(0, 0); ^ buffer.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_tabwidth(f, n) ^ buffer.c:808:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_cmode_tabwidth(f, n) ^ int buffer.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] b_makename(lp, buf, len) ^ buffer.c:850:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] b_thiswin(f, n) ^ int buffer.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:875:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] b_delundel(ch) ^ buffer.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:896:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] b_del(f, n) ^ int buffer.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:903:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] b_undel(f, n) ^ int buffer.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer.c:910:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] b_expunge(f, n) ^ int buffer.c:927:9: warning: passing arguments to 'lfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(lp); ^ buffer.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] b_expunge(f, n) ^ 91 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cmode.c In file included from cmode.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from cmode.c:33: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from cmode.c:33: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ cmode.c:90:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_use_c_mode(f, n) ^ cmode.c:90:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_use_c_mode(f, n) ^ cmode.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_use_c_mode(f, n) ^ int cmode.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:112:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_brace(f, n) ^ cmode.c:112:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_brace(f, n) ^ cmode.c:112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_brace(f, n) ^ int cmode.c:114:23: warning: passing arguments to 'do_cm_brace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return do_cm_brace(f,n,0); ^ cmode.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_brace(f, n) ^ cmode.c:122:19: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_brace_blink(f, n) ^ cmode.c:122:16: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_brace_blink(f, n) ^ cmode.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_brace_blink(f, n) ^ int cmode.c:124:23: warning: passing arguments to 'do_cm_brace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return do_cm_brace(f,n,1); ^ cmode.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_brace_blink(f, n) ^ cmode.c:128:19: warning: parameter 'blink' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_cm_brace(f, n, blink) ^ cmode.c:128:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_cm_brace(f, n, blink) ^ cmode.c:128:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_cm_brace(f, n, blink) ^ cmode.c:146:16: warning: passing arguments to 'blinkmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] blinkmatch( curwp->w_dotp, curwp->w_doto-1 ); ^ cmode.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_cm_brace(f, n, blink) ^ cmode.c:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int do_cm_brace(); /* Nov 1991. bsh */ ^ cmode.c:156:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_semi(f, n) ^ cmode.c:156:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_semi(f, n) ^ cmode.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_semi(f, n) ^ int cmode.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:177:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_term(f, n) ^ cmode.c:177:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_term(f, n) ^ cmode.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_term(f, n) ^ int cmode.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:214:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_indent(f, n) ^ cmode.c:214:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_indent(f, n) ^ cmode.c:214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_indent(f, n) ^ int cmode.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:246:23: warning: passing arguments to 'adjust_spc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (adjust_spc(i)); ^ cmode.c:254:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_lfindent(f, n) ^ cmode.c:254:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_lfindent(f, n) ^ cmode.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_lfindent(f, n) ^ int cmode.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:285:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static calc_indent() ~~~~~~ ^ int cmode.c:425:26: warning: passing arguments to 'count_column' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (count_column(lp, bo)); ^ cmode.c:477:15: warning: passing arguments to 'check_bal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s = check_bal(&bal2); ^ cmode.c:504:22: warning: passing arguments to 'count_column' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (count_column(tlp, tbo)+1); ^ cmode.c:601:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static adjust_spc(nicol) ~~~~~~ ^ int cmode.c:601:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:77:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int adjust_spc(); ^ cmode.c:664:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static check_bal(balc) ~~~~~~ ^ int cmode.c:664:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:78:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int check_bal(); ^ cmode.c:694:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static count_column(lp, bo) ~~~~~~ ^ int cmode.c:694:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:79:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int count_column(); ^ cmode.c:726:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_indent(f, n) ^ cmode.c:726:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_indent(f, n) ^ cmode.c:726:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_indent(f, n) ^ int cmode.c:729:16: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getnum("c-indent-level", &n) == FALSE) ^ cmode.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_set_indent(f, n) ^ cmode.c:740:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_imagin(f, n) ^ cmode.c:740:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_imagin(f, n) ^ cmode.c:740:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_imagin(f, n) ^ int cmode.c:743:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getnum("c-brace_imaginary-offset", &n) == FALSE) ^ cmode.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_set_imagin(f, n) ^ cmode.c:755:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_brace(f, n) ^ cmode.c:755:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_brace(f, n) ^ cmode.c:755:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_brace(f, n) ^ int cmode.c:758:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getnum("c-brace-offset", &n) == FALSE) ^ cmode.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_set_brace(f, n) ^ cmode.c:770:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_arg(f, n) ^ cmode.c:770:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_arg(f, n) ^ cmode.c:770:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_arg(f, n) ^ int cmode.c:773:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getnum("c-argdecl-indent", &n) == FALSE) ^ cmode.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_set_arg(f, n) ^ cmode.c:785:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_label(f, n) ^ cmode.c:785:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_label(f, n) ^ cmode.c:785:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_label(f, n) ^ int cmode.c:788:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getnum("c-label-offset", &n) == FALSE) ^ cmode.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_set_label(f, n) ^ cmode.c:800:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_cstat(f, n) ^ cmode.c:800:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_cstat(f, n) ^ cmode.c:800:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_cstat(f, n) ^ int cmode.c:803:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getnum("c-continued-statement-offset", &n) == FALSE) ^ cmode.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_set_cstat(f, n) ^ cmode.c:815:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_cbrace(f, n) ^ cmode.c:815:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_cbrace(f, n) ^ cmode.c:815:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_cbrace(f, n) ^ int cmode.c:818:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getnum("c-continued-brace-offset", &n) == FALSE) ^ cmode.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_set_cbrace(f, n) ^ cmode.c:832:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_newl(f, n) ^ cmode.c:832:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_newl(f, n) ^ cmode.c:832:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_newl(f, n) ^ int cmode.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:858:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_tab(f, n) ^ cmode.c:858:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_tab(f, n) ^ cmode.c:858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_set_tab(f, n) ^ int cmode.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmode.c:882:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_list_var(f, n) ^ cmode.c:882:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_list_var(f, n) ^ cmode.c:882:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_list_var(f, n) ^ int cmode.c:888:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*C Mode Variables*", TRUE)) == NULL) return FALSE; ^ cmode.c:915:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ cmode.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cm_list_var(f, n) ^ cmode.c:929:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_indentregion(f, n) ^ cmode.c:929:17: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_indentregion(f, n) ^ cmode.c:929:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cm_indentregion(f, n) ^ int cmode.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 106 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c file.c In file included from file.c:23: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from file.c:24: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from file.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ file.c:31:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] VOID upmodes(); ^ ./def.h:520:13: note: conflicting prototype is here extern VOID upmodes pro((BUFFER *)); ^ file.c:39:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fileinsert(f, n) ^ file.c:39:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fileinsert(f, n) ^ file.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fileinsert(f, n) ^ int file.c:61:30: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return insertfile(adjustname(fname), (char *) NULL); ^ file.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinsert(f, n) ^ file.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fileopen(f, n, readonly, popup, prompt) ^ file.c:110:19: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjf = adjustname(fname); ^ file.c:118:22: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = findbuffer(adjf)) == NULL) { ^ file.c:125:20: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) { ^ file.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileopen(f, n, readonly, popup, prompt) ^ file.c:189:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filevisit(f, n) ^ file.c:189:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filevisit(f, n) ^ file.c:189:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filevisit(f, n) ^ int file.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:200:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] poptofile(f, n) ^ file.c:200:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] poptofile(f, n) ^ file.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] poptofile(f, n) ^ int file.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:216:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filereadonly(f, n) ^ file.c:216:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filereadonly(f, n) ^ file.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filereadonly(f, n) ^ int file.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filealternate(f, n) ^ file.c:268:10: warning: passing arguments to 'makename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makename(bname, fname); /* New buffer name. */ ^ file.c:270:13: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(bfind(bname, FALSE) != NULL) { ^ file.c:272:21: warning: passing arguments to 'itos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) strcpy(itos(cp, ++count)+1, ">"); ^ file.c:272:21: warning: passing arguments to 'itos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:274:14: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return bfind(bname, TRUE); ^ file.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findbuffer(fname) ^ file.c:29:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] BUFFER *findbuffer(); ^ file.c:281:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *itos(bufp, num) ^ file.c:32:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *itos(); ^ file.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] readin(fname) char *fname; { ^ int file.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] insertfile(fname, newname) char fname[], newname[]; { ^ int file.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:404:18: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((lp1=lalloc(leng > nbytes ? leng : nbytes)) == NULL) { ^ file.c:479:19: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((lp1=lalloc( ^ file.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makename(bname, fname) char bname[]; char fname[]; { ^ file.c:30:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID makename(); ^ file.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makepath(dname, fname, len) ^ file.c:653:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filewrite(f, n) ^ file.c:653:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filewrite(f, n) ^ file.c:653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filewrite(f, n) ^ int file.c:670:23: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjfname = adjustname(fname); ^ file.c:689:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while((bp = bfind(bname, FALSE)) != NULL) { ^ file.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filewrite(f, n) ^ file.c:720:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filesave(f, n) ^ file.c:720:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filesave(f, n) ^ file.c:720:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] filesave(f, n) ^ int file.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] buffsave(bp) BUFFER *bp; { ^ int file.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:768:16: warning: passing arguments to 'fsetfilemode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsetfilemode(bp->b_fname, m); ^ file.c:790:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] makebkfile(f, n) ^ file.c:790:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] makebkfile(f, n) ^ file.c:790:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] makebkfile(f, n) ^ int file.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:806:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeout(bp, fn) register BUFFER *bp; char *fn; { ^ int file.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upmodes(bp) register BUFFER *bp; { ^ file.c:31:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID upmodes(); ^ 66 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c line.c In file included from line.c:66: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from line.c:67: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from line.c:67: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ line.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lalloc(used) register int used; { ^ In file included from line.c:67: ./def.h:391:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern LINE *lalloc(); ^ line.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lallocx(used) ^ In file included from line.c:67: ./def.h:392:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern LINE *lallocx(); ^ line.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lfree(lp) register LINE *lp; { ^ line.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(flag) register int flag; { ^ In file included from line.c:67: ./def.h:412:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern VOID lchange(); ^ line.c:223:12: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] linsert(n, c) ^ line.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] linsert(n, c) ^ int line.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lnewline() ^ int line.c:457:12: warning: parameter 'kflag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ldelete(n, kflag) RSIZE n; { ^ line.c:457:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ldelete(n, kflag) RSIZE n; { ^ int line.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line.c:639:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ldelnewline() { ^ int line.c:711:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lreplace(plen, st, f) ^ int line.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line.c:843:12: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kinsert(c, dir) { ^ line.c:843:9: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kinsert(c, dir) { ^ line.c:843:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kinsert(c, dir) { ^ int line.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line.c:859:7: warning: parameter 'back' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kgrow(back) { ^ line.c:859:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kgrow(back) { ^ int line.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line.c:889:9: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kremove(n) { ^ line.c:889:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kremove(n) { ^ int line.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line.c:944:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_lineno(bp, blp) ^ 31 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c paragraph.c In file included from paragraph.c:27: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from paragraph.c:28: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from paragraph.c:28: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ paragraph.c:55:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobop(f, n) ^ paragraph.c:55:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobop(f, n) ^ paragraph.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotobop(f, n) ^ int paragraph.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paragraph.c:101:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeop(f, n) ^ paragraph.c:101:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeop(f, n) ^ paragraph.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotoeop(f, n) ^ int paragraph.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paragraph.c:151:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillpara(f, n) ^ paragraph.c:151:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillpara(f, n) ^ paragraph.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillpara(f, n) ^ int paragraph.c:253:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ paragraph.c:253:14: note: place parentheses around the assignment to silence this warning if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { ^ ( ) paragraph.c:253:14: note: use '==' to turn this assignment into an equality comparison if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { ^ == paragraph.c:264:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (eolflag=((curwp->w_doto + 1) == ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ paragraph.c:264:15: note: place parentheses around the assignment to silence this warning if (eolflag=((curwp->w_doto + 1) == ^ ( paragraph.c:264:15: note: use '==' to turn this assignment into an equality comparison if (eolflag=((curwp->w_doto + 1) == ^ == paragraph.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fillpara(f, n) ^ paragraph.c:515:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killpara(f, n) ^ paragraph.c:515:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killpara(f, n) ^ paragraph.c:515:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killpara(f, n) ^ int paragraph.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paragraph.c:564:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillword(f, n) ^ paragraph.c:564:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillword(f, n) ^ paragraph.c:564:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillword(f, n) ^ int paragraph.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paragraph.c:765:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setfillcol(f, n) { ^ paragraph.c:765:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setfillcol(f, n) { ^ paragraph.c:765:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setfillcol(f, n) { ^ int paragraph.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paragraph.c:781:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setfillprefix(f, n) { ^ paragraph.c:781:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setfillprefix(f, n) { ^ paragraph.c:781:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setfillprefix(f, n) { ^ int paragraph.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 33 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c random.c In file included from random.c:37: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from random.c:38: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from random.c:38: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ random.c:53:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showcpos(f, n) ^ random.c:53:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showcpos(f, n) ^ random.c:53:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showcpos(f, n) ^ int random.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getcolpos() { ^ int random.c:134:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else kan2nd=1; ^ random.c:155:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] twiddle(f, n) ^ random.c:155:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] twiddle(f, n) ^ random.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] twiddle(f, n) ^ int random.c:237:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFEDIT); ^ random.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] twiddle(f, n) ^ random.c:249:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] openline(f, n) ^ random.c:249:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] openline(f, n) ^ random.c:249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] openline(f, n) ^ int random.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:285:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] newline(f, n) ^ random.c:285:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] newline(f, n) ^ random.c:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] newline(f, n) ^ int random.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:327:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] deblank(f, n) ^ random.c:327:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] deblank(f, n) ^ random.c:327:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] deblank(f, n) ^ int random.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:357:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] justone(f, n) { ^ random.c:357:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] justone(f, n) { ^ random.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] justone(f, n) { ^ int random.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:371:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delwhite(f, n) ^ random.c:371:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delwhite(f, n) ^ random.c:371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delwhite(f, n) ^ int random.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:411:11: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] indent(f, n) ^ random.c:411:8: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] indent(f, n) ^ random.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] indent(f, n) ^ int random.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:464:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwdel(f, n) ^ random.c:464:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwdel(f, n) ^ random.c:464:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwdel(f, n) ^ int random.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:491:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backdel(f, n) ^ random.c:491:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backdel(f, n) ^ random.c:491:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backdel(f, n) ^ int random.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:530:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killline(f, n) { ^ random.c:530:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killline(f, n) { ^ random.c:530:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killline(f, n) { ^ int random.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:590:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killoneline(f, n) { ^ random.c:590:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killoneline(f, n) { ^ random.c:590:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killoneline(f, n) { ^ int random.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:654:9: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] yank(f, n) ^ random.c:654:6: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] yank(f, n) ^ random.c:654:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] yank(f, n) ^ int random.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:792:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] zaptochar(f,n) ^ random.c:792:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] zaptochar(f,n) ^ random.c:792:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] zaptochar(f,n) ^ int random.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:891:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pagelines(f, n) ^ random.c:891:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pagelines(f, n) ^ random.c:891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] pagelines(f, n) ^ int random.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:931:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] regionlines(f, n) ^ random.c:931:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] regionlines(f, n) ^ random.c:931:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] regionlines(f, n) ^ int random.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] windowpos(wp) ^ 71 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c region.c In file included from region.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from region.c:22: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from region.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ region.c:33:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killregion(f, n) ^ region.c:33:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killregion(f, n) ^ region.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killregion(f, n) ^ int region.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] region.c:67:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copyregion(f, n) ^ region.c:67:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copyregion(f, n) ^ region.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copyregion(f, n) ^ int region.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] region.c:107:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copybuffer(f, n) ^ region.c:107:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copybuffer(f, n) ^ region.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copybuffer(f, n) ^ int region.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] region.c:157:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lowerregion(f, n) ^ region.c:157:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lowerregion(f, n) ^ region.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lowerregion(f, n) ^ int region.c:177:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFHARD); ^ region.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lowerregion(f, n) ^ region.c:202:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] upperregion(f, n) ^ region.c:202:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] upperregion(f, n) ^ region.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] upperregion(f, n) ^ int region.c:223:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFHARD); ^ region.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upperregion(f, n) ^ region.c:253:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getregion(rp) register REGION *rp; { ^ int region.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] region.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setsize(rp, size) register REGION *rp; register RSIZE size; { ^ int region.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] region.c:337:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] prefixregion(f, n) ^ region.c:337:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] prefixregion(f, n) ^ region.c:337:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] prefixregion(f, n) ^ int region.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] region.c:396:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setprefix(f, n) ^ region.c:396:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setprefix(f, n) ^ region.c:396:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setprefix(f, n) ^ int region.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 37 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c undo.c In file included from undo.c:36: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from undo.c:37: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from undo.c:37: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ undo.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ublock_open(bp) ^ undo.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ublock_close(bp) ^ undo.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_clean(bp) ^ undo.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ublock_clear(upp) ^ undo.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_balloc(undo, size) ^ undo.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_bgrow(undo, size) ^ undo.c:208:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_undo(f, n) ^ undo.c:208:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_undo(f, n) ^ undo.c:315:10: warning: passing arguments to 'twiddle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] twiddle(FFRAND, 1); ^ undo.c:339:10: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFEDIT); ^ undo.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_undo(f, n) ^ 14 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c word.c In file included from word.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from word.c:22: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from word.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ word.c:34:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backword(f, n) ^ word.c:34:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backword(f, n) ^ word.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backword(f, n) ^ int word.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] word.c:63:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwword(f, n) ^ word.c:63:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwword(f, n) ^ word.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwword(f, n) ^ int word.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] word.c:91:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] upperword(f, n) ^ word.c:91:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] upperword(f, n) ^ word.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] upperword(f, n) ^ int word.c:121:12: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFHARD); ^ word.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upperword(f, n) ^ word.c:136:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lowerword(f, n) ^ word.c:136:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lowerword(f, n) ^ word.c:136:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] lowerword(f, n) ^ int word.c:166:12: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFHARD); ^ word.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lowerword(f, n) ^ word.c:183:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] capword(f, n) ^ word.c:183:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] capword(f, n) ^ word.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] capword(f, n) ^ int word.c:214:12: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFHARD); ^ word.c:227:13: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFHARD); ^ word.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] capword(f, n) ^ word.c:241:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delfword(f, n) ^ word.c:241:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delfword(f, n) ^ word.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delfword(f, n) ^ int word.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] word.c:313:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delbword(f, n) ^ word.c:313:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delbword(f, n) ^ word.c:313:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delbword(f, n) ^ int word.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] word.c:377:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] inword() { ^ int 36 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c complt.c In file included from complt.c:29: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from complt.c:31: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from complt.c:31: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ complt.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete (buf, flags) ^ In file included from complt.c:33: ./complt.h:15:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int complete (); ^ complt.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_message (matchnum) ^ In file included from complt.c:33: ./complt.h:16:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *complete_message (); ^ complt.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_funcname (name) ^ complt.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_buffername (name) ^ complt.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_filename (name) ^ complt.c:239:26: warning: passing arguments to 'fffiles' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((fnnum = fffiles (name, &filenames)) == -1) ^ complt.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_list_names (buf, flags) ^ complt.c:293:21: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind ("*Completions*", TRUE)) == NULL) ^ complt.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_list_funcnames (name, bp) ^ complt.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_list_buffernames (name, bp) ^ complt.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] complete_list_filenames (name, bp) ^ complt.c:494:28: warning: passing arguments to 'file_name_part' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dnlen = file_name_part (name) - name; ^ complt.c:496:26: warning: passing arguments to 'fffiles' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((fnnum = fffiles (name, &filenames)) == -1) ^ complt.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] estrlen(str) ^ 19 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c display.c In file included from display.c:39: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from display.c:40: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from display.c:40: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ display.c:127:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] VOID vtputc(); ^ ./def.h:523:13: note: conflicting prototype is here extern VOID vtputc pro((int)); ^ display.c:212:13: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] vtmove(row, col) { ^ display.c:212:8: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] vtmove(row, col) { ^ display.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vtmove(row, col) { ^ display.c:126:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID vtmove(); ^ display.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vtputc(c) register int c; { ^ display.c:127:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID vtputc(); ^ display.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vtmarkyen(fillchar) ^ display.c:128:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID vtmarkyen(); ^ display.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rowcol2offset(lp, row, col) ^ display.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skipline(lp, lines) ^ display.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] countlines(lp) ^ display.c:836:11: warning: passing arguments to 'modeline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modeline(wp); ^ display.c:840:12: warning: passing arguments to 'moderatio' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moderatio(wp); ^ display.c:879:11: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uline(i, vscreen[i], &blanks); ^ display.c:880:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ucopy(vscreen[i], pscreen[i]); ^ display.c:885:2: warning: call to undeclared function 'ttykeypadstart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ttykeypadstart(); ^ display.c:892:10: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash(vscreen[i]); ^ display.c:893:10: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash(pscreen[i]); ^ display.c:902:11: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uline(offs, vp1, vp2); ^ display.c:903:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ucopy(vp1, vp2); ^ display.c:918:11: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uline(size-1, vp1, vp2); ^ display.c:919:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ucopy(vp1, vp2); ^ display.c:924:11: warning: passing arguments to 'setscores' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setscores(offs, size); /* Do hard update. */ ^ display.c:925:11: warning: passing arguments to 'traceback' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traceback(offs, size, size, size); ^ display.c:927:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ucopy(vscreen[offs+i], pscreen[offs+i]); ^ display.c:937:11: warning: passing arguments to 'uline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uline(i, vp1, vp2); ^ display.c:938:11: warning: passing arguments to 'ucopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ucopy(vp1, vp2); ^ display.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ucopy(vvp, pvp) register VIDEO *vvp; register VIDEO *pvp; { ^ display.c:131:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID ucopy(); ^ display.c:976:12: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VOID uline(row, vvp, pvp) VIDEO *vvp; VIDEO *pvp; { ^ display.c:976:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID uline(row, vvp, pvp) VIDEO *vvp; VIDEO *pvp; { ^ display.c:132:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID uline(); ^ display.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modeline(wp) register WINDOW *wp; { ^ display.c:133:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID modeline(); ^ display.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moderatio(wp) register WINDOW *wp; { ^ display.c:135:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID moderatio(); ^ display.c:1368:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] vtputs(s) register char *s; { ^ int display.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hash(vp) register VIDEO *vp; { ^ display.c:137:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID hash(); ^ display.c:1437:17: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setscores(offs, size) { ^ display.c:1437:11: warning: parameter 'offs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setscores(offs, size) { ^ display.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setscores(offs, size) { ^ display.c:138:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID setscores(); ^ display.c:1523:31: warning: parameter 'j' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VOID traceback(offs, size, i, j) { ^ display.c:1523:28: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VOID traceback(offs, size, i, j) { ^ display.c:1523:22: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VOID traceback(offs, size, i, j) { ^ display.c:1523:16: warning: parameter 'offs' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] VOID traceback(offs, size, i, j) { ^ display.c:1523:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID traceback(offs, size, i, j) { ^ display.c:139:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] VOID traceback(); ^ 54 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c keymap.c In file included from keymap.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from keymap.c:36: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from keymap.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ keymap.c:399:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int showversion(); /* Show version numbers, etc. */ ^ keymap.c:433:12: note: conflicting prototype is here extern int showversion _PF(); /* Show ng version breifry */ ^ keymap.c:401:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int showngversion(); /* Show Ng version, etc. */ ^ keymap.c:434:12: note: conflicting prototype is here extern int showngversion _PF(); /* Show ng version verbose */ ^ keymap.c:1272:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *map_name(map) ^ In file included from keymap.c:37: ./kbd.h:68:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *map_name(); ^ keymap.c:1283:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MAPS *name_mode(name) ^ In file included from keymap.c:37: ./kbd.h:69:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern MAPS *name_mode(); ^ keymap.c:1294:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KEYMAP *name_map(name) ^ In file included from keymap.c:37: ./kbd.h:67:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern KEYMAP *name_map(); ^ keymap.c:1737:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] name_fent(fname, flag) ^ int keymap.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] keymap.c:1765:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PF name_function(fname) ^ In file included from keymap.c:37: ./kbd.h:64:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PF name_function(); ^ keymap.c:1815:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *function_name(fpoint) ^ In file included from keymap.c:37: ./kbd.h:65:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *function_name(); ^ 17 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c modes.c In file included from modes.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from modes.c:19: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from modes.c:19: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ modes.c:32:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] VOID upmodes(); ^ ./def.h:520:13: note: conflicting prototype is here extern VOID upmodes pro((BUFFER *)); ^ modes.c:34:22: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((m = name_mode(mode)) == NULL) { ^ modes.c:26:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int changemode(f, n, mode) ^ modes.c:65:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] indentmode(f, n) ^ modes.c:65:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] indentmode(f, n) ^ modes.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] indentmode(f, n) ^ int modes.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modes.c:70:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillmode(f, n) ^ modes.c:70:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillmode(f, n) ^ modes.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fillmode(f, n) ^ int modes.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modes.c:87:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] blinkparen(f, n) ^ modes.c:87:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] blinkparen(f, n) ^ modes.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] blinkparen(f, n) ^ int modes.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modes.c:105:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cmode(f, n) ^ modes.c:105:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cmode(f, n) ^ modes.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cmode(f, n) ^ int modes.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modes.c:112:14: warning: passing arguments to 'set_tabwidth' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_tabwidth(-1, cmode_tab); ^ modes.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] overwrite(f, n) ^ int modes.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modes.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] set_default_mode(f, n) ^ int modes.c:138:22: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((m = name_mode(mode)) == NULL) { ^ modes.c:168:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else defb_flag |= BFAUTOFILL; ^ modes.c:172:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else defb_flag |= BFOVERWRITE; ^ modes.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_default_mode(f, n) ^ 30 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c echo.c In file included from echo.c:43: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from echo.c:44: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from echo.c:44: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ echo.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eargset(earg) ^ echo.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] edefset(earg) ^ echo.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] eyorn(sp) char *sp; { ^ int echo.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] echo.c:150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] eyesno(sp) char *sp; { ^ int echo.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] echo.c:206:15: warning: passing arguments to 'veread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = veread(fp, buf, nbuf, EFNEW|EFCR, &pvar) ; ^ echo.c:247:15: warning: passing arguments to 'veread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = veread(fp, buf, nbuf, flag, &pvar); ^ echo.c:389:10: warning: passing arguments to 'mb_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_init(nbuf, fp, ap); ^ echo.c:410:15: warning: passing arguments to 'mb_henkan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_henkan(c)) ^ echo.c:471:11: warning: passing arguments to 'mb_backww' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_backww(nargs); ^ echo.c:474:10: warning: passing arguments to 'mb_forww' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_forww(nargs); ^ echo.c:480:9: warning: passing arguments to 'mb_delw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_delw(nargs); ^ echo.c:483:8: warning: passing arguments to 'mb_upw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_upw(nargs); ^ echo.c:486:10: warning: passing arguments to 'mb_downw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_downw(nargs); ^ echo.c:516:33: warning: passing arguments to 'veread_complete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmp_msg_len = veread_complete(buf, nbuf, c, flag); ^ echo.c:518:13: warning: passing arguments to 'mb_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insert(1, (char) c); ^ echo.c:523:15: warning: passing arguments to 'mb_get_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_get_buffer(buf, nbuf); ^ echo.c:526:23: warning: passing arguments to 'complete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] matchnum = complete(buf, flag); ^ echo.c:530:35: warning: passing arguments to 'veread_complete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmp_msg_len = veread_complete(buf, nbuf, (int)CCHR('I'), flag); ^ echo.c:543:19: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((lp = lalloc(mb_bufsize())) == NULL) ^ echo.c:562:11: warning: passing arguments to 'mb_backwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_backwc(nargs); ^ echo.c:565:9: warning: passing arguments to 'mb_delc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_delc(nargs); ^ echo.c:571:10: warning: passing arguments to 'mb_forwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_forwc(nargs); ^ echo.c:575:11: warning: passing arguments to 'mb_erasec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_erasec(nargs); ^ echo.c:584:9: warning: passing arguments to 'refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] refresh(FFRAND, 0); ^ echo.c:605:10: warning: passing arguments to 'mb_trans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_trans(nargs); ^ echo.c:608:10: warning: passing arguments to 'mb_killw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_killw(nargs); ^ echo.c:614:9: warning: passing arguments to 'mb_yank' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_yank(nargs); ^ echo.c:617:15: warning: passing arguments to 'mb_matchparen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_matchparen(nargs, '(', ')'); ^ echo.c:620:15: warning: passing arguments to 'mb_matchparen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_matchparen(nargs, '[', ']'); ^ echo.c:623:15: warning: passing arguments to 'mb_matchparen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_matchparen(nargs, '{', '}'); ^ echo.c:636:15: warning: passing arguments to 'mb_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_insert(nargs, (char) c) < 0) ^ echo.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] veread(fp, buf, nbuf, flag, ap) ^ echo.c:59:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int veread(); ^ echo.c:656:15: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_insert(1, ' '); ^ echo.c:657:18: warning: passing arguments to 'mb_get_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_get_buffer(buf, nbuf); ^ echo.c:658:17: warning: passing arguments to 'complete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (complete(buf, flag) == COMPLT_NO_MATCH){ ^ echo.c:659:17: warning: passing arguments to 'mb2_erasec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_erasec(1); ^ echo.c:661:20: warning: passing arguments to 'mb_appenddiff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_appenddiff(buf); ^ echo.c:665:16: warning: passing arguments to 'mb_get_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_get_buffer(buf, nbuf); ^ echo.c:666:22: warning: passing arguments to 'complete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] matchnum = complete(buf, flag); ^ echo.c:667:16: warning: passing arguments to 'mb_appenddiff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_appenddiff(buf); ^ echo.c:673:40: warning: passing arguments to 'complete_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertcmplmsg(complete_message(matchnum)); ^ echo.c:673:23: warning: passing arguments to 'mb_insertcmplmsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertcmplmsg(complete_message(matchnum)); ^ echo.c:681:40: warning: passing arguments to 'complete_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertcmplmsg(complete_message(matchnum)); ^ echo.c:681:23: warning: passing arguments to 'mb_insertcmplmsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertcmplmsg(complete_message(matchnum)); ^ echo.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] veread_complete(buf, nbuf, c, flag) ^ echo.c:349:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int veread_complete(); ^ echo.c:745:19: warning: passing arguments to 'sformat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prompt = sformat(fp, ap); ^ echo.c:783:15: warning: passing arguments to 'mb_insertstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertstr(prompt); ^ echo.c:788:17: warning: passing arguments to 'mb_insertstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertstr(edef_text); ^ echo.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_init(nbuf, fp, ap) ^ echo.c:277:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_init(); ^ echo.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_get_buffer(buf, nbuf) ^ echo.c:278:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_get_buffer(); ^ echo.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_pointoverwrite(ch) ^ echo.c:281:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_pointoverwrite(); ^ echo.c:881:15: warning: passing arguments to 'mb2_gotochar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_gotochar(i); ^ echo.c:883:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(0, Line.next, 0, &col, &pt); ^ echo.c:885:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(ocol, lp, opt, &col, &pt); ^ echo.c:889:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_gotochar(i) ^ echo.c:286:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_gotochar(); ^ echo.c:897:12: warning: passing arguments to 'mb_move' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_move(i-_mb_point); ^ echo.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_gotochar(i) ^ echo.c:287:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_gotochar(); ^ echo.c:931:17: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_insert(n, c); ^ echo.c:932:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(ocol, lp, opt, &col, &pt); ^ echo.c:933:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:940:17: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_insert(1, k1); ^ echo.c:941:17: warning: passing arguments to 'mb2_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_insert(1, c); ^ echo.c:943:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(ocol, lp, opt, &col, &pt); ^ echo.c:944:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insert(n, c) ^ echo.c:288:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_insert(); ^ echo.c:958:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_putchar(c); ^ echo.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_insert(n, c) ^ echo.c:289:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_insert(); ^ echo.c:974:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_putchar(*(s++)); ^ echo.c:975:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) ^ echo.c:976:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(ocol, opt); ^ echo.c:978:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertstr(s) ^ echo.c:290:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_insertstr(); ^ echo.c:982:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static _mb_cmpl_msg_len = 0; ~~~~~~ ^ int echo.c:990:20: warning: passing arguments to 'mb2_insertcmplmsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_insertcmplmsg(s); ^ echo.c:991:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); ^ echo.c:992:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(_mb_ccol, _mb_point); ^ echo.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_insertcmplmsg(s) ^ echo.c:291:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID mb_insertcmplmsg(); ^ echo.c:1003:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_putchar(*(s++)); ^ echo.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_insertcmplmsg(s) ^ echo.c:292:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_insertcmplmsg(); ^ echo.c:1019:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); ^ echo.c:1023:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1037:17: warning: passing arguments to 'mb2_appenddiff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_appenddiff(buf); ^ echo.c:1038:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) ^ echo.c:1039:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(ocol, opt); ^ echo.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_appenddiff(buf) ^ echo.c:294:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_appenddiff(); ^ echo.c:1054:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_putchar(*(p1++)); ^ echo.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_appenddiff(buf) ^ echo.c:295:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_appenddiff(); ^ echo.c:1065:15: warning: passing arguments to 'mb2_delc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb2_delc(n) < 0) ^ echo.c:1067:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); ^ echo.c:1068:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_delc(n) ^ echo.c:296:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_delc(); ^ echo.c:1080:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[_mb_gapend], &v, &m); ^ echo.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_delc(n) ^ echo.c:297:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_delc(); ^ echo.c:1094:13: warning: passing arguments to 'mb2_erasec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_erasec(n); ^ echo.c:1095:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(0, Line.next, 0, &col, &pt); ^ echo.c:1097:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(_mb_ccol, _mb_point); ^ echo.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_erasec(n) ^ echo.c:298:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_erasec(); ^ echo.c:1111:19: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb2_backwc(1) < 0) ^ echo.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_erasec(n) ^ echo.c:299:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_erasec(); ^ echo.c:1130:16: warning: passing arguments to 'mb2_forwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_forwc(1); ^ echo.c:1134:17: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_backwc(1); ^ echo.c:1137:17: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_backwc(1); ^ echo.c:1141:17: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_backwc(1); ^ echo.c:1146:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(0, Line.next, 0, &col, &pt); ^ echo.c:1148:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(_mb_ccol, _mb_point); ^ echo.c:1150:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_killw(n) ^ echo.c:300:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_killw(); ^ echo.c:1171:8: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[_mb_gapend], &v, &m); ^ echo.c:1182:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[_mb_gapend], &v, &m); ^ echo.c:1196:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt); ^ echo.c:1197:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_delw(n) ^ echo.c:301:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_delw(); ^ echo.c:1208:21: warning: passing arguments to 'mb_backwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return mb_backwc(-n); ^ echo.c:1212:12: warning: passing arguments to 'mb2_forwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_forwc(n); ^ echo.c:1213:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) ^ echo.c:1216:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_forwc(n) ^ echo.c:302:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_forwc(); ^ echo.c:1229:13: warning: passing arguments to 'mb2_backwc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_backwc(n); ^ echo.c:1230:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(0, Line.next, 0, &col, &pt); ^ echo.c:1234:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_backwc(n) ^ echo.c:303:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_backwc(); ^ echo.c:1246:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[_mb_gapend], &v, &m); ^ echo.c:1247:12: warning: passing arguments to 'mb_move' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_move(m); ^ echo.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_forwc(n) ^ echo.c:304:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_forwc(); ^ echo.c:1260:12: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize2(&_mb_buf[_mb_point-1], &v, &m); ^ echo.c:1261:12: warning: passing arguments to 'mb_move' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_move(-m); ^ echo.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb2_backwc(n) ^ echo.c:305:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb2_backwc(); ^ echo.c:1273:21: warning: passing arguments to 'mb_backww' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return mb_backww(-n); ^ echo.c:1289:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) ^ echo.c:1292:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_forww(n) ^ echo.c:306:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_forww(); ^ echo.c:1319:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(0, Line.next, 0, &col, &pt); ^ echo.c:1323:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_backww(n) ^ echo.c:307:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_backww(); ^ echo.c:1360:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) ^ echo.c:1361:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(ocol, opt); ^ echo.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_upw(n) ^ echo.c:310:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_upw(); ^ echo.c:1390:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) ^ echo.c:1391:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(ocol, opt); ^ echo.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_downw(n) ^ echo.c:311:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_downw(); ^ echo.c:1419:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(0, Line.next, 0, &col, &pt); ^ echo.c:1436:18: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(_mb_ccol, CLine, _mb_point, &col, &pt) == 0) ^ echo.c:1439:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1461:17: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_putchar(ch); ^ echo.c:1464:14: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(ocol, lp, opt, &col, &pt); ^ echo.c:1466:15: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(ocol, opt); ^ echo.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_yank(n) ^ echo.c:315:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_yank(); ^ echo.c:1500:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize2(&_mb_buf[_mb_point-1], &v1, &m1); ^ echo.c:1503:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[_mb_gapend], &v2, &m2); ^ echo.c:1513:20: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(ocol, lp, opt, &col, &pt) == 0) ^ echo.c:1514:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(ocol, opt); ^ echo.c:1528:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize2(&_mb_buf[_mb_point-1], &v1, &m1); ^ echo.c:1531:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[_mb_gapend], &v2, &m2); ^ echo.c:1541:20: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mb_fixlines(0, Line.next, 0, &col, &pt) == 0) ^ echo.c:1542:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_trans(n) ^ echo.c:316:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_trans(); ^ echo.c:1582:15: warning: passing arguments to 'mb_putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_putchar(cpar); ^ echo.c:1583:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(ocol, lp, opt, &col, &pt); ^ echo.c:1590:17: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, pt); ^ echo.c:1612:25: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _mb_ccol = mb_col(clp, point); ^ echo.c:1613:18: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(0, clp->idx); ^ echo.c:1615:31: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ttmove(_mb_crow, mb_col(clp, point)); ^ echo.c:1637:25: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _mb_ccol = mb_col(clp, point); ^ echo.c:1638:18: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(0, clp->idx); ^ echo.c:1640:31: warning: passing arguments to 'mb_col' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ttmove(_mb_crow, mb_col(clp, point)); ^ echo.c:1647:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize2(&_mb_buf[point], &v, &m); ^ echo.c:1654:16: warning: passing arguments to 'mb_fixlines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(ocol, lp, opt, NULL, NULL); ^ echo.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_matchparen(n, opar, cpar) ^ echo.c:317:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_matchparen(); ^ echo.c:1671:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[point], &v, &m); ^ echo.c:1663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_col(lp, pt) ^ echo.c:318:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_col(); ^ echo.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_putchar(c) ^ echo.c:319:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_putchar(); ^ echo.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_move(m) ^ echo.c:320:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID mb_move(); ^ echo.c:1729:13: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[_mb_point-1], &v, &m); ^ echo.c:1736:14: warning: passing arguments to 'chsize2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize2(&_mb_buf[_mb_point-1], &v, &m); ^ echo.c:1722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_movech(n) ^ echo.c:321:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID mb_movech(); ^ echo.c:1770:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[point], &v, &m); ^ echo.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_fixlines(col, line, point, colp, ptp) ^ echo.c:322:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_fixlines(); ^ echo.c:1824:13: warning: passing arguments to 'mb_refresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(0, CLine->idx); ^ echo.c:1837:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[idx], &v, &m); ^ echo.c:1839:12: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(_mb_buf[idx++]); ^ echo.c:1845:11: warning: passing arguments to 'chsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(&_mb_buf[idx], &v, &m); ^ echo.c:1847:12: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(_mb_buf[idx++]); ^ echo.c:1852:12: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc('\\'); ^ echo.c:1827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_refresh(col, idx) ^ echo.c:324:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID mb_refresh(); ^ echo.c:1912:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mb_insertstr(ks.echoStr); ^~~~~~~~~~ echo.c:1865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mb_henkan( c ) ^ echo.c:339:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int mb_henkan(); ^ echo.c:1951:20: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_c(s, idx, n, c); ^ echo.c:1956:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) keyname(kname, va_arg(*ap, int)); ^ echo.c:1957:15: warning: passing arguments to 's_put_s' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_s(s, idx, n, kname); ^ echo.c:1962:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(cp, key.k_chars[c]); ^ echo.c:1966:15: warning: passing arguments to 's_put_s' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_s(s, idx, n, kname); ^ echo.c:1969:15: warning: passing arguments to 's_put_i' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_i(s, idx, n, va_arg(*ap, int), 10); ^ echo.c:1972:15: warning: passing arguments to 's_put_i' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_i(s, idx, n, va_arg(*ap, int), 8); ^ echo.c:1975:15: warning: passing arguments to 's_put_s' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_s(s, idx, n, va_arg(*ap, char *)); ^ echo.c:1981:17: warning: passing arguments to 's_put_l' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_l(s, idx, n, (long)va_arg(*ap, long), 10); ^ echo.c:1984:17: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_c(s, idx, n, c); ^ echo.c:1989:15: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_c(s, idx, n, c); ^ echo.c:1934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sformat(fp, ap) ^ echo.c:326:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char* sformat(); ^ echo.c:2007:18: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_c(p, idx, n, '-'); ^ echo.c:2012:17: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return s_put_c(p, idx, n, i%r+'0'); ^ echo.c:1998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s_put_i(p, idx, n, i, r) ^ echo.c:327:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int s_put_i(); ^ echo.c:2025:18: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_c(p, idx, n, '-'); ^ echo.c:2030:17: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return s_put_c(p, idx, n, (int)(l%r)+'0'); ^ echo.c:2016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s_put_l(p, idx, n, l, r) ^ echo.c:328:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int s_put_l(); ^ echo.c:2041:18: warning: passing arguments to 's_put_c' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idx = s_put_c(p, idx, n, c); ^ echo.c:2034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s_put_s(p, idx, n, s) ^ echo.c:329:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int s_put_s(); ^ echo.c:2046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] s_put_c(p, idx, n, c) ^ echo.c:330:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int s_put_c(); ^ echo.c:2080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize(s, visu, mem) ^ echo.c:331:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID chsize(); ^ echo.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chsize2(s, visu, mem) ^ echo.c:332:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID chsize2(); ^ echo.c:2864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eformat(fp, ap) ^ echo.c:2875:9: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(c); ^ echo.c:2880:19: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) keyname(kname, va_arg(*ap, int)); ^ echo.c:2881:10: warning: passing arguments to 'eputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputs(kname); ^ echo.c:2887:21: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(cp, key.k_chars[c]); ^ echo.c:2891:10: warning: passing arguments to 'eputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputs(kname); ^ echo.c:2895:10: warning: passing arguments to 'eputi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputi(va_arg(*ap, int), 10); ^ echo.c:2899:10: warning: passing arguments to 'eputi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputi(va_arg(*ap, int), 8); ^ echo.c:2903:10: warning: passing arguments to 'eputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputs(va_arg(*ap, char *)); ^ echo.c:2910:11: warning: passing arguments to 'eputl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputl((long)va_arg(*ap, long), 10); ^ echo.c:2913:11: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(c); ^ echo.c:2919:10: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(c); ^ echo.c:2936:11: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc('-'); ^ echo.c:2941:7: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(i%r+'0'); ^ echo.c:2929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputi(i, r) ^ echo.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID eputi(); ^ echo.c:2955:11: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc('-'); ^ echo.c:2960:7: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc((int)(l%r)+'0'); ^ echo.c:2948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputl(l, r) ^ echo.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID eputl(); ^ echo.c:2973:8: warning: passing arguments to 'eputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(c); ^ echo.c:2967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputs(s) ^ echo.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID eputs(); ^ echo.c:2982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eputc(c) ^ echo.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID eputc(); ^ 285 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c extend.c In file included from extend.c:15: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from extend.c:16: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from extend.c:16: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ extend.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] insert(f, n) ^ int extend.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:107:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int remap(curmap, c, funct, pref_map) ^ extend.c:264:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static KEYMAP *realocmap(curmap) ^ extend.c:294:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VOID fixmap(curmap, mp, mt) ^ extend.c:337:12: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(doscan(curmap, c=CHARMASK(maclcur->l_text[s])) != prefix) { ^ extend.c:344:19: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) doscan(curmap, c=maclcur->l_text[s]); ^ extend.c:357:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pep = keyname(pep, c = getkey(FALSE)); ^ extend.c:358:12: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(doscan(curmap,c) != prefix) break; ^ extend.c:370:33: warning: passing arguments to 'name_function' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (((funct = name_function(prompt)) == prefix) ? ^ extend.c:371:28: warning: passing arguments to 'name_map' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (pref_map = name_map(prompt)) == NULL : funct==NULL) { ^ extend.c:315:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int dobind(curmap, p, unbind) ^ extend.c:419:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bindtokey(f, n) ^ extend.c:419:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bindtokey(f, n) ^ extend.c:419:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bindtokey(f, n) ^ int extend.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:428:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] localbind(f, n) ^ extend.c:428:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] localbind(f, n) ^ extend.c:428:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] localbind(f, n) ^ int extend.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:438:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] define_key(f, n) ^ extend.c:438:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] define_key(f, n) ^ extend.c:438:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] define_key(f, n) ^ int extend.c:445:23: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((mp = name_mode(&buf[16])) == NULL) { ^ extend.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] define_key(f, n) ^ extend.c:453:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] unbindtokey(f, n) ^ int extend.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:459:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] localunbind(f, n) ^ int extend.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:473:11: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extend(f, n) ^ extend.c:473:8: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extend(f, n) ^ extend.c:473:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extend(f, n) ^ int extend.c:482:27: warning: passing arguments to 'name_function' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((funct = name_function(xname)) != NULL) { ^ extend.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend(f, n) ^ extend.c:518:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalexpr(f, n) ^ extend.c:518:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalexpr(f, n) ^ extend.c:518:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalexpr(f, n) ^ int extend.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:532:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalbuffer(f, n) ^ extend.c:532:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalbuffer(f, n) ^ extend.c:532:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalbuffer(f, n) ^ int extend.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:552:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalfile(f, n) ^ extend.c:552:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalfile(f, n) ^ extend.c:552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] evalfile(f, n) ^ int extend.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:573:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] load(fname) char *fname; { ^ int extend.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:578:25: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((fname = adjustname(fname)) == NULL) ^ extend.c:612:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] excline(line) ^ int extend.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extend.c:659:24: warning: passing arguments to 'name_function' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((fp = name_function(funcp)) == NULL) { ^ extend.c:674:17: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((np = lalloc(0))==FALSE) return FALSE; ^ extend.c:682:22: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((lp = lalloc((int)(line-argp)+BINDEXT))==NULL) { ^ extend.c:696:19: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((lp = lalloc((int)(line-argp)+BINDEXT))==NULL) { ^ extend.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skipwhite(s) ^ extend.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parsetoken(s) ^ 60 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c help.c In file included from help.c:8: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from help.c:9: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from help.c:9: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ help.c:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int rescan(); ^ ./def.h:595:12: note: conflicting prototype is here extern int rescan pro((int, int)); ^ help.c:30:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] desckey(f, n) ^ help.c:30:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] desckey(f, n) ^ help.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] desckey(f, n) ^ int help.c:55:19: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pep = keyname(pep, key.k_chars[key.k_count++] = c = getkey(FALSE)); ^ help.c:56:24: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((funct = doscan(curmap, c)) != prefix) break; ^ help.c:63:20: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] funct = doscan(curmap, TOLOWER(key.k_chars[key.k_count-1])); ^ help.c:76:20: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] funct = doscan(curmap, key.k_chars[i]); ^ help.c:89:33: warning: passing arguments to 'function_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if((pep = function_name(funct)) != NULL) ^ help.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] desckey(f, n) ^ help.c:105:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] wallchart(f, n) ^ help.c:105:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] wallchart(f, n) ^ help.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] wallchart(f, n) ^ int help.c:111:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*help*", TRUE)) == NULL) return FALSE; ^ help.c:121:11: warning: passing arguments to 'showall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (showall(buf, curbp->b_modes[m]->p_map) == FALSE) || ^ help.c:125:14: warning: passing arguments to 'showall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (showall(buf, map_table[0].p_map) == FALSE)) return FALSE; ^ help.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wallchart(f, n) ^ help.c:144:15: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(ind, last); ^ help.c:147:19: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(cp + 4, ele->k_base - 1); ^ help.c:150:34: warning: passing arguments to 'function_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) strcpy(cp, function_name(map->map_default)); ^ help.c:157:47: warning: passing arguments to 'function_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(functp != prefix) cp2 = function_name(functp); ^ help.c:158:26: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else cp2 = map_name(ele->k_prefmap); ^ help.c:160:16: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(ind, i); ^ help.c:174:15: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(ind, i); ^ help.c:129:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int showall(ind, map) ^ help.c:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int showall(); ^ help.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] help_help(f, n) ^ int help.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] help.c:190:22: warning: passing arguments to 'name_map' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((kp = name_map("help")) == NULL) return FALSE; ^ help.c:196:16: warning: passing arguments to 'doscan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] funct = doscan(kp, getkey(FALSE)); ^ help.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] apropos_command(f, n) ^ int help.c:219:20: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*help*", TRUE)) == NULL) return FALSE; ^ help.c:233:11: warning: passing arguments to 'findbind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findbind(fnp->n_funct, buf, map_table[0].p_map); ^ help.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] apropos_command(f, n) ^ help.c:255:18: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(ind, last); ^ help.c:258:17: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) keyname(cp + 4, ele->k_base - 1); ^ help.c:266:20: warning: passing arguments to 'map_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = map_name(ele->k_prefmap); ^ help.c:274:17: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (VOID) keyname(ind, i); ^ help.c:284:18: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = keyname(ind, i); ^ help.c:242:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VOID findbind(funct, ind, map) ^ help.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID findbind(); ^ 44 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c kanji.c In file included from kanji.c:27: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from kanji.c:30: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from kanji.c:30: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ kanji.c:130:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_fio(f, n) ^ kanji.c:130:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_fio(f, n) ^ kanji.c:130:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_fio(f, n) ^ int kanji.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:152:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_fio(f, n) ^ kanji.c:152:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_fio(f, n) ^ kanji.c:152:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_fio(f, n) ^ int kanji.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:176:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_buffio(f, n) ^ kanji.c:176:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_buffio(f, n) ^ kanji.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_buffio(f, n) ^ int kanji.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:199:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_buffio(f, n) ^ kanji.c:199:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_buffio(f, n) ^ kanji.c:199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_buffio(f, n) ^ int kanji.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:224:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_expect(f, n) ^ kanji.c:224:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_expect(f, n) ^ kanji.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_expect(f, n) ^ int kanji.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:248:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_input(f, n) ^ kanji.c:248:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_input(f, n) ^ kanji.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_input(f, n) ^ int kanji.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:269:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_input(f, n) ^ kanji.c:269:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_input(f, n) ^ kanji.c:269:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_input(f, n) ^ int kanji.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:295:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_display(f, n) ^ kanji.c:295:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_display(f, n) ^ kanji.c:295:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_rot_display(f, n) ^ int kanji.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:316:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_display(f, n) ^ kanji.c:316:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_display(f, n) ^ kanji.c:316:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_display(f, n) ^ int kanji.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:341:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_list_code(f, n) ^ kanji.c:341:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_list_code(f, n) ^ kanji.c:341:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_list_code(f, n) ^ int kanji.c:347:17: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((bp = bfind("*Kanji Codes*", TRUE)) == NULL) return FALSE; ^ kanji.c:398:18: warning: passing arguments to 'popbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((wp = popbuf(bp)) == NULL) return FALSE; ^ kanji.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] k_list_code(f, n) ^ kanji.c:412:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_show_code(f, n) ^ kanji.c:412:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_show_code(f, n) ^ kanji.c:412:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_show_code(f, n) ^ int kanji.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:451:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokfio(f, n) ^ kanji.c:451:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokfio(f, n) ^ kanji.c:451:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokfio(f, n) ^ int kanji.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:474:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_toafio(f, n) ^ kanji.c:474:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_toafio(f, n) ^ kanji.c:474:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_toafio(f, n) ^ int kanji.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:498:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokanafio(f, n) ^ kanji.c:498:17: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokanafio(f, n) ^ kanji.c:498:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokanafio(f, n) ^ int kanji.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:521:24: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokanadisplay(f, n) ^ kanji.c:521:21: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokanadisplay(f, n) ^ kanji.c:521:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokanadisplay(f, n) ^ int kanji.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:545:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokdisplay(f, n) ^ kanji.c:545:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokdisplay(f, n) ^ kanji.c:545:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_tokdisplay(f, n) ^ int kanji.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:568:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_toadisplay(f, n) ^ kanji.c:568:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_toadisplay(f, n) ^ kanji.c:568:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] k_set_toadisplay(f, n) ^ int kanji.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:588:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kcodenumber(code, num) ^ int kanji.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:624:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kanalastchar(lastch) ^ int kanji.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:658:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] klastchar(lastch, kselect) ^ int kanji.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ksetbufcode(bp) ^ kanji.c:700:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kdispbufcode(bp) ^ int kanji.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:729:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kgetkey() ^ int kanji.c:752:26: warning: '/*' within block comment [-Wcomment] #ifdef notdef /* HANKANA /* 92.11.21 by S.Sasaki */ ^ kanji.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kttputc(c) ^ kanji.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kdselectcode(next_is_k) ^ kanji.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kputc(c, fp, kfio) ^ kanji.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kfselectcode(fp, next_is_k) ^ kanji.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ksetfincode(bp) ^ kanji.c:1288:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kcodeconv(buf, len, bp) ^ int kanji.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1320:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kcodecount(buf, len) ^ int kanji.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kcodecheck(p, len) ^ int kanji.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bufjtoe(j, len) ^ int kanji.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1503:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bufstoe(p, len) ^ int kanji.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bufetos(p, len) ^ kanji.c:1587:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bufjtoe_c(j, len) ^ int kanji.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1633:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bufstoe_c(p, len) ^ int kanji.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1662:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] iskanji() ^ int kanji.c:1672:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] iskword(c1, c2) ^ int kanji.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanji.c:1682:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getcategory() ^ int kanji.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initcategory(dir) ^ kanji.c:1709:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] incategory() ^ int kanji.c:1733:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charcategory(c1, c2) ^ int kanji.c:1733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 112 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c kbd.c In file included from kbd.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from kbd.c:36: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from kbd.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ kbd.c:72:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_meta(f, n) ^ kbd.c:72:9: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_meta(f, n) ^ kbd.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] do_meta(f, n) ^ int kbd.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbd.c:92:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bsmap(f, n) ^ kbd.c:92:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bsmap(f, n) ^ kbd.c:92:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bsmap(f, n) ^ int kbd.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbd.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID ungetkey(c) ^ kbd.c:120:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(pushedc==CCHR('?')) pushedc=CCHR('H'); ^ kbd.c:125:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int getkey(flag) ^ kbd.c:152:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(c==CCHR('?')) c=CCHR('H'); ^ kbd.c:163:23: warning: passing arguments to 'keyname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] promptp = keyname(promptp, c); ^ kbd.c:179:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PF doscan(map, c) ^ In file included from kbd.c:37: ./kbd.h:63:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PF doscan(); ^ kbd.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doin() ^ int kbd.c:224:15: warning: passing arguments to 'henkan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return henkan(d); ^ kbd.c:252:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] rescan(f, n) ^ int kbd.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbd.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] universal_argument(f, n) ^ int kbd.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbd.c:351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] digit_argument(f, n) ^ int kbd.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbd.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] negative_argument(f, n) ^ int kbd.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbd.c:431:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] selfinsert(f, n) ^ int kbd.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kbd.c:499:19: warning: passing arguments to 'lallocx' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((lp = lallocx(maclcur->l_used + n)) == NULL) ^ kbd.c:516:22: warning: passing arguments to 'lallocx' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((lp = lallocx(n)) == NULL) return FALSE; ^ kbd.c:566:13: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFEDIT); ^ kbd.c:625:9: warning: passing arguments to 'lchange' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lchange(WFEDIT); ^ kbd.c:653:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] quote(f, n) ^ kbd.c:653:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] quote(f, n) ^ kbd.c:653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] quote(f, n) ^ int kbd.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 38 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c macro.c In file included from macro.c:11: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from macro.c:14: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from macro.c:14: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ macro.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] definemacro(f, n) ^ int macro.c:40:29: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((maclhead = lp1 = lalloc(0)) == NULL) return FALSE; ^ macro.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] definemacro(f, n) ^ macro.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] finishmacro(f, n) ^ int macro.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] macro.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] executemacro(f, n) ^ int macro.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] macro.c:67:33: warning: array index 256 is past the end of the array (which contains 256 elements) [-Warray-bounds] (macrocount >= MAXMACRO && macro[MAXMACRO].m_funct != finishmacro)) ^ ~~~~~~~~ ./macro.h:22:8: note: array 'macro' declared here EXTERN union { ^ 11 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c main.c In file included from main.c:31: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from main.c:32: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from main.c:32: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ main.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int main.c:133:2: warning: call to undeclared function 'ttykeymapinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ttykeymapinit(ngrcfile); /* Symbols, bindings. */ ^ main.c:147:23: warning: passing arguments to 'startupfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((cp = startupfile(ngrcfile, (char *)NULL)) != NULL) ^ main.c:172:18: warning: passing arguments to 'adjustname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp = adjustname(*++argv); ^ main.c:181:16: warning: passing arguments to 'gotoline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotoline(1,line); ^ main.c:188:26: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((tmpbp = findbuffer(cp)) == NULL) break; /* 91.02.17 by N.Yuasa */ ^ main.c:200:15: warning: passing arguments to 'gotoline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotoline(1,line); ^ main.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ main.c:255:12: warning: passing arguments to 'bfind' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bp = bfind("*scratch*", TRUE); /* Text buffer. */ ^ main.c:282:9: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] quit(f, n) ^ main.c:282:6: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] quit(f, n) ^ main.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] quit(f, n) ^ int main.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main.c:308:10: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ctrlg(f, n) ^ main.c:308:7: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ctrlg(f, n) ^ main.c:308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ctrlg(f, n) ^ int main.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 20 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c search.c In file included from search.c:29: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from search.c:30: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from search.c:30: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ search.c:106:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwsearch(f, n) ^ search.c:106:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwsearch(f, n) ^ search.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwsearch(f, n) ^ int search.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search.c:128:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backsearch(f, n) ^ search.c:128:12: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backsearch(f, n) ^ search.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backsearch(f, n) ^ int search.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search.c:149:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] searchagain(f, n) ^ search.c:149:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] searchagain(f, n) ^ search.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] searchagain(f, n) ^ int search.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search.c:174:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwisearch(f, n) ^ search.c:174:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwisearch(f, n) ^ search.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwisearch(f, n) ^ int search.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search.c:184:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backisearch(f, n) ^ search.c:184:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backisearch(f, n) ^ search.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backisearch(f, n) ^ int search.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search.c:202:9: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] isearch(dir) { ^ search.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] isearch(dir) { ^ int search.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search.c:209:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] VOID ungetkey(); ^ ./def.h:492:13: note: conflicting prototype is here extern VOID ungetkey pro((int)); ^ search.c:228:10: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_BEGIN); ^ search.c:230:11: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, TRUE, success); ^ search.c:250:19: warning: passing arguments to 'is_fail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (is_fail(is_peek())) ^ search.c:251:13: warning: passing arguments to 'is_undo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_undo(&pptr, &dir); ^ search.c:253:14: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, pptr < 0, success); ^ search.c:269:13: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_FORW); ^ search.c:277:15: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_find(SRCH_FORW) != FALSE) is_cpush(SRCH_MARK); ^ search.c:277:45: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_find(SRCH_FORW) != FALSE) is_cpush(SRCH_MARK); ^ search.c:283:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, pptr < 0, success); ^ search.c:290:13: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_BACK); ^ search.c:298:15: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_find(SRCH_BACK) != FALSE) is_cpush(SRCH_MARK); ^ search.c:298:45: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_find(SRCH_BACK) != FALSE) is_cpush(SRCH_MARK); ^ search.c:304:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, pptr < 0, success); ^ search.c:309:11: warning: passing arguments to 'is_undo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_undo(&pptr, &dir); ^ search.c:310:16: warning: passing arguments to 'is_fail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!is_fail(is_peek())) success = TRUE; ^ search.c:311:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, pptr < 0, success); ^ search.c:335:30: warning: passing arguments to 'is_addword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( (chunklen = is_addword(pptr,dir)) == 0 ){ ^ search.c:343:14: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_CHUNK(chunklen,1)); ^ search.c:345:17: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_find(dir)) ^ search.c:346:15: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_CHUNK(chunklen,0)); ^ search.c:350:15: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_CHUNK(chunklen,1)); ^ search.c:354:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, FALSE, success); ^ search.c:367:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, FALSE, success); ^ search.c:395:16: warning: passing arguments to 'is_find' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_find(dir) != FALSE) ^ search.c:396:14: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(c); ^ search.c:400:14: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_ACCM); ^ search.c:403:13: warning: passing arguments to 'is_cpush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(SRCH_ACCM); ^ search.c:404:13: warning: passing arguments to 'is_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, FALSE, success); ^ search.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cpush(cmd) register int cmd; { ^ search.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID is_cpush(); ^ search.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_undo(pptr, dir) register int *pptr; register int *dir; { ^ search.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID is_undo(); ^ search.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_find(dir) register int dir; { ^ search.c:67:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int is_find(); ^ search.c:561:22: warning: parameter 'success' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is_prompt(dir, flag, success) { ^ search.c:561:16: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is_prompt(dir, flag, success) { ^ search.c:561:11: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is_prompt(dir, flag, success) { ^ search.c:564:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_dspl("I-search", flag); ^ search.c:566:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_dspl("Failing I-search", flag); ^ search.c:569:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_dspl("I-search backward", flag); ^ search.c:571:11: warning: passing arguments to 'is_dspl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_dspl("Failing I-search backward", flag); ^ search.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_prompt(dir, flag, success) { ^ search.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID is_prompt(); ^ search.c:581:17: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is_dspl(prompt, flag) char *prompt; { ^ search.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_dspl(prompt, flag) char *prompt; { ^ search.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID is_dspl(); ^ search.c:591:9: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is_fail(code) ^ search.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_fail(code) ^ search.c:75:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int is_fail(); ^ search.c:599:17: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is_addword(pptr,dir) ^ search.c:599:12: warning: parameter 'pptr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] is_addword(pptr,dir) ^ search.c:628:17: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if( !eq(c,CHARMASK(pat[i])) ) ^ search.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_addword(pptr,dir) ^ search.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int is_addword(); ^ search.c:684:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] queryrepl(f, n) ^ search.c:684:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] queryrepl(f, n) ^ search.c:684:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] queryrepl(f, n) ^ int search.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search.c:787:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] forwsrch() { ^ int search.c:815:9: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (eq(c, pat[0]) != FALSE) { ^ search.c:828:11: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (eq(c, *pp++) == FALSE) ^ search.c:848:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] backsrch() { ^ int search.c:883:9: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (eq(c, *epp) != FALSE) { ^ search.c:898:11: warning: passing arguments to 'eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (eq(c, *--pp) == FALSE) ^ search.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eq(bc, pc) ^ search.c:70:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int eq(); ^ search.c:940:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] readpattern(prompt) char *prompt; { ^ int search.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 95 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c match.c In file included from match.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from match.c:31: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from match.c:31: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ match.c:59:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showmatch(f, n) ^ match.c:59:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showmatch(f, n) ^ match.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showmatch(f, n) ^ int match.c:68:23: warning: passing arguments to 'getmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( !getmatch(curwp->w_dotp, curwp->w_doto - 1, &clp, &cbo, -1)) ^ match.c:71:23: warning: passing arguments to 'displaymatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] displaymatch(clp,cbo); ^ match.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showmatch(f, n) ^ match.c:81:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotomatch(f,n) ^ match.c:81:11: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotomatch(f,n) ^ match.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] gotomatch(f,n) ^ int match.c:90:15: warning: passing arguments to 'getmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( !getmatch(curwp->w_dotp, curwp->w_doto, &clp, &cbo, dir)){ ^ match.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gotomatch(f,n) ^ match.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] blinkmatch( clp, cbo ) ^ int match.c:110:18: warning: passing arguments to 'getmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( !getmatch(clp,cbo,&mlp,&mbo,-1) ) ^ match.c:112:17: warning: passing arguments to 'displaymatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] displaymatch(mlp,mbo); ^ match.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] blinkmatch( clp, cbo ) ^ match.c:117:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getmatch( clp, cbo, mlp, mbo, dir ) ^ match.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match.c:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int getmatch(); /* Nov 91. Added by bsh */ ^ match.c:203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VOID displaymatch(clp, cbo) ^ match.c:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID displaymatch(); ^ 23 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c re_search.c In file included from re_search.c:82: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from re_search.c:85: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from re_search.c:85: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ re_search.c:144:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_forwsearch(f, n) { ^ re_search.c:144:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_forwsearch(f, n) { ^ re_search.c:144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_forwsearch(f, n) { ^ int re_search.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:165:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_backsearch(f, n) { ^ re_search.c:165:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_backsearch(f, n) { ^ re_search.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_backsearch(f, n) { ^ int re_search.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:190:19: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_searchagain(f, n) { ^ re_search.c:190:16: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_searchagain(f, n) { ^ re_search.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_searchagain(f, n) { ^ int re_search.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:234:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_queryrepl(f, n) { ^ re_search.c:234:14: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_queryrepl(f, n) { ^ re_search.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_queryrepl(f, n) { ^ int re_search.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:340:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_doreplace(plen, st, f) ^ int re_search.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:430:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_forwsrch() { ^ int re_search.c:457:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = re_search (&re_buff, ltext(clp), llength(clp), tbo, ntries, ®s); ^ re_search.c:484:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_backsrch() { ^ int re_search.c:510:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = re_search (&re_buff, ltext(clp), llength(clp), tbo, -ntries, ®s); ^ re_search.c:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_readpattern(prompt) char *prompt; { ^ int re_search.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:553:24: warning: assigning to 'char *' from 'unsigned char[256]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] re_buff.translate = upcase; ^ ~~~~~~ re_search.c:555:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] re_buff.translate = '\0'; ^~~~ re_search.c:556:33: warning: passing arguments to 're_compile_pattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] message = re_compile_pattern (re_pat, strlen(re_pat), &re_buff); ^ re_search.c:557:19: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if (message != '\0') { ^~~~ (void *)0 re_search.c:562:23: warning: passing arguments to 're_compile_fastmap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_compile_fastmap (&re_buff); ^ re_search.c:575:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setcasefold(f, n) { ^ re_search.c:575:13: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setcasefold(f, n) { ^ re_search.c:575:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setcasefold(f, n) { ^ int re_search.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:599:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delmatchlines(f, n) { ^ re_search.c:599:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delmatchlines(f, n) { ^ re_search.c:599:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delmatchlines(f, n) { ^ int re_search.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:614:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delnonmatchlines(f, n) { ^ re_search.c:614:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delnonmatchlines(f, n) { ^ re_search.c:614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] delnonmatchlines(f, n) { ^ int re_search.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:629:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] killmatches(cond) ^ int re_search.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:651:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = re_search (&re_buff, ltext(clp), llength(clp), 0, llength(clp), ^ re_search.c:690:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cntmatchlines(f, n) { ^ re_search.c:690:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cntmatchlines(f, n) { ^ re_search.c:690:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cntmatchlines(f, n) { ^ int re_search.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:705:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cntnonmatchlines(f, n) { ^ re_search.c:705:18: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cntnonmatchlines(f, n) { ^ re_search.c:705:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cntnonmatchlines(f, n) { ^ int re_search.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:720:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] countmatches(cond) ^ int re_search.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search.c:735:20: warning: passing arguments to 're_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i = re_search (&re_buff, ltext(clp), llength(clp), 0, llength(clp), ^ 58 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c regex.c In file included from regex.c:11: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from regex.c:14: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from regex.c:14: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ In file included from regex.c:17: ./kanji_.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kpart(pLim, pChr) ^ ./kanji_.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int jstrlen(s) ^ ./kanji_.c:57:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * jnthchar(s, n) ^ ./kanji_.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jindex(s, c) ^ ./kanji_.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jrindex(s, c) ^ ./kanji_.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jstrlower(s) ^ In file included from regex.c:18: ./regex_j.c:258:16: warning: parameter 'syntax' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] re_set_syntax (syntax) ^ ./regex_j.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_set_syntax (syntax) ^ ./regex_j.c:455:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_jump (fixup_jump, jump, b); ^ ./regex_j.c:560:19: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_jump (b, maybe_finalize_jump, laststart - 3); ^ ./regex_j.c:563:16: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_jump (on_failure_jump, laststart, b + 3, b); ^ ./regex_j.c:570:20: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_jump (dummy_failure_jump, laststart, laststart + 6, b); ^ ./regex_j.c:737:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_jump (fixup_jump, jump, b); ^ ./regex_j.c:756:20: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_jump (on_failure_jump, begalt, b + 6, b); ^ ./regex_j.c:760:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_jump (fixup_jump, jump, b); ^ ./regex_j.c:885:16: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_jump (fixup_jump, jump, b); ^ ./regex_j.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_compile_pattern (pattern, size, bufp) ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:274:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *re_compile_pattern (); ^ In file included from regex.c:18: ./regex_j.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] store_jump (from, opcode, to) ^ ./regex_j.c:352:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void store_jump (), insert_jump (); ^ ./regex_j.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] insert_jump (op, from, to, current_end) ^ ./regex_j.c:352:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void store_jump (), insert_jump (); ^ ./regex_j.c:993:15: warning: 6 enumeration values not handled in switch: 'unused', 'charset_list', 'charset_fromto'... [-Wswitch] switch ((enum regexpcode) *p++) ^~~~~~~~~~~~~~~~~~~~~~ ./regex_j.c:993:15: note: add missing switch cases switch ((enum regexpcode) *p++) ^ ./regex_j.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_compile_fastmap (bufp) ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:276:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void re_compile_fastmap (); ^ In file included from regex.c:18: ./regex_j.c:1238:22: warning: passing arguments to 're_search_2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return re_search_2 (pbufp, 0, 0, string, size, startpos, range, regs, size); ^ ./regex_j.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search (pbufp, string, size, startpos, range, regs) ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:277:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int re_search (), re_search_2 (); ^ In file included from regex.c:18: ./regex_j.c:1366:24: warning: passing arguments to 're_match_2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] val = re_match_2 (pbufp, (unsigned char *)string1, size1, (unsigned char *)string2, size2, startpos, regs, mstop); ^ ./regex_j.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_search_2 (pbufp, string1, size1, string2, size2, startpos, range, regs, mstop) ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:277:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int re_search (), re_search_2 (); ^ In file included from regex.c:18: ./regex_j.c:1620:34: warning: passing arguments to 'bcmp_translate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (translate ? bcmp_translate (d, d2, mcnt, translate) : bcmp (d, d2, mcnt)) ^ ./regex_j.c:1572:15: warning: 9 enumeration values not handled in switch: 'unused', 'charset_list', 'charset_fromto'... [-Wswitch] switch ((enum regexpcode) *p++) ^~~~~~~~~~~~~~~~~~~~~~ ./regex_j.c:1572:15: note: add missing switch cases switch ((enum regexpcode) *p++) ^ ./regex_j.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] re_match_2 (pbufp, string1, size1, string2, size2, pos, regs, mstop) ^ In file included from regex.c:18: In file included from ./regex_j.c:208: ./regex_j.h:278:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int re_match (), re_match_2 (); ^ In file included from regex.c:18: ./regex_j.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bcmp_translate (s1, s2, len, translate) ^ ./regex_j.c:1407:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int bcmp_translate(); ^ 40 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c skg.c In file included from skg.c:25: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from skg.c:27: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from skg.c:27: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ skg.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_string( cstr ) ^ skg.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_list( clist ) ^ skg.c:101:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int compare_string( s1 , s2 ) ^ skg.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_scanf( k1, k2 , f , s1 , s2 , dflg ) ^ skg.c:237:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skginput(f , n) ^ skg.c:237:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skginput(f , n) ^ skg.c:237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skginput(f , n) ^ int skg.c:263:23: warning: passing arguments to 'skg_input_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( skg_input_string(&flg,&mode,istr) == 1 ) ^ skg.c:275:21: warning: passing arguments to 'skg_text_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg_text_insert( istr , mode ); ^ skg.c:283:28: warning: passing arguments to 'skg_convert_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (skg_convert_string(mode,istr,dstr) == 0) ^ skg.c:285:18: warning: passing arguments to 'skg_text_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg_text_insert( dstr, A_MODE ); ^ skg.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skginput(f , n) ^ skg.c:337:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dstr , "<A5><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:339:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dstr , "<A4><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int convert_to_hiragana( keystr , dstr ) ^ skg.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg_text_insert( insert_str , mode ) ^ skg.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID skg_text_insert(); ^ skg.c:430:23: warning: passing arguments to 'skg_display_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg_display_prompt(istr, *mode ); /* Display SKG-Prompt on MiniBuffer */ ^ skg.c:512:20: warning: passing arguments to 'skg_display_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg_display_prompt(istr,*mode ); ^ skg.c:421:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int skg_input_string( flg, mode, istr ) ^ skg.c:64:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int skg_input_string(); ^ skg.c:521:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *next_target( target ,dstr ) ^ skg.c:534:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *prev_target( target ,dstr ) ^ skg.c:563:22: warning: passing arguments to 'search_dictionary' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_dictionary( mode , istr , dictionary_list ,rstr ); ^ skg.c:569:19: warning: passing arguments to 'target_display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] target_display(dstr , rstr ); ^ skg.c:588:20: warning: passing arguments to 'target_display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] target_display(dstr , rstr ); ^ skg.c:593:20: warning: passing arguments to 'target_display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] target_display(dstr , rstr ); ^ skg.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg_convert_string(mode , istr , dstr ) ^ skg.c:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int skg_convert_string(); ^ skg.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] target_display(dstr , rstr ) ^ skg.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID target_display(); ^ skg.c:638:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ewprintf("Skg[<A4><A2>]:%s",bufstr ); ^~~~~~~~ skg.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg_display_prompt( istr , mode ) ^ skg.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID skg_display_prompt(); ^ skg.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dic_next_target( tlist, target ,dstr ) ^ skg.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makedic( tlist, trest , rlength , result ) ^ skg.c:733:20: warning: passing arguments to 'setup_keystring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setup_keystring( mode,istr ); ^ skg.c:744:26: warning: passing arguments to 'compare_keystring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(compare_keystring(istr , tmpstr,tmprstr,mode)) ^ skg.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_dictionary( mode, istr, dlist, rstr ) ^ skg.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID search_dictionary(); ^ skg.c:866:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dickeystr[i].hiragana , "<A5><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:868:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dickeystr[i].hiragana , "<A4><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setup_keystring( mode , keystr ) ^ skg.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static VOID setup_keystring(); ^ skg.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_to_n_hiragana( keystr , dstr ,length) ^ skg.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compare_keystring( istr, tmpstr,tmprstr,mode ) ^ skg.c:71:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int compare_keystring(); ^ skg.c:977:22: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skg_set_romanname(f, n) ^ skg.c:977:19: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skg_set_romanname(f, n) ^ skg.c:977:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skg_set_romanname(f, n) ^ int skg.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skg.c:998:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skg_set_dicname(f, n) ^ skg.c:998:17: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skg_set_dicname(f, n) ^ skg.c:998:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] skg_set_dicname(f, n) ^ int skg.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 58 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cinfo.c In file included from cinfo.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from cinfo.c:19: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from cinfo.c:19: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ cinfo.c:140:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *keyname(cp, k) ^ In file included from cinfo.c:19: ./def.h:409:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *keyname(); ^ 5 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c spawn.c In file included from spawn.c:17: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from spawn.c:18: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from spawn.c:18: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ spawn.c:53:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] spawncli(f, n) { ^ spawn.c:53:10: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] spawncli(f, n) { ^ spawn.c:53:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] spawncli(f, n) { ^ int spawn.c:66:2: warning: call to undeclared function 'ttykeymaptidy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ttykeymaptidy(); ^ spawn.c:91:6: warning: call to undeclared function 'ttcooked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ttcooked() == FALSE) ^ spawn.c:105:3: warning: call to undeclared function 'refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] refresh(FFRAND, 0); /* May be resized. */ ^ spawn.c:141:3: warning: call to undeclared function 'refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] refresh(FFRAND, 0); /* May be resized. */ ^ spawn.c:147:2: warning: call to undeclared function 'ttykeypadstart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ttykeypadstart(); ^ spawn.c:149:9: warning: call to undeclared function 'ttraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ttraw(); ^ spawn.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spawncli(f, n) { ^ spawn.c:180:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((in = open(input ? input : "/dev/null", 0)) < 0) ^ spawn.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] call_process(command, input) ^ 15 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ttyio.c In file included from ttyio.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from ttyio.c:22: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from ttyio.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ ttyio.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttopen() { ^ int ttyio.c:93:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if((tgetent(tcbuf, tv_stype)) != 1) ^ ttyio.c:99:6: warning: call to undeclared function 'ttraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ttraw() == FALSE) ^ ttyio.c:109:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ttyio.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttraw() { ^ int ttyio.c:173:2: warning: call to undeclared function 'setttysize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setttysize() ; ^ ttyio.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttclose() { ^ int ttyio.c:185:6: warning: call to undeclared function 'ttcooked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (ttcooked() == FALSE) ^ ttyio.c:190:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttcooked() { ^ int ttyio.c:219:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttputc(c) ^ int ttyio.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ttyio.c:225:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:230:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttflush() { ^ int ttyio.c:236:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttgetc() { ^ int ttyio.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttungetc(c) ^ int ttyio.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ttyio.c:269:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:275:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] setttysize() { ^ int ttyio.c:284:12: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((nrow=tgetnum ("li")) <= 0 ^ ttyio.c:293:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:303:2: warning: call to undeclared function 'refresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] refresh(FFRAND, 0); /* Very easy way... */ ^ ttyio.c:305:2: warning: call to undeclared function 'canna_width'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] canna_width(); ^ ttyio.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] typeahead() { ^ int ttyio.c:329:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] panic(s) char *s; { ^ int ttyio.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 30 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c tty.c In file included from tty.c:36: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from tty.c:37: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from tty.c:37: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ tty.c:55:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int ttputc(); ^ ./def.h:498:12: note: conflicting prototype is here extern int ttputc pro((int)); ^ tty.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttinit() { ^ int tty.c:111:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if((tgetent(tcbuf, tv_stype)) != 1) { ^ tty.c:118:13: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = tgetstr("pc", &p); ^ tty.c:121:7: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] LI = tgetnum("li"); ^ tty.c:122:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CD = tgetstr("cd", &p); ^ tty.c:123:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CM = tgetstr("cm", &p); ^ tty.c:124:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CE = tgetstr("ce", &p); ^ tty.c:125:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UP = tgetstr("up", &p); ^ tty.c:126:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BC = tgetstr("bc", &p); ^ tty.c:127:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IM = tgetstr("im", &p); ^ tty.c:128:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IC = tgetstr("ic", &p); ^ tty.c:129:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EI = tgetstr("ei", &p); ^ tty.c:130:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DC = tgetstr("dc", &p); ^ tty.c:131:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AL = tgetstr("al", &p); ^ tty.c:132:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DL = tgetstr("dl", &p); ^ tty.c:133:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pAL= tgetstr("AL", &p); /* parameterized insert and del. line */ ^ tty.c:134:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pDL= tgetstr("DL", &p); ^ tty.c:135:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TI = tgetstr("ti", &p); ^ tty.c:136:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TE = tgetstr("te", &p); ^ tty.c:137:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SO = tgetstr("so", &p); ^ tty.c:138:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SE = tgetstr("se", &p); ^ tty.c:139:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CS = tgetstr("cs", &p); /* set scrolling region */ ^ tty.c:140:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SF = tgetstr("sf", &p); ^ tty.c:142:15: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SF = tgetstr("do", &p); ^ tty.c:144:15: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SF = tgetstr("nl", &p); ^ tty.c:148:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SR = tgetstr("sr", &p); ^ tty.c:151:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KS = tgetstr("ks", &p); /* keypad start, keypad end */ ^ tty.c:152:14: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KE = tgetstr("ke", &p); ^ tty.c:171:16: warning: call to undeclared function 'charcost'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] else tceeol = charcost(CE); ^ tty.c:190:17: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (TI && *TI) putpad(TI, 1); /* init the term */ ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:191:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tttidy() { ^ int tty.c:202:17: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (TE && *TE) putpad(TE, 1); /* set the term back to normal mode */ ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:203:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CM, 0, ttrow), 1); /* not nrow */ ^ tty.c:203:2: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CM, 0, ttrow), 1); /* not nrow */ ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:204:17: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (CE && *CE) putpad(CE, 1); /* erase one line */ ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:206:2: warning: call to undeclared function 'ttykeymaptidy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ttykeymaptidy(); ^ tty.c:208:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:217:13: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttmove(row, col) { ^ tty.c:217:8: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttmove(row, col) { ^ tty.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttmove(row, col) { ^ int tty.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty.c:219:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CM, col, row), 1); ^ tty.c:219:2: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CM, col, row), 1); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:223:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tteeol() { ^ int tty.c:229:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(CE) putpad(CE, 1); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:235:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tteeop() { ^ int tty.c:241:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(CD) putpad(CD, nrow - ttrow); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:257:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:262:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttbeep() { ^ int tty.c:265:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:275:23: warning: parameter 'nchunk' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] void ttinsl(row, bot, nchunk) { ^ tty.c:275:18: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] void ttinsl(row, bot, nchunk) { ^ tty.c:275:13: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] void ttinsl(row, bot, nchunk) { ^ tty.c:275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ttinsl(row, bot, nchunk) { ^ tty.c:285:3: warning: call to undeclared function 'ttwindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ttwindow(row,bot); ^ tty.c:287:20: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (nchunk--) putpad(SR, nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:293:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); ^ tty.c:293:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:295:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(DL, nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:298:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); ^ tty.c:298:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:300:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(AL, nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:314:23: warning: parameter 'nchunk' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] void ttdell(row, bot, nchunk) ^ tty.c:314:18: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] void ttdell(row, bot, nchunk) ^ tty.c:314:13: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] void ttdell(row, bot, nchunk) ^ tty.c:314:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ttdell(row, bot, nchunk) ^ tty.c:325:3: warning: call to undeclared function 'ttwindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ttwindow(row, bot); ^ tty.c:327:20: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (nchunk--) putpad(SF, nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:333:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); ^ tty.c:333:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pDL) putpad(tgoto(pDL, 0, nchunk), nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:335:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(DL, nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:338:24: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); ^ tty.c:338:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (pAL) putpad(tgoto(pAL, 0, nchunk), nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:340:5: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(AL, nl); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:358:15: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttwindow(top, bot) ^ tty.c:358:10: warning: parameter 'top' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttwindow(top, bot) ^ tty.c:358:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttwindow(top, bot) ^ int tty.c:361:15: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CS, bot, top), nrow - ttrow); ^ tty.c:361:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CS, bot, top), nrow - ttrow); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ttwindow(top, bot) ^ tty.c:367:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttnowindow() ^ int tty.c:382:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CS, (nrow > LI ? nrow : LI) - 1, 0), nrow - ttrow); ^ tty.c:382:2: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(tgoto(CS, (nrow > LI ? nrow : LI) - 1, 0), nrow - ttrow); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:388:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:399:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttcolor(color) register int color; { ^ int tty.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty.c:402:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(SE, 1); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:404:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(SO, 1); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ tty.c:408:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:419:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttresize() { ^ int tty.c:420:2: warning: call to undeclared function 'setttysize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setttysize(); /* found in "ttyio.c", */ ^ tty.c:430:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fakec(c) ^ tty.c:447:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:450:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] charcost (s) char *s; { ^ int tty.c:453:7: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tputs(s, nrow, fakec); ^ tty.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charcost (s) char *s; { ^ 105 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ttykbd.c In file included from ttykbd.c:15: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from ttykbd.c:16: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from ttykbd.c:16: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ ttykbd.c:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int ttputc(); ^ ./def.h:498:12: note: conflicting prototype is here extern int ttputc pro((int)); ^ ttykbd.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttykeymapinit(ngrcfile) ^ int ttykbd.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = gettermtype()) { ~~~^~~~~~~~~~~~~~~ ttykbd.c:50:9: note: place parentheses around the assignment to silence this warning if (cp = gettermtype()) { ^ ( ) ttykbd.c:50:9: note: use '==' to turn this assignment into an equality comparison if (cp = gettermtype()) { ^ == ttykbd.c:52:25: warning: passing arguments to 'startupfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (((cp = startupfile(ngrcfile, cp)) != NULL) ^ ttykbd.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ttykeymapinit(ngrcfile) ^ ttykbd.c:60:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttykbd.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttykeypadstart() ^ int ttykbd.c:70:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(KS, 1); ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ ttykbd.c:72:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttykbd.c:77:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ttykeymaptidy() ^ int ttykbd.c:83:3: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putpad(KE, 1); /* turn off keypad */ ^ ./ttydef.h:54:31: note: expanded from macro 'putpad' #define putpad(str, num) tputs(str, num, ttputc) ^ ttykbd.c:85:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 15 warnings generated. cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c fileio.c In file included from fileio.c:17: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from fileio.c:18: In file included from ./def.h:46: ./sysdef.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from fileio.c:18: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ fileio.c:25:26: error: expected parameter declarator extern char *getenv(), *strncpy(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:32: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:25:26: error: expected parameter declarator /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:45: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:25:26: error: expected parameter declarator /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:39:60: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fileio.c:25:26: error: expected parameter declarator /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ fileio.c:25:26: error: expected ')' /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ fileio.c:25:26: note: to match this '(' /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fileio.c:25:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern char *getenv(), *strncpy(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fileio.c:25:26: error: conflicting types for '__builtin___strncpy_chk' /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:3: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:25:26: note: '__builtin___strncpy_chk' is a builtin with type 'char *(char *, const char *, unsigned long, unsigned long)' /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:3: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ffropen(fn) char *fn; { ^ int fileio.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:43:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ffwopen(fn) char *fn; { ^ int fileio.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ffclose() { ^ int fileio.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ffputbuf(bp) ^ int fileio.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:90:6: warning: call to undeclared function 'kputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] kputc(*cp, ffp, kfio); ^ fileio.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ffgetline(buf, nbuf, nbytes) ^ int fileio.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fbackupfile(fn) char *fn; { ^ int fileio.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fgetfilemode(fn) ^ int fileio.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:188:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fsetfilemode(fn, mode) ^ int fileio.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:206:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fchkreadonly(fn) ^ int fileio.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:240:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *adjustname(fn) ^ fileio.c:27:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *adjustname(); ^ fileio.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] startupfile(ngrcfile, suffix) ^ fileio.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] copy(frname, toname) ^ int fileio.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:419:15: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] if((pid = vfork()) == 0) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ fileio.c:446:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *popen(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:227:7: note: conflicting prototype is here FILE *popen(const char *, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(popen)) __swift_unavailable("Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)"); ^ fileio.c:453:24: warning: passing arguments to 'findbuffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((bp = findbuffer(dirname)) == NULL) { ^ fileio.c:484:35: warning: passing arguments to 'name_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if((bp->b_modes[0] = name_mode("dired")) == NULL) { ^ fileio.c:439:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BUFFER *dired_(dirname) ^ fileio.c:493:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] d_makename(lp, fn) ^ int fileio.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:566:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ffisdir(dn) ^ int fileio.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:592:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] fffiles(name, buf) ^ int fileio.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileio.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_name_part (s) ^ fileio.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_dir_name (d, s) ^ 40 warnings and 6 errors generated. *** [fileio.o] Error code 1 bmake: stopped in /Users/pbulk/build/editors/ng/work/ng-1.4.4 1 error bmake: stopped in /Users/pbulk/build/editors/ng/work/ng-1.4.4 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/ng *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/ng