===> Building for elvis-x11-2.2.0nb4 clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c main.c main.c:82:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ 7 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/osblock.c osunix/osblock.c:42:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void blkread(buf, blkno) ^ 4 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] char *expanduserhome(pathname, dest) ^ 10 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/osprg.c osunix/osprg.c:40:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int prgread(buf, nbytes) ^ 3 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/ostext.c osunix/ostext.c:22:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int txtopen(filename, rwa, binary) ^ osunix/ostext.c:49:22: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] if (errno == EPERM || EACCES) ^ ~~~~~~ osunix/ostext.c:49:22: note: use '|' for a bitwise operation 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int txtread(buf, nbytes) ^ 4 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/osnet.c clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c optglob.c optglob.c:430:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int 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 C2x [-Wdeprecated-non-prototype] void optprevfile(filename, line) ^ 2 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c options.c options.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR *opt1string(desc, val) ^ options.c:420:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CHAR *opttstring(desc, val) ^ options.c:460:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ELVBOOL optputstr(name, value, bang) ^ options.c:1049:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR *optcomplete(win, m) ^ 25 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c safe.c safe.c:11:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void *safealloc(qty, size) ^ safe.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] char *safedup(str) ^ 3 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c session.c session.c:66:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void sesfree(blkno) ^ 11 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c buffer.c buffer.c:170:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR *bufmemory(from, to) ^ 22 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c calc.c calc.c:248:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ELVBOOL calcsel(from, to) ^ 14 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c color.c color.c:83:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *colorimage(bgname) ^ color.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] char *colorname (ansi) ^ 19 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c descr.c descr.c:46:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ELVBOOL descr_cancall(filename) ^ 9 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c digraph.c digraph.c:104:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void digsave(buf) ^ 4 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c display.c display.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void dispindent(w, line, linedelta) ^ 7 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c gui.c gui.c:18:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ELVBOOL guicolorsync(win) ^ gui.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] DRAWATTR *guidraw(win, font, text, len, forcebits) ^ gui.c:124:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ELVBOOL guiscroll(win, qty, notlast) ^ gui.c:147:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ELVBOOL guishift(win, qty, rows) ^ gui.c:168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void guiclrtoeol(win) ^ gui.c:233:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ELVBOOL guipoll(reset) ^ gui.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void guibeep(win) ^ gui.c:292:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int guikeylabel(given, givenlen, label, rawptr) ^ 9 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c lowbuf.c lowbuf.c:37:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static short checksum(blk) ^ lowbuf.c:74:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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] if (lblkno >= SES_MAXBLKLIST) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:92:56: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] next = delblock(blk->blklist.next, (LBLKNO)(lblkno - SES_MAXBLKLIST), ncharsptr, nlinesptr); ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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] while (lblkno < SES_MAXBLKLIST - 1) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] static BLKNO insblock(blklist, before, chars, nchars, nlines) ^ lowbuf.c:200:20: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] else if (before < SES_MAXBLKLIST) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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] i = SES_MAXBLKLIST - 1; ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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] next = insblock(blk->blklist.next, (LBLKNO)(before - SES_MAXBLKLIST), chars, nchars, nlines); ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #define SES_MAXBLKLIST ((o_blksize - (int)(((BLK *)0)->blklist.blk)) / sizeof(((BLK *)0)->blklist.blk[0])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowbuf.c:253:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static BLKNO lockchars(bufinfo, lblkno, blkno) ^ lowbuf.c:287:19: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] while (lblkno >= SES_MAXBLKLIST) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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] lblkno -= SES_MAXBLKLIST; ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] 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] for (; lblkno >= SES_MAXBLKLIST; lblkno -= SES_MAXBLKLIST) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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] for (; lblkno >= SES_MAXBLKLIST; lblkno -= SES_MAXBLKLIST) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] static void helpinit(bufinfo, bufproc) ^ lowbuf.c:394:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] for (i = 0; (unsigned)i < SES_MAXBLKLIST && blist->blklist.blk[i].blkno; i++) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] void lowinit(bufproc) ^ lowbuf.c:445:28: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] for (i = 0; (unsigned)i < SES_MAXSUPER; i++) ^~~~~~~~~~~~ ./session.h:94:36: note: expanded from macro 'SES_MAXSUPER' #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] for (i = 0; (unsigned)i < SES_MAXSUPER2; i++) ^~~~~~~~~~~~~ ./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2' #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 C2x [-Wdeprecated-non-prototype] BLKNO lowalloc(name) ^ lowbuf.c:509:43: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] strncpy(blk->bufinfo.name, name, (size_t)SES_MAXBUFINFO); ^~~~~~~~~~~~~~ ./session.h:96:37: note: expanded from macro 'SES_MAXBUFINFO' #define SES_MAXBUFINFO (o_blksize - (int)(((BLK *)0)->bufinfo.name)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __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] if ((unsigned)++i >= (super==0 ? SES_MAXSUPER : SES_MAXSUPER2)) ^~~~~~~~~~~~ ./session.h:94:36: note: expanded from macro 'SES_MAXSUPER' #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] if ((unsigned)++i >= (super==0 ? SES_MAXSUPER : SES_MAXSUPER2)) ^~~~~~~~~~~~~ ./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2' #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 C2x [-Wdeprecated-non-prototype] BLKNO lowdup(originfo) ^ lowbuf.c:629:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] void lowfree(bufinfo) ^ lowbuf.c:675:35: warning: cast to smaller integer type 'int' from 'BLKNO *' (aka 'unsigned short *') [-Wpointer-to-int-cast] if ((unsigned)++i >= (scan==0 ? SES_MAXSUPER : SES_MAXSUPER2)) ^~~~~~~~~~~~ ./session.h:94:36: note: expanded from macro 'SES_MAXSUPER' #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] if ((unsigned)++i >= (scan==0 ? SES_MAXSUPER : SES_MAXSUPER2)) ^~~~~~~~~~~~~ ./session.h:95:37: note: expanded from macro 'SES_MAXSUPER2' #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] for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] void lowtitle(bufinfo, title) ^ lowbuf.c:755:45: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] CHARncpy(blk->bufinfo.name, title, (size_t)SES_MAXBUFINFO); ^~~~~~~~~~~~~~ ./session.h:96:37: note: expanded from macro 'SES_MAXBUFINFO' #define SES_MAXBUFINFO (o_blksize - (int)(((BLK *)0)->bufinfo.name)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./elvis.h:98:67: note: expanded from macro 'CHARncpy' #define CHARncpy(d,s,n) ((void)strncpy((char *)(d), (char *)(s), (n))) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] long lowline(bufinfo, lineno) ^ lowbuf.c:833:29: warning: cast to smaller integer type 'int' from 'struct blki_s *' [-Wpointer-to-int-cast] for (i = 0; (unsigned)i < SES_MAXBLKLIST && blk->blklist.blk[i].blkno; i++) ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] 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] BLKNO maxblklist = SES_MAXBLKLIST; ^~~~~~~~~~~~~~ ./session.h:97:38: note: expanded from macro 'SES_MAXBLKLIST' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] long lowdelete(dst, dsttop, dstbottom) ^ lowbuf.c:1398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] long lowpaste(dst, dsttop, src, srctop, srcbottom) ^ 41 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c mark.c mark.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void marksetbuffer(mark, buffer) ^ 6 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c misc.c misc.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int CHARncasecmp(s1, s2, len) ^ 6 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c io.c io.c:68:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] char *iopath(path, filename, usefile) ^ io.c:670:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] char *ioabsolute(filename) ^ 7 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmhex.c dmhex.c:43:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static MARK image(w, line, info, draw) ^ 6 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmmarkup.c dmmarkup.c:278:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void manescape(token) ^ dmmarkup.c:1951:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static twrap_t manBI(token) ^ dmmarkup.c:2215:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] static void manmarkup(token) ^ dmmarkup.c:2378:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static TOKEN *manget(refp) ^ dmmarkup.c:2611:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static DMINFO *maninit(win) ^ dmmarkup.c:2714:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static twrap_t textitle(token) ^ dmmarkup.c:2968:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] static long texpair(refp, token) ^ dmmarkup.c:3021:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static TOKEN *texget(refp) ^ dmmarkup.c:3506:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void dmmuadjust(from, to, delta) ^ 43 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmnormal.c dmnormal.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void getlcs(name, valptr, lenptr) ^ dmnormal.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int dmnlistchars(ch, offset, col, tabstop, draw) ^ dmnormal.c:248:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static MARK move(w, from, linedelta, column, cmd) ^ dmnormal.c:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static long mark2col(w, mark, cmd) ^ dmnormal.c:474:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] static MARK setup(win, top, cursor, bottom, info) ^ dmnormal.c:682:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static MARK image(w, line, info, draw) ^ dmnormal.c:870:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void indent(w, line, linedelta) ^ dmnormal.c:953:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static CHAR *tagatcursor(win, cursor) ^ dmnormal.c:977:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static MARK tagload(tagname, from) ^ dmnormal.c:1085:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] static void header(w, pagenum, info, draw) ^ 14 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c dmsyntax.c dmsyntax.c:133:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static MARK tagload(tagname, from) ^ 12 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c scan.c scan.c:58:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CHAR *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR scanchar(mark) ^ 8 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I. -Iosunix -c osunix/tcaphelp.c 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 C2x [-Wdeprecated-non-prototype] static void catchsig(signo) ^ osunix/tcapbsd.h:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ELVBOOL ttypoll(reset) ^ 7 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c autocmd.c autocmd.c:190:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR *aucomplete(win, from, to) ^ 13 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c cut.c cut.c:30:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR *cutmemory(cbname) ^ 5 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c draw.c draw.c:66:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void drawexlist(win, text, len) ^ 24 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c event.c event.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void eventex(gw, cmd, safer) ^ 13 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c ex.c ex.c:344:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ELVBOOL exaddfilearg(file, nfiles, filename, rules) ^ ex.c:1606:5: warning: implicit conversion from enumeration type 'ELVFNR' to different enumeration type 'CALCRULE' [-Wenum-conversion] (ELVFNR)(((rules & ELVFNR_DOLLAR) ? CALC_DOLLAR : 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./elvis.h:95:30: note: expanded from macro 'tochar8' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR *excomplete(win, from, to) ^ 30 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exaction.c exaction.c:12:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_window(xinf) ^ exaction.c:341:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_cd(xinf) ^ exaction.c:398:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_edit(xinf) ^ exaction.c:579:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_file(xinf) ^ exaction.c:652:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_pop(xinf) ^ exaction.c:947:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_bang(xinf) ^ exaction.c:1073:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_source(xinf) ^ exaction.c:1147:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_stack(xinf) ^ exaction.c:1167:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_suspend(xinf) ^ exaction.c:1192:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_tag(xinf) ^ exaction.c:1281:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_browse(xinf) ^ exaction.c:1368:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_fold(xinf) ^ 21 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exconfig.c exconfig.c:43:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *exaliasname(i) ^ exconfig.c:59:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *exisalias(name, inuse) ^ exconfig.c:74:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] RESULT ex_alias(xinf) ^ exconfig.c:249:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] RESULT ex_doalias(xinf) ^ exconfig.c:718:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void exaliassave(custom) ^ exconfig.c:797:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_color(xinf) ^ exconfig.c:905:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_comment(xinf) ^ exconfig.c:944:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_message(xinf) ^ exconfig.c:987:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_display(xinf) ^ exconfig.c:1091:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_gui(xinf) ^ exconfig.c:1107:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT ex_help(xinf) ^ exconfig.c:1392:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] oldval[QTY(oldval) - 100] = '\0'; ^~~~~~~~~~~ ./elvis.h:24:40: note: expanded from macro 'QTY' #define QTY(array) (int)(sizeof(array) / sizeof((array)[0])) ~~~~~~~~~~~~~ ^ exconfig.c:2024:8: note: pointer 'oldval' declared here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_wordfile(xinf) ^ 32 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exedit.c exedit.c:12:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_z(xinf) ^ 12 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exmake.c exmake.c:315:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_make(xinf) ^ 3 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c exsubst.c exsubst.c:72:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT ex_substitute(xinf) ^ 7 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c fold.c fold.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void foldedit(from, to, dest) ^ fold.c:412:12: warning: cast to smaller integer type 'ELVBOOL' from 'struct fold_s *' [-Wpointer-to-enum-cast] infold = (ELVBOOL)buf->fold; ^~~~~~~~~~~~~~~~~~ 9 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c ftp.c clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c http.c clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c input.c input.c:66:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void inputbeforeenter(win) ^ 10 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c lp.c lp.c:46:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *lpoptfield(field, dflt) ^ lp.c:105:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] unsigned char *lpfg(fontcode) ^ lp.c:171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT lp(win, top, bottom, force) ^ 6 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c map.c map.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void mapinsert(rawin, rawlen, cooked, cooklen, label, flags, mode) ^ map.c:190:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void trace(where) ^ map.c:389:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MAPSTATE mapdo(keys, nkeys) ^ map.c:714:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void mapsave(buf) ^ 10 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c message.c message.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CHAR *msgtranslate(word) ^ 5 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c move.c move.c:16:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RESULT m_left(win, vinf) ^ move.c:49:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT m_mark(win, vinf) ^ move.c:618:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT m_bsection(win, vinf) ^ move.c:1337:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT m_bsentence(win, vinf) ^ move.c:1895:9: warning: address of 'cp' will always evaluate to 'true' [-Wpointer-bool-conversion] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] RESULT m_gupdown(win, vinf) ^ 25 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c more.c more.c:42:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static ELVCURSOR shape(win) ^ more.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void morepush(win, special) ^ 5 warnings generated. clang -DUSE_SGTTY -I/opt/pkg/include -D_REENTRANT -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -Iosunix -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ncurses -c need.c need.c:31:7: error: expected parameter declarator void *memmove(void *dest, const void *src, size_t size) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0' #define __darwin_obsz0(object) __builtin_object_size (object, 0) ^ need.c:31:7: error: expected ')' /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0' #define __darwin_obsz0(object) __builtin_object_size (object, 0) ^ need.c:31:7: note: to match this '(' /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:54: note: expanded from macro '__darwin_obsz0' #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] void *memmove(void *dest, const void *src, size_t size) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:70:47: note: expanded from macro 'memmove' __builtin___memmove_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0' #define __darwin_obsz0(object) __builtin_object_size (object, 0) ^ need.c:31:7: error: conflicting types for '__builtin___memmove_chk' /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:70:3: note: expanded from macro 'memmove' __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-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:70:3: note: expanded from macro 'memmove' __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 /Users/pbulk/build/editors/elvis-x11/work/elvis-2.2_0 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/editors/elvis-x11/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-x11 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/elvis-x11