=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/elvis", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for elvis-2.2.0nb11 --- main.o --- --- osblock.o --- --- osdir.o --- --- main.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c main.c --- osblock.o --- clang -DUSE_SGTTY -I. -Iosunix -c osunix/osblock.c --- osdir.o --- clang -DUSE_SGTTY -I. -Iosunix -c osunix/osdir.c osunix/osdir.c:58:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | ELVBOOL dirwildcmp(fname, wild) | ^ osunix/osdir.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | char *dirfirst(wildexpr, ispartial) | ^ osunix/osdir.c:247:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | ELVBOOL diriswild(wildexpr) | ^ osunix/osdir.c:289:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | DIRPERM dirperm(filename) | ^ osunix/osdir.c:335:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | char *dirfile(pathname) | ^ osunix/osdir.c:355:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | char *dirdir(pathname) | ^ osunix/osdir.c:381:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | char *dirpath(dir, file) | ^ osunix/osdir.c:405:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | char *dirtime(filename) | ^ osunix/osdir.c:449:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | ELVBOOL dirchdir(pathname) | ^ osunix/osdir.c:457:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | char *expanduserhome(pathname, dest) | ^ 10 warnings generated. --- osprg.o --- clang -DUSE_SGTTY -I. -Iosunix -c osunix/osprg.c --- main.o --- main.c:82:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | static void usage(hint) | ^ main.c:181:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | static int parseflags(argc, argv) | ^ main.c:419:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | static int choosegui(argc, argv) | ^ main.c:640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | static void buildargs(argc, argv) | ^ main.c:703:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | ELVBOOL mainfirstcmd(win) | ^ main.c:738:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | static void init(argc, argv) | ^ main.c:906:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | int main(argc, argv) | ^ 7 warnings generated. --- ostext.o --- clang -DUSE_SGTTY -I. -Iosunix -c osunix/ostext.c --- osblock.o --- osunix/osblock.c:42:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | ELVBOOL blkopen(force, buf) | ^ osunix/osblock.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void blkclose(buf) | ^ osunix/osblock.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | void blkwrite(buf, blkno) | ^ osunix/osblock.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | void blkread(buf, blkno) | ^ 4 warnings generated. --- osnet.o --- clang -DUSE_SGTTY -I. -Iosunix -c osunix/osnet.c --- osprg.o --- osunix/osprg.c:40:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | ELVBOOL prgopen(cmd, willwrite, willread) | ^ osunix/osprg.c:169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | int prgwrite(buf, nbytes) | ^ osunix/osprg.c:272:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | int prgread(buf, nbytes) | ^ 3 warnings generated. --- optglob.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c optglob.c --- options.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c options.c --- ostext.o --- osunix/ostext.c:22:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | int txtopen(filename, rwa, binary) | ^ osunix/ostext.c:49:22: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] 49 | if (errno == EPERM || EACCES) | ^ ~~~~~~ osunix/ostext.c:49:22: note: use '|' for a bitwise operation 49 | if (errno == EPERM || EACCES) | ^~ | | osunix/ostext.c:70:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | int txtwrite(buf, nbytes) | ^ osunix/ostext.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int txtread(buf, nbytes) | ^ 4 warnings generated. --- safe.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c safe.c --- optglob.o --- optglob.c:430:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | static int optislistchars(opt, val, newval) | ^ optglob.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | void optprevfile(filename, line) | ^ 2 warnings generated. --- session.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c session.c --- options.o --- options.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | int optisnumber(desc, val, newval) | ^ options.c:124:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | int optisstring(desc, val, newval) | ^ options.c:151:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | int optispacked(desc, val, newval) | ^ options.c:243:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | int optisoneof(desc, val, newval) | ^ options.c:285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | int optistab(desc, val, newval) | ^ options.c:369:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | CHAR *optnstring(desc, val) | ^ options.c:381:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | CHAR *optsstring(desc, val) | ^ options.c:392:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | CHAR *opt1string(desc, val) | ^ --- safe.o --- safe.c:11:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | void *safealloc(qty, size) | ^ --- options.o --- options.c:420:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | CHAR *opttstring(desc, val) | ^ --- safe.o --- safe.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void safefree(ptr) | ^ safe.c:31:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | char *safedup(str) | ^ --- options.o --- options.c:460:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | void optdelete(val) | ^ options.c:501:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | void optinsert(domain, nopts, desc, val) | ^ options.c:530:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | void optfree(nopts, vals) | ^ options.c:549:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | static ELVBOOL optshow(name) | ^ options.c:590:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | static void optoutput(domain, all, set, outbuf, outsize) | ^ options.c:841:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | CHAR *optgetstr(name, desc) | ^ options.c:896:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | void optautocmd(name, desc, val) | ^ options.c:938:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | ELVBOOL optputstr(name, value, bang) | ^ --- safe.o --- 3 warnings generated. --- options.o --- options.c:1049:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | static void savelocal(desc, val, i) | ^ options.c:1090:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | static OPTSTK *restorelocal(item) | ^ options.c:1184:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | void *optlocal(level) | ^ options.c:1207:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | ELVBOOL optset(bang, args, outbuf, outsize) | ^ options.c:1481:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | OPTVAL *optval(name) | ^ options.c:1511:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | char *optevent(name) | ^ options.c:1574:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | void optsave(custom) | ^ options.c:1668:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | CHAR *optcomplete(win, m) | ^ --- buffer.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c buffer.c --- options.o --- 25 warnings generated. --- calc.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c calc.c --- session.o --- session.c:66:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | static void delcache(item, thenfree) | ^ session.c:135:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | static void addcache(item) | ^ session.c:184:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | static CACHEENTRY *findblock(blkno) | ^ session.c:244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | void sesopen(force) | ^ session.c:310:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | BLKNO seslock(blkno, forwrite, blktype) | ^ session.c:403:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | BLK *sesblk(blkno) | ^ session.c:417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | void sesunlock(blkno, forwrite) | ^ session.c:440:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | static void flushblock(bc) | ^ session.c:449:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | void sesflush(blkno) | ^ session.c:528:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | BLKNO sesalloc(blkwant, blktype) | ^ session.c:647:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | void sesfree(blkno) | ^ 11 warnings generated. --- color.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c color.c --- buffer.o --- buffer.c:170:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | static void proc(bufinfo, nchars, nlines, changes, prevloc, name) | ^ buffer.c:306:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | BUFFER bufalloc(name, bufinfo, internal) | ^ buffer.c:521:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | BUFFER buffind(name) | ^ buffer.c:608:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | CHAR *buffilenumber(refp) | ^ buffer.c:663:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | ELVBOOL bufread(mark, rfile) | ^ buffer.c:767:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | BUFFER bufload(bufname, filename, reload) | ^ buffer.c:1062:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | BUFFER bufpath(path, filename, bufname) | ^ buffer.c:1099:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | static void freeundo(buffer) | ^ buffer.c:1152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | void buffree(buffer) | ^ buffer.c:1265:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | ELVBOOL bufunload(buf, force, save) | ^ buffer.c:1330:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | ELVBOOL bufsave(buf, force, mustwr) | ^ buffer.c:1372:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | ELVBOOL bufwrite(from, to, wfile, force) | ^ buffer.c:1681:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | void bufoptions(buf) | ^ buffer.c:1717:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | void buftitle(buffer, title) | ^ buffer.c:1771:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | void bufwilldo(cursor, will) | ^ buffer.c:1788:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1788 | static struct undo_s *allocundo(buf) | ^ buffer.c:1837:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | static void bufdo(buf, wipe) | ^ buffer.c:1914:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | static void didmodify(buf) | ^ buffer.c:1935:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1935 | long bufundo(cursor, back) | ^ buffer.c:2129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2129 | void bufreplace(from, to, newp, newlen) | ^ buffer.c:2235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2235 | void bufpaste(dst, from, to) | ^ buffer.c:2302:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2302 | CHAR *bufmemory(from, to) | ^ --- calc.o --- calc.c:248:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | ELVBOOL calcnumber(str) | ^ calc.c:279:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | ELVBOOL calcbase10(str) | ^ calc.c:357:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | ELVBOOL calctrue(str) | ^ calc.c:376:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | static CHAR *subnum(cp, nelem, from, to) | ^ calc.c:433:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | _CHAR_ calcsubscript(array, sub, max, chunks) | ^ calc.c:616:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | static int copyname(dest, src, num) | ^ calc.c:683:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | static ELVBOOL func(name, arg) | ^ calc.c:1593:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | CHAR *calcelement(set, element) | ^ calc.c:1635:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | static CHAR *nextelement(element, setref) | ^ calc.c:1704:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | CHAR *calcset(left, op, right) | ^ calc.c:2117:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2117 | static CHAR *applyall(prec) | ^ calc.c:2136:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | static CHAR *maybeconcat(build, base, asmsg) | ^ calc.c:2172:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2172 | CHAR *calculate(expr, arg, rule) | ^ calc.c:2754:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2754 | ELVBOOL calcsel(from, to) | ^ --- buffer.o --- 22 warnings generated. --- descr.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c descr.c --- calc.o --- 14 warnings generated. --- digraph.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c digraph.c --- color.o --- color.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | int colorisbg(desc, val, newval) | ^ color.c:180:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | static ELVBOOL orcolor(cur, or, bg) | ^ color.c:214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | int colorfind(fontname) | ^ color.c:242:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | COLORINFO *colorcombine(oldfont, newcinfo) | ^ color.c:275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | void colorparse(descr, fgref,bgref, likeref, bitsref) | ^ color.c:289:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'CHAR *' (aka 'unsigned char *') [-Wnon-literal-null-conversion] 289 | *likeref = '\0'; | ^~~~ color.c:425:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | static void recolor(fontcode) | ^ color.c:641:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | static void colorlike(fontcode) | ^ color.c:673:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | void colorset(fontcode, descr, explicit) | ^ color.c:842:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | void colorforeign(name, descr) | ^ color.c:895:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | int colortmp(oldfont, newfont) | ^ color.c:942:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | int colorexpose(font, refattr) | ^ color.c:978:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | void colorlist(win, name, implicit) | ^ color.c:1012:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | void colorsave(buf) | ^ color.c:1063:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | CHAR *colorcomplete(win, from, to, nameonly) | ^ color.c:1311:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | int colorrgb2ansi(isfg, rgb) | ^ color.c:1370:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | ELVBOOL coloransi(fontcode, name, isfg, colorptr, rgb) | ^ color.c:1477:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | char *colorname (ansi) | ^ 18 warnings generated. --- display.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c display.c --- descr.o --- descr.c:46:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | static void callext(ext) | ^ descr.c:83:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | static ELVBOOL wrongext(filename, flen, ext) | ^ descr.c:151:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | static ELVBOOL findbylanguage(language) | ^ descr.c:177:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | static ELVBOOL findbyextension(filename) | ^ descr.c:222:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | void *descr_recall(win, dfile) | ^ descr.c:269:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | ELVBOOL descr_open(win, dfile) | ^ descr.c:351:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | void descr_close(descr) | ^ descr.c:383:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | CHAR *descr_known(filename, dfile) | ^ descr.c:442:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | ELVBOOL descr_cancall(filename) | ^ 9 warnings generated. --- gui.o --- --- digraph.o --- digraph.c:104:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | static void adjustctype(ch) | ^ digraph.c:177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | CHAR digraph(in1, in2) | ^ digraph.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | void digaction(win, bang, extra) | ^ digraph.c:324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | void digsave(buf) | ^ --- gui.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c gui.c --- digraph.o --- 4 warnings generated. --- lowbuf.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c lowbuf.c --- display.o --- display.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void displist(win) | ^ display.c:55:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | ELVBOOL dispset(win, newmode) | ^ display.c:114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | void dispinit(before) | ^ display.c:148:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | void dispoptions(mode, info) | ^ display.c:205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | MARK dispmove(win, linedelta, wantcol) | ^ display.c:235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | long dispmark2col(win) | ^ display.c:267:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | void dispindent(w, line, linedelta) | ^ 7 warnings generated. --- mark.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c mark.c --- lowbuf.o --- lowbuf.c:37:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- gui.o --- gui.c:18:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lowbuf.o --- 37 | static short checksum(blk) | ^ --- gui.o --- 18 | ELVBOOL guicolorsync(win) | ^ --- lowbuf.o --- lowbuf.c:74:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | static BLKNO delblock(blklist, lblkno, ncharsptr, nlinesptr) | ^ lowbuf.c:88:16: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 88 | if (lblkno >= SES_MAXBLKLIST) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- gui.o --- gui.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lowbuf.o --- lowbuf.c:92:56: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] --- gui.o --- 59 | void guimoveto(win, column, row) | ^ gui.c:77:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lowbuf.o --- 92 | next = delblock(blk->blklist.next, (LBLKNO)(lblkno - SES_MAXBLKLIST), ncharsptr, nlinesptr); | ^~~~~~~~~~~~~~ --- gui.o --- 77 | DRAWATTR *guidraw(win, font, text, len, forcebits) | ^ --- lowbuf.o --- ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:129:18: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 129 | while (lblkno < SES_MAXBLKLIST - 1) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:170:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | static BLKNO insblock(blklist, before, chars, nchars, nlines) --- gui.o --- gui.c:124:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | ELVBOOL guiscroll(win, qty, notlast) | ^ --- lowbuf.o --- | ^ lowbuf.c:200:20: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] --- gui.o --- gui.c:147:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lowbuf.o --- 200 | else if (before < SES_MAXBLKLIST) | ^~~~~~~~~~~~~~ --- gui.o --- 147 | ELVBOOL guishift(win, qty, rows) | ^ --- lowbuf.o --- ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:209:7: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] --- gui.o --- gui.c:168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | void guiclrtoeol(win) --- lowbuf.o --- 209 | i = SES_MAXBLKLIST - 1; | ^~~~~~~~~~~~~~ --- gui.o --- | ^ --- lowbuf.o --- ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:234:56: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 234 | next = insblock(blk->blklist.next, (LBLKNO)(before - SES_MAXBLKLIST), chars, nchars, nlines); | ^~~~~~~~~~~~~~ --- gui.o --- gui.c:233:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | ELVBOOL guipoll(reset) | ^ --- lowbuf.o --- ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' --- gui.o --- gui.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | void guibeep(win) | ^ --- lowbuf.o --- 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- gui.o --- gui.c:292:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lowbuf.o --- lowbuf.c:253:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- gui.o --- 292 | int guikeylabel(given, givenlen, label, rawptr) | ^ --- lowbuf.o --- 253 | static BLKNO lockchars(bufinfo, lblkno, blkno) | ^ lowbuf.c:287:19: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 287 | while (lblkno >= SES_MAXBLKLIST) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:293:13: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 293 | lblkno -= SES_MAXBLKLIST; | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:310:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | static void unlockchars(bufinfo, lblkno, blkno, chgchars, chglines) | ^ lowbuf.c:330:20: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 330 | for (; lblkno >= SES_MAXBLKLIST; lblkno -= SES_MAXBLKLIST) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:330:46: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 330 | for (; lblkno >= SES_MAXBLKLIST; lblkno -= SES_MAXBLKLIST) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:363:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | static void helpinit(bufinfo, bufproc) | ^ lowbuf.c:394:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 394 | for (i = 0; (unsigned)i < SES_MAXBLKLIST && blist->blklist.blk[i].blkno; i++) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | void lowinit(bufproc) | ^ lowbuf.c:445:28: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 445 | for (i = 0; (unsigned)i < SES_MAXSUPER; i++) | ^~~~~~~~~~~~ ./session.h:94:36: note: expanded from macro 'SES_MAXSUPER' 94 | #define SES_MAXSUPER ((o_blksize - (int)(((BLK *)0)->super.buf)) / sizeof(BLKNO)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:466:29: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 466 | for (i = 0; (unsigned)i < SES_MAXSUPER2; i++) | ^~~~~~~~~~~~~ ./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2' 95 | #define SES_MAXSUPER2 ((o_blksize - (int)(((BLK *)0)->super2.buf)) / sizeof(BLKNO)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:489:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | BLKNO lowalloc(name) | ^ lowbuf.c:509:43: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 509 | strncpy(blk->bufinfo.name, name, (size_t)SES_MAXBUFINFO); | ^~~~~~~~~~~~~~ ./session.h:96:37: note: expanded from macro 'SES_MAXBUFINFO' 96 | #define SES_MAXBUFINFO (o_blksize - (int)(((BLK *)0)->bufinfo.name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ lowbuf.c:525:36: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 525 | if ((unsigned)++i >= (super==0 ? SES_MAXSUPER : SES_MAXSUPER2)) | ^~~~~~~~~~~~ ./session.h:94:36: note: expanded from macro 'SES_MAXSUPER' 94 | #define SES_MAXSUPER ((o_blksize - (int)(((BLK *)0)->super.buf)) / sizeof(BLKNO)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:525:51: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 525 | if ((unsigned)++i >= (super==0 ? SES_MAXSUPER : SES_MAXSUPER2)) | ^~~~~~~~~~~~~ ./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2' 95 | #define SES_MAXSUPER2 ((o_blksize - (int)(((BLK *)0)->super2.buf)) / sizeof(BLKNO)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:569:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | BLKNO lowdup(originfo) | ^ lowbuf.c:629:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 629 | for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:655:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | void lowfree(bufinfo) | ^ lowbuf.c:675:35: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 675 | if ((unsigned)++i >= (scan==0 ? SES_MAXSUPER : SES_MAXSUPER2)) | ^~~~~~~~~~~~ ./session.h:94:36: note: expanded from macro 'SES_MAXSUPER' 94 | #define SES_MAXSUPER ((o_blksize - (int)(((BLK *)0)->super.buf)) / sizeof(BLKNO)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:675:50: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] 675 | if ((unsigned)++i >= (scan==0 ? SES_MAXSUPER : SES_MAXSUPER2)) | ^~~~~~~~~~~~~ ./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2' 95 | #define SES_MAXSUPER2 ((o_blksize - (int)(((BLK *)0)->super2.buf)) / sizeof(BLKNO)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:716:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] --- gui.o --- 9 warnings generated. --- lowbuf.o --- 716 | for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | void lowtitle(bufinfo, title) | ^ lowbuf.c:755:45: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 755 | CHARncpy(blk->bufinfo.name, title, (size_t)SES_MAXBUFINFO); | ^~~~~~~~~~~~~~ ./session.h:96:37: note: expanded from macro 'SES_MAXBUFINFO' 96 | #define SES_MAXBUFINFO (o_blksize - (int)(((BLK *)0)->bufinfo.name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./elvis.h:98:67: note: expanded from macro 'CHARncpy' 98 | #define CHARncpy(d,s,n) ((void)strncpy((char *)(d), (char *)(s), (n))) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ lowbuf.c:773:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | static void clobbercache(dst) | ^ lowbuf.c:787:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | long lowline(bufinfo, lineno) | ^ lowbuf.c:833:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 833 | for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++) | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:933:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | BLKNO lowoffset(bufinfo, offset, left, right, lptr, linenum) | ^ lowbuf.c:950:21: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] 950 | BLKNO maxblklist = SES_MAXBLKLIST; | ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' 97 | #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:1070:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | long lowinsert(dst, dsttop, newp, newlen) | ^ lowbuf.c:1226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | long lowdelete(dst, dsttop, dstbottom) | ^ --- misc.o --- --- lowbuf.o --- lowbuf.c:1398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | long lowreplace(dst, dsttop, dstbottom, newp, newlen) | ^ lowbuf.c:1415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | long lowpaste(dst, dsttop, src, srctop, srcbottom) | ^ --- misc.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c misc.c --- lowbuf.o --- 41 warnings generated. --- io.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c io.c --- mark.o --- mark.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MARK markalloc(buffer, offset) | ^ mark.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | void markfree(mark) | ^ mark.c:104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | void markadjust(from, to, delta) | ^ mark.c:154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | long markline(mark) | ^ mark.c:181:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | MARK marksetline(mark, linenum) | ^ mark.c:205:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | void marksetbuffer(mark, buffer) | ^ 6 warnings generated. --- dmhex.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c dmhex.c --- misc.o --- misc.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | int buildCHAR(refstr, ch) | ^ misc.c:111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | int buildstr(refstr, add) | ^ misc.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | MARK wordatcursor(cursor, apostrophe) | ^ misc.c:208:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | CHAR *addquotes(chars, str) | ^ misc.c:235:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | CHAR *removequotes(chars, str) | ^ misc.c:258:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | int CHARncasecmp(s1, s2, len) | ^ 6 warnings generated. --- io.o --- io.c:68:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ELVBOOL ioopen(name, rwa, prgsafe, force, eol) | ^ io.c:285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | int iowrite(iobuf, len) | ^ io.c:347:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | int ioread(iobuf, len) | ^ io.c:552:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | char *iopath(path, filename, usefile) | ^ --- dmmarkup.o --- --- io.o --- io.c:670:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | char *iofilename(partial, endchar) | ^ io.c:855:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | char *ioeol(filename) | ^ io.c:922:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | char *ioabsolute(filename) | ^ --- dmmarkup.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c dmmarkup.c --- io.o --- 7 warnings generated. --- dmnormal.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c dmnormal.c --- dmhex.o --- dmhex.c:43:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | static DMINFO *init(win) | ^ dmhex.c:65:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | static void term(info) | ^ dmhex.c:71:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | static long mark2col(w, mark, cmd) | ^ dmhex.c:80:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | static MARK move(w, from, linedelta, column, cmd) | ^ dmhex.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | static MARK setup(win, top, cursor, bottom, info) | ^ dmhex.c:176:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | static MARK image(w, line, info, draw) | ^ 6 warnings generated. --- dmsyntax.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c dmsyntax.c --- dmmarkup.o --- dmmarkup.c:278:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | static void htmlescape(token) | ^ dmmarkup.c:444:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | static twrap_t htmlimg(token) | ^ dmmarkup.c:547:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | static twrap_t htmlpre(token) | ^ dmmarkup.c:564:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | static twrap_t htmlli(token) | ^ dmmarkup.c:613:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | static twrap_t htmlinput(token) | ^ dmmarkup.c:760:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | static twrap_t htmla(token) | ^ dmmarkup.c:777:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | static int htmlmarkup(token) | ^ dmmarkup.c:966:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | static TOKEN *htmlget(refp) | ^ dmmarkup.c:1174:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | static DMINFO *htmlinit(win) | ^ dmmarkup.c:1274:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | static CHAR *htmltagatcursor(win, cursor) | ^ dmmarkup.c:1394:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | static MARK htmltagload(tagname, from) | ^ dmmarkup.c:1657:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | static MARK htmltagnext(cursor) | ^ dmmarkup.c:1700:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | static twrap_t htmlhr(token) | ^ dmmarkup.c:1779:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | static void manescape(token) | ^ --- dmnormal.o --- dmnormal.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | static void getlcs(name, valptr, lenptr) | ^ --- dmmarkup.o --- dmmarkup.c:1951:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dmnormal.o --- dmnormal.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | int dmnlistchars(ch, offset, col, tabstop, draw) | ^ --- dmmarkup.o --- 1951 | static int manarg(token, start, font, spc) | ^ dmmarkup.c:2080:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2080 | static twrap_t manTH(token) | ^ dmmarkup.c:2105:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | static twrap_t manSH(token) | ^ dmmarkup.c:2154:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2154 | static twrap_t manBI(token) | ^ --- dmnormal.o --- dmnormal.c:248:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | static DMINFO *init(win) | ^ dmnormal.c:275:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | static void term(info) | ^ dmnormal.c:281:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | static MARK move(w, from, linedelta, column, cmd) | ^ --- dmmarkup.o --- dmmarkup.c:2215:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | static twrap_t manIP(token) | ^ dmmarkup.c:2319:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2319 | static void manmarkup(token) | ^ --- dmnormal.o --- dmnormal.c:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | static long mark2col(w, mark, cmd) | ^ --- dmmarkup.o --- dmmarkup.c:2378:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2378 | static TOKEN *manget(refp) | ^ --- dmnormal.o --- dmnormal.c:474:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | static MARK wordmove(cursor, count, backward, whitespace) | ^ dmnormal.c:635:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | static MARK setup(win, top, cursor, bottom, info) | ^ --- dmmarkup.o --- dmmarkup.c:2611:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dmnormal.o --- dmnormal.c:682:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dmmarkup.o --- 2611 | static DMINFO *maninit(win) | ^ --- dmnormal.o --- 682 | static MARK image(w, line, info, draw) | ^ --- dmmarkup.o --- dmmarkup.c:2714:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2714 | static void texescape(tok) | ^ dmmarkup.c:2723:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2723 | static twrap_t texscope(token) | ^ dmmarkup.c:2731:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2731 | static twrap_t texoutput(token) | ^ dmmarkup.c:2779:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | static twrap_t texitem(token) | ^ dmmarkup.c:2859:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | static twrap_t textitle(token) | ^ --- dmnormal.o --- dmnormal.c:870:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | static void indent(w, line, linedelta) | ^ --- dmmarkup.o --- dmmarkup.c:2968:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2968 | static twrap_t texdigraph(token) | ^ dmmarkup.c:2981:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dmnormal.o --- dmnormal.c:953:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dmmarkup.o --- 2981 | static long texpair(refp, token) --- dmnormal.o --- 953 | static CHAR *tagatcursor(win, cursor) | ^ --- dmmarkup.o --- | ^ --- dmnormal.o --- dmnormal.c:977:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | static MARK tagload(tagname, from) | ^ --- dmmarkup.o --- dmmarkup.c:3021:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3021 | static TOKEN *texget(refp) | ^ --- dmnormal.o --- dmnormal.c:1085:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | static MARK tagnext(cursor) | ^ dmnormal.c:1112:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | static void header(w, pagenum, info, draw) | ^ --- dmmarkup.o --- dmmarkup.c:3506:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3506 | static DMINFO *texinit(win) | ^ dmmarkup.c:3602:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3602 | static twrap_t put(token) | ^ dmmarkup.c:3989:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3989 | static void countchar(p, qty, font, offset) | ^ dmmarkup.c:4052:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4052 | static void term(info) | ^ dmmarkup.c:4065:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4065 | static long mark2col(w, mark, cmd) | ^ dmmarkup.c:4090:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4090 | static MARK move(w, from, linedelta, column, cmd) | ^ dmmarkup.c:4144:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4144 | static MARK setup(win, top, cursor, bottom, info) | ^ dmmarkup.c:4209:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4209 | static MARK image(w, line, info, draw) | ^ dmmarkup.c:4255:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4255 | static void header(w, pagenum, info, draw) | ^ dmmarkup.c:4345:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4345 | static void storestate(offset, dest) | ^ dmmarkup.c:4398:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4398 | static int start(win, from, draw) | ^ dmmarkup.c:4462:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4462 | static void findtitle(buf) | ^ dmmarkup.c:4521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4521 | void dmmuadjust(from, to, delta) | ^ --- dmnormal.o --- 14 warnings generated. --- scan.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c scan.c --- dmsyntax.o --- dmsyntax.c:133:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | static spell_t *scankeyword(refp, colplusone, indent) | ^ dmsyntax.c:199:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | static spell_t *iskeyword(word, colplusone, indent) | ^ dmsyntax.c:250:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | static void addkeyword(word, font, anchor, flags) | ^ dmsyntax.c:292:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | CHAR dmspreprocessor(win) | ^ dmsyntax.c:308:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | void dmssmartargs(win) | ^ dmsyntax.c:419:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | ELVBOOL dmskeyword(win, word) | ^ dmsyntax.c:462:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | static DMINFO *init(win) | ^ dmsyntax.c:894:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | static void term(info) | ^ dmsyntax.c:919:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | static MARK setup(win, top, cursor, bottom, info) | ^ dmsyntax.c:1121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | static MARK image(w, line, info, draw) | ^ dmsyntax.c:1684:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | static CHAR *tagatcursor(win, cursor) | ^ dmsyntax.c:1818:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | static MARK tagload(tagname, from) | ^ --- dmmarkup.o --- 43 warnings generated. --- tcaphelp.o --- clang -DUSE_SGTTY -I. -Iosunix -c osunix/tcaphelp.c --- dmsyntax.o --- 12 warnings generated. --- autocmd.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c autocmd.c --- scan.o --- scan.c:58:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | CHAR *scanalloc(cp, start) | ^ scan.c:109:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | CHAR *scanstring(cp, str) | ^ scan.c:164:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | CHAR *scandup(cp, oldp) | ^ scan.c:218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | void scanfree(cp) | ^ scan.c:260:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | CHAR *scanseek(cp, restart) | ^ scan.c:434:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | CHAR *scan__next(cp) | ^ scan.c:458:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | CHAR *scan__prev(cp) | ^ scan.c:493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | CHAR scanchar(mark) | ^ 8 warnings generated. --- cut.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c cut.c --- autocmd.o --- autocmd.c:190:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | static ELVBOOL wildmatch(fname, wildlist) | ^ autocmd.c:220:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | RESULT ex_augroup(xinf) | ^ autocmd.c:293:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | static aubits_t *nametobits(name) | ^ autocmd.c:354:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | static CHAR *bitstoname(aubits) | ^ autocmd.c:390:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | static CHAR *nextword(refp) | ^ autocmd.c:420:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | RESULT ex_auevent(xinf) | ^ autocmd.c:500:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | static void listcmd(win, cmd) | ^ autocmd.c:544:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | RESULT ex_autocmd(xinf) | ^ autocmd.c:825:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | RESULT ex_doautocmd(xinf) | ^ autocmd.c:882:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | RESULT auperform(win, bang, groupname, event, filename) | ^ autocmd.c:1032:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | CHAR *auname(name) | ^ autocmd.c:1043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | void ausave(custom) | ^ autocmd.c:1153:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | CHAR *aucomplete(win, from, to) | ^ 13 warnings generated. --- draw.o --- --- tcaphelp.o --- In file included from osunix/tcaphelp.c:55: osunix/tcapbsd.h:26:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | static void catchsig(signo) | ^ --- draw.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c draw.c --- tcaphelp.o --- osunix/tcapbsd.h:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | void ttyraw(erasekey) | ^ osunix/tcapbsd.h:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int ttyread(buf, len, timeout) | ^ osunix/tcapbsd.h:121:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 121 | static tty; /* 'y' if reading from tty, or 'n' if not a tty */ | ~~~~~~ ^ | int osunix/tcaphelp.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void ttywrite(buf, len) | ^ osunix/tcaphelp.c:127:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | ELVBOOL ttysize(linesptr, colsptr) | ^ osunix/tcaphelp.c:150:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | ELVBOOL ttypoll(reset) | ^ 7 warnings generated. --- event.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c event.c --- cut.o --- cut.c:30:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | BUFFER cutbuffer(cbname, create) | ^ cut.c:155:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | static void dosideeffect(from, to, sideeffect, cbname) | ^ cut.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | void cutyank(cbname, from, to, type, sideeffect) | ^ cut.c:496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | MARK cutput(cbname, win, at, after, cretend, lretend) | ^ cut.c:686:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | CHAR *cutmemory(cbname) | ^ 5 warnings generated. --- ex.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c ex.c --- draw.o --- draw.c:66:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | static ELVBOOL hlprep(win, buf) | ^ draw.c:217:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | static int hlobjects(win, font, offset) | ^ draw.c:240:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | DRAWINFO *drawalloc(rows, columns, top) | ^ draw.c:300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | void drawfree(di) | ^ draw.c:331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | void drawexpose(win, top, left, bottom, right) | ^ draw.c:484:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | static void insimage(ch, attr, qty, extent) | ^ draw.c:521:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | static void delimage(ch, font, attr, qty, extent) | ^ draw.c:570:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | static void fillcell(ch, font, offset) | ^ draw.c:668:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | static void drawchar(p, qty, font, offset) | ^ draw.c:880:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | static void lcsdrawchar(p, qty, font, offset) | ^ draw.c:896:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | static void compareimage(win) | ^ draw.c:1064:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | static void drawcurrent(di, base, same, da) | ^ draw.c:1089:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | static void updateimage(win) | ^ draw.c:1482:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | static void genlastrow(win) | ^ draw.c:1723:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | static ELVBOOL drawquick(win) | ^ draw.c:1812:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1812 | void drawimage(win) | ^ draw.c:2112:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | static void opentextline(win, text, len) | ^ draw.c:2214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2214 | void drawopencomplete(win) | ^ draw.c:2286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | void drawmsg(win, imp, verbose, len) | ^ draw.c:2342:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2342 | static void openchar(p, qty, font, offset) | ^ draw.c:2433:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2433 | static void openmove(win, oldcol, newcol, image, len) | ^ draw.c:2487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2487 | void drawopenedit(win) | ^ draw.c:2611:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | void drawextext(win, text, len) | ^ draw.c:2666:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2666 | void drawexlist(win, text, len) | ^ --- event.o --- event.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | void eventupdatecustom(later) | ^ event.c:100:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | static void setcursor(win, offset, clean) | ^ event.c:146:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | ELVBOOL eventcreate(gw, guivals, name, rows, columns) | ^ event.c:180:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | void eventdestroy(gw) | ^ event.c:215:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | void eventresize(gw, rows, columns) | ^ event.c:246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | void eventreplace(gw, freeold, name) | ^ event.c:277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | void eventexpose(gw, top, left, bottom, right) | ^ event.c:305:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | ELVCURSOR eventdraw(gw) | ^ event.c:373:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | ELVCURSOR eventfocus(gw, change) | ^ event.c:437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | long eventclick(gw, row, column, what) | ^ event.c:721:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | MAPSTATE eventkeys(gw, key, nkeys) | ^ event.c:753:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | ELVBOOL eventscroll(gw, scroll, count, denom) | ^ event.c:942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | void eventex(gw, cmd, safer) | ^ 13 warnings generated. --- exaction.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c exaction.c --- draw.o --- 24 warnings generated. --- exconfig.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c exconfig.c --- ex.o --- ex.c:344:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | void exfree(xinf) | ^ ex.c:366:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | static void skipwhitespace(refp) | ^ ex.c:386:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | static ELVBOOL parsewindowid(refp, xinf) | ^ ex.c:453:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | static ELVBOOL parsebuffername(refp, xinf) | ^ ex.c:516:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | static ELVBOOL parseregexp(refp, xinf, flags) | ^ ex.c:630:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | ELVBOOL exparseaddress(refp, xinf) | ^ ex.c:872:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | static ELVBOOL parsecommandname(refp, xinf) | ^ ex.c:995:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | static void parsemulti(refp, xinf) | ^ ex.c:1016:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | static void parsebang(refp, xinf, flags) | ^ ex.c:1035:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | static void parseplus(refp, xinf, flags) | ^ ex.c:1082:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | static void parseprintflag(refp, xinf, flags, quirks) | ^ ex.c:1180:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | static void parselhs(refp, xinf, flags, quirks) | ^ ex.c:1229:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | static void parserhs(refp, xinf, flags, quirks) | ^ ex.c:1278:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | static void parsecutbuffer(refp, xinf, flags) | ^ ex.c:1308:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1308 | static void parsecount(refp, xinf, flags) | ^ ex.c:1331:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | static RESULT parsenested(refp, xinf) | ^ ex.c:1390:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | static RESULT parsecmds(refp, xinf, flags) | ^ ex.c:1552:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | ELVFNR exfilenamerules(rulestr) | ^ ex.c:1577:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | ELVBOOL exaddfilearg(file, nfiles, filename, rules) | ^ ex.c:1606:5: warning: implicit conversion from enumeration type 'ELVFNR' to different enumeration type 'CALCRULE' [-Wenum-conversion] 1605 | filename = tochar8(calculate(toCHAR(filename), NULL, | ~~~~~~~~~ 1606 | (ELVFNR)(((rules & ELVFNR_DOLLAR) ? CALC_DOLLAR : 0) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1607 | ((rules & ELVFNR_PAREN) ? CALC_PAREN : 0)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./elvis.h:95:30: note: expanded from macro 'tochar8' 95 | #define tochar8(s) ((char *)(s)) | ^ ex.c:1716:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | static ELVBOOL parsefileargs(refp, xinf, flags) | ^ ex.c:2028:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | static RESULT parse(win, refp, xinf) | ^ ex.c:2616:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2616 | static RESULT execute(xinf) | ^ ex.c:2905:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2905 | RESULT experform(win, top, bottom) | ^ ex.c:2970:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2970 | RESULT exstring(win, str, name) | ^ ex.c:3036:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3036 | CHAR *exname(name) | ^ ex.c:3082:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3082 | RESULT exenter(win) | ^ ex.c:3096:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3096 | long exprintlines(win, mark, qty, pflag) | ^ ex.c:3212:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3212 | static char *cname(i) | ^ ex.c:3231:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3231 | CHAR *excomplete(win, from, to) | ^ 30 warnings generated. --- exedit.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c exedit.c --- exaction.o --- exaction.c:12:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | RESULT ex_at(xinf) | ^ exaction.c:40:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | RESULT ex_buffer(xinf) | ^ exaction.c:181:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | RESULT ex_all(xinf) | ^ exaction.c:245:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | RESULT ex_window(xinf) | ^ --- exconfig.o --- exconfig.c:43:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | char *exaliasname(i) | ^ --- exaction.o --- exaction.c:341:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | RESULT ex_cd(xinf) | ^ --- exconfig.o --- exconfig.c:59:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | char *exisalias(name, inuse) | ^ --- exaction.o --- exaction.c:398:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | RESULT ex_edit(xinf) | ^ --- exconfig.o --- exconfig.c:74:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | static void listalias(win, alias, shortformat) | ^ exconfig.c:140:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | RESULT ex_alias(xinf) | ^ --- exaction.o --- exaction.c:579:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | RESULT ex_file(xinf) | ^ --- exconfig.o --- exconfig.c:249:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | static void buildarg(cmd, arg, len, defarg, deflen, quote) | ^ exconfig.c:278:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | RESULT ex_doalias(xinf) | ^ --- exaction.o --- exaction.c:652:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | RESULT ex_lpr(xinf) | ^ exaction.c:689:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | RESULT ex_mark(xinf) | ^ exaction.c:714:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | RESULT ex_mkexrc(xinf) | ^ exaction.c:769:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | RESULT ex_next(xinf) | ^ exaction.c:884:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | RESULT ex_pop(xinf) | ^ --- exconfig.o --- exconfig.c:718:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | void exaliassave(custom) | ^ --- exaction.o --- exaction.c:947:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | RESULT ex_bang(xinf) | ^ --- exconfig.o --- exconfig.c:797:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | RESULT ex_args(xinf) | ^ exconfig.c:853:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | RESULT ex_color(xinf) | ^ --- exaction.o --- exaction.c:1073:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | RESULT ex_source(xinf) | ^ --- exconfig.o --- exconfig.c:905:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | RESULT ex_comment(xinf) | ^ --- exaction.o --- exaction.c:1147:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | RESULT ex_stack(xinf) | ^ --- exconfig.o --- exconfig.c:944:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | RESULT ex_message(xinf) | ^ exconfig.c:968:21: warning: comparison of different enumeration types ('EXCMD' and 'MSGIMP') [-Wenum-compare] --- exaction.o --- exaction.c:1167:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | RESULT ex_suspend(xinf) | ^ --- exconfig.o --- 968 | if (xinf->command == MSG_ERROR) | ~~~~~~~~~~~~~ ^ ~~~~~~~~~ --- exaction.o --- exaction.c:1192:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | RESULT ex_tag(xinf) | ^ --- exconfig.o --- exconfig.c:987:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | RESULT ex_digraph(xinf) | ^ exconfig.c:995:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | RESULT ex_display(xinf) | ^ --- exaction.o --- exaction.c:1281:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- exconfig.o --- exconfig.c:1091:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | RESULT ex_gui(xinf) | ^ --- exaction.o --- 1281 | RESULT ex_browse(xinf) | ^ --- exconfig.o --- exconfig.c:1107:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | RESULT ex_help(xinf) | ^ --- exaction.o --- exaction.c:1368:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | RESULT ex_split(xinf) | ^ exaction.c:1405:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | RESULT ex_sall(xinf) | ^ exaction.c:1436:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | RESULT ex_fold(xinf) | ^ --- exconfig.o --- exconfig.c:1392:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | RESULT ex_if(xinf) | ^ exconfig.c:1426:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | RESULT ex_then(xinf) | ^ exconfig.c:1470:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | RESULT ex_while(xinf) | ^ exconfig.c:1555:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | RESULT ex_do(xinf) | ^ exconfig.c:1681:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | RESULT ex_switch(xinf) | ^ exconfig.c:1711:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | RESULT ex_case(xinf) | ^ exconfig.c:1769:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | static MAPFLAGS maphelp2(refcp, word, flag) | ^ exconfig.c:1792:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | static MAPFLAGS maphelp(refcp, refmode) | ^ exconfig.c:1837:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | RESULT ex_map(xinf) | ^ exconfig.c:1960:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | static CHAR *equaltilde(value, len, cmd) | ^ exconfig.c:2009:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2009 | RESULT ex_set(xinf) | ^ exconfig.c:2064:11: warning: 'sizeof (oldval)' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] 2064 | oldval[QTY(oldval) - 100] = '\0'; | ^~~~~~~~~~~ ./elvis.h:24:40: note: expanded from macro 'QTY' 24 | #define QTY(array) (int)(sizeof(array) / sizeof((array)[0])) | ~~~~~~~~~~~~~ ^ exconfig.c:2024:8: note: pointer 'oldval' declared here 2024 | CHAR *oldval = NULL; | ^ exconfig.c:2313:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | RESULT ex_version(xinf) | ^ exconfig.c:2339:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2339 | RESULT ex_qall(xinf) | ^ exconfig.c:2404:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2404 | RESULT ex_xit(xinf) | ^ exconfig.c:2517:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2517 | RESULT ex_check(xinf) | ^ exconfig.c:2600:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2600 | RESULT ex_wordfile(xinf) | ^ --- exaction.o --- 21 warnings generated. --- exmake.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c exmake.c --- exconfig.o --- 33 warnings generated. --- exsubst.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c exsubst.c --- exedit.o --- exedit.c:12:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | RESULT ex_append(xinf) | ^ exedit.c:47:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | RESULT ex_delete(xinf) | ^ exedit.c:64:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | RESULT ex_global(xinf) | ^ exedit.c:189:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | RESULT ex_join(xinf) | ^ exedit.c:303:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | RESULT ex_move(xinf) | ^ exedit.c:346:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | RESULT ex_print(xinf) | ^ exedit.c:387:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | RESULT ex_put(xinf) | ^ exedit.c:402:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | RESULT ex_read(xinf) | ^ exedit.c:443:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | RESULT ex_shift(xinf) | ^ exedit.c:584:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | RESULT ex_undo(xinf) | ^ exedit.c:619:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | RESULT ex_write(xinf) | ^ exedit.c:663:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | RESULT ex_z(xinf) | ^ 12 warnings generated. --- fold.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c fold.c --- exmake.o --- exmake.c:315:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | static RESULT gotoerr(xinf) | ^ exmake.c:439:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | RESULT ex_errlist(xinf) | ^ exmake.c:480:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | RESULT ex_make(xinf) | ^ 3 warnings generated. --- exsubst.o --- exsubst.c:72:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | static void print(subst) | ^ exsubst.c:110:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | static ELVBOOL findnext(subst) | ^ exsubst.c:219:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | static ELVBOOL dosubst(win, subst) | ^ exsubst.c:288:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | static RESULT parse(key, info) | ^ exsubst.c:385:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | static RESULT perform(win) | ^ exsubst.c:392:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | static ELVCURSOR shape(win) | ^ exsubst.c:403:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | RESULT ex_substitute(xinf) | ^ --- ftp.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c ftp.c --- exsubst.o --- 7 warnings generated. --- http.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c http.c --- fold.o --- fold.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | FOLD foldalloc(from, to, name) | ^ fold.c:41:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | static void foldfree(fold) | ^ fold.c:58:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | static long foldcmp(fold1, fold2) | ^ fold.c:74:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | void foldadd(fold, infold) | ^ fold.c:111:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | RESULT foldbyname(buf, name, infold) | ^ fold.c:166:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | RESULT foldbyrange(from, to, infold, flags) | ^ fold.c:343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | FOLD foldmark(mark, infold) | ^ fold.c:382:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | void foldedit(from, to, dest) | ^ fold.c:412:12: warning: cast to smaller integer type 'ELVBOOL' from 'struct fold_s *' [-Wpointer-to-enum-cast] 412 | infold = (ELVBOOL)buf->fold; | ^~~~~~~~~~~~~~~~~~ 9 warnings generated. --- input.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c input.c --- lp.o --- --- map.o --- --- lp.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c lp.c --- map.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c map.c --- input.o --- input.c:66:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | static void cleanup(win, del, backsp, yank) | ^ input.c:114:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | static void addchar(cursor, top, bottom, info) | ^ input.c:153:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | static ELVBOOL tryabbr(win, nextc) | ^ input.c:250:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | static RESULT perform(win) | ^ input.c:912:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | static RESULT parse(key, info) | ^ input.c:1067:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | static ELVCURSOR shape(win) | ^ input.c:1114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | void inputpush(win, flags, mode) | ^ input.c:1147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | void inputtoggle(win, mode) | ^ input.c:1188:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | void inputchange(win, from, to, linemd) | ^ input.c:1266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | void inputbeforeenter(win) | ^ 10 warnings generated. --- message.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c message.c --- map.o --- map.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void mapinsert(rawin, rawlen, cooked, cooklen, label, flags, mode) | ^ --- lp.o --- lp.c:46:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | char *lpoptfield(field, dflt) | ^ --- map.o --- map.c:190:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | ELVBOOL mapdelete(rawin, rawlen, flags, mode, del, brk) | ^ map.c:316:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | static void trace(where) | ^ --- lp.o --- lp.c:105:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | static LPTYPE *findtype(name) | ^ lp.c:132:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- map.o --- map.c:389:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lp.o --- 132 | unsigned char *lpfg(fontcode) | ^ --- map.o --- 389 | MAPSTATE mapdo(keys, nkeys) | ^ --- lp.o --- lp.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | static void prtchar(ch) | ^ lp.c:187:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static void draw(p, qty, font, offset) | ^ lp.c:324:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | RESULT lp(win, top, bottom, force) | ^ --- map.o --- map.c:714:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | void mapunget(keys, nkeys, remap) | ^ map.c:770:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | CHAR *maplist(flags, mode, reflen) | ^ map.c:896:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | RESULT maplearn(cbname, start) | ^ map.c:959:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | CHAR maplrnchar(dflt) | ^ map.c:996:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | CHAR *mapabbr(bkwd, oldptr, newptr, exline) | ^ map.c:1050:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | void mapsave(buf) | ^ --- lp.o --- 6 warnings generated. --- move.o --- --- map.o --- 10 warnings generated. --- move.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c move.c --- more.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c more.c --- message.o --- message.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | void msglog(filename) | ^ message.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void msgscriptline(mark, name) | ^ message.c:100:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | static void translate(terse) | ^ message.c:227:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | ELVBOOL msghide(hide) | ^ message.c:621:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | CHAR *msgtranslate(word) | ^ 5 warnings generated. --- need.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c need.c --- move.o --- move.c:16:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | RESULT m_left(win, vinf) | ^ --- more.o --- more.c:42:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | static RESULT perform(win) | ^ more.c:67:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | static RESULT enter(win) | ^ more.c:81:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | static RESULT parse(key, info) | ^ more.c:99:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | static ELVCURSOR shape(win) | ^ --- move.o --- move.c:49:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- more.o --- more.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void morepush(win, special) | ^ --- move.o --- 49 | RESULT m_right(win, vinf) | ^ move.c:88:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | RESULT m_updown(win, vinf) | ^ move.c:138:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | RESULT m_front(win, vinf) | ^ move.c:179:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | RESULT m_absolute(win, vinf) | ^ move.c:570:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | RESULT m_mark(win, vinf) | ^ --- more.o --- 5 warnings generated. --- move.o --- move.c:618:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | RESULT m_bigword(win, vinf) | ^ move.c:787:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | RESULT m_word(win, vinf) | ^ move.c:905:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | RESULT m_scroll(win, vinf) | ^ move.c:1011:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | RESULT m_column(win, vinf) | ^ move.c:1054:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | RESULT m_csearch(win, vinf) | ^ move.c:1166:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | RESULT m_tag(win, vinf) | ^ move.c:1213:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | RESULT m_bsection(win, vinf) | ^ --- operator.o --- --- move.o --- move.c:1337:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | RESULT m_fsection(win, vinf) | ^ move.c:1475:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | RESULT m_scrnrel(win, vinf) | ^ move.c:1536:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | RESULT m_z(win, vinf) | ^ move.c:1608:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | RESULT m_fsentence(win, vinf) | ^ move.c:1759:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | RESULT m_bsentence(win, vinf) | ^ move.c:1895:9: warning: address of 'cp' will always evaluate to 'true' [-Wpointer-bool-conversion] 1895 | if (&cp) | ~~ ^~ move.c:1929:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1929 | RESULT m_spell(win, vinf) | ^ move.c:1967:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | RESULT m_endspell(win, vinf) | ^ move.c:1999:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1999 | static void gdraw(p, qty, font, offset) | ^ move.c:2047:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | static long gstartrow(win, col) | ^ move.c:2069:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2069 | RESULT m_g (win, vinf) | ^ move.c:2197:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2197 | RESULT m_gupdown(win, vinf) | ^ --- operator.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c operator.c --- move.o --- 25 warnings generated. --- regexp.o --- clang -DUSE_SGTTY -Iosunix -I/opt/pkg/include/ncurses -c regexp.c --- need.o --- need.c:31:7: error: expected parameter declarator 31 | void *memmove(void *dest, const void *src, size_t size) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' 70 | __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_common.h:40:63: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ need.c:31:7: error: expected ')' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' 70 | __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_common.h:40:63: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ need.c:31:7: note: to match this '(' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' 70 | __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_common.h:40:54: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ need.c:31:7: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | void *memmove(void *dest, const void *src, size_t size) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' 70 | __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_common.h:40:32: note: expanded from macro '__darwin_obsz0' 40 | #define __darwin_obsz0(object) __builtin_object_size (object, 0) | ^ need.c:31:7: error: conflicting types for '__builtin___memmove_chk' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:70:3: note: expanded from macro 'memmove' 70 | __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ need.c:31:7: note: '__builtin___memmove_chk' is a builtin with type 'void *(void *, const void *, unsigned long, unsigned long)' /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:70:3: note: expanded from macro 'memmove' 70 | __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ 1 warning and 3 errors generated. *** [need.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/editors/elvis/work/elvis-2.2_0 --- operator.o --- operator.c:20:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | RESULT opfilter(from, to, prog) | ^ operator.c:99:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | static RESULT filterenter(win) | ^ operator.c:204:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | RESULT oper(win, vinf, from, to) | ^ 3 warnings generated. --- regexp.o --- regexp.c:297:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | CHAR *regbuild(delim, refp, reg) | ^ ./regexp.h:7:18: note: expanded from macro 'regbuild' 7 | #define regbuild regbuild_elvis | ^ regexp.c:477:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | static ELVBOOL handlenamedclass(textp, bmap) | ^ regexp.c:580:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | static CHAR *makeclass(text, bmap) | ^ regexp.c:753:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | static ELVBOOL isnongreedy(sptr, magicq) | ^ regexp.c:782:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | static int gettoken(sptr, re) | ^ regexp.c:1081:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | static unsigned calcsize(text, cursor) | ^ regexp.c:1139:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | static int calcminlen(scan) | ^ regexp.c:1231:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | regexp *regcomp(exp, cursor) | ^ ./regexp.h:8:17: note: expanded from macro 'regcomp' 8 | #define regcomp regcomp_elvis | ^ regexp.c:1554:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1554 | regexp *regdup(re) | ^ ./regexp.h:9:16: note: expanded from macro 'regdup' 9 | #define regdup regdup_elvis | ^ regexp.c:1587:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | static int match1(re, ch, token) | ^ regexp.c:1631:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | static int match(re, str, prog, here, bol, endtoken) | ^ regexp.c:2042:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | int regexec(re, str, bol) | ^ ./regexp.h:10:17: note: expanded from macro 'regexec' 10 | #define regexec regexec_elvis | ^ regexp.c:2211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2211 | void regerror(str) | ^ ./regexp.h:13:18: note: expanded from macro 'regerror' 13 | #define regerror regerror_elvis | ^ 13 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/editors/elvis/work/elvis-2.2_0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/elvis *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/elvis