=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mined-2022.27nb1 sh ./makemined gmake[1]: Entering directory '/Users/pbulk/build/editors/mined/work/mined-2022.27/src' echo SH=sh > charmaps/makefile CC=gcc OPT="-pipe -Os -I/opt/pkg/include/ncurses" sh ./mkmakchr -O ../bin/Darwin.x86_64 >> charmaps/makefile gmake -f charmaps/makefile OBJDIR=../bin/Darwin.x86_64 gmake[2]: Entering directory '/Users/pbulk/build/editors/mined/work/mined-2022.27/src' mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/arabic.c -o ../bin/Darwin.x86_64/charmaps/arabic.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/armscii.c -o ../bin/Darwin.x86_64/charmaps/armscii.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/ascii.c -o ../bin/Darwin.x86_64/charmaps/ascii.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-big5.c -o ../bin/Darwin.x86_64/charmaps/cjk-big5.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-cns.c -o ../bin/Darwin.x86_64/charmaps/cjk-cns.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-ejp.c -o ../bin/Darwin.x86_64/charmaps/cjk-ejp.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-ejx.c -o ../bin/Darwin.x86_64/charmaps/cjk-ejx.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-gb.c -o ../bin/Darwin.x86_64/charmaps/cjk-gb.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-johb.c -o ../bin/Darwin.x86_64/charmaps/cjk-johb.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-sjcp.c -o ../bin/Darwin.x86_64/charmaps/cjk-sjcp.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-sjx.c -o ../bin/Darwin.x86_64/charmaps/cjk-sjx.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-uhc.c -o ../bin/Darwin.x86_64/charmaps/cjk-uhc.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1047.c -o ../bin/Darwin.x86_64/charmaps/cp1047.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1125.c -o ../bin/Darwin.x86_64/charmaps/cp1125.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1131.c -o ../bin/Darwin.x86_64/charmaps/cp1131.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1250.c -o ../bin/Darwin.x86_64/charmaps/cp1250.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1251.c -o ../bin/Darwin.x86_64/charmaps/cp1251.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1252.c -o ../bin/Darwin.x86_64/charmaps/cp1252.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1253.c -o ../bin/Darwin.x86_64/charmaps/cp1253.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1254.c -o ../bin/Darwin.x86_64/charmaps/cp1254.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1255.c -o ../bin/Darwin.x86_64/charmaps/cp1255.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1256.c -o ../bin/Darwin.x86_64/charmaps/cp1256.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1257.c -o ../bin/Darwin.x86_64/charmaps/cp1257.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1258.c -o ../bin/Darwin.x86_64/charmaps/cp1258.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp437.c -o ../bin/Darwin.x86_64/charmaps/cp437.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp720.c -o ../bin/Darwin.x86_64/charmaps/cp720.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp737.c -o ../bin/Darwin.x86_64/charmaps/cp737.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp775.c -o ../bin/Darwin.x86_64/charmaps/cp775.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp850.c -o ../bin/Darwin.x86_64/charmaps/cp850.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp852.c -o ../bin/Darwin.x86_64/charmaps/cp852.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp853.c -o ../bin/Darwin.x86_64/charmaps/cp853.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp855.c -o ../bin/Darwin.x86_64/charmaps/cp855.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp857.c -o ../bin/Darwin.x86_64/charmaps/cp857.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp858.c -o ../bin/Darwin.x86_64/charmaps/cp858.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp860.c -o ../bin/Darwin.x86_64/charmaps/cp860.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp861.c -o ../bin/Darwin.x86_64/charmaps/cp861.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp862.c -o ../bin/Darwin.x86_64/charmaps/cp862.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp863.c -o ../bin/Darwin.x86_64/charmaps/cp863.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp864e.c -o ../bin/Darwin.x86_64/charmaps/cp864e.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp865.c -o ../bin/Darwin.x86_64/charmaps/cp865.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp866.c -o ../bin/Darwin.x86_64/charmaps/cp866.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp869.c -o ../bin/Darwin.x86_64/charmaps/cp869.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cygwin.c -o ../bin/Darwin.x86_64/charmaps/cygwin.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/georg-ps.c -o ../bin/Darwin.x86_64/charmaps/georg-ps.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/iso-6937.c -o ../bin/Darwin.x86_64/charmaps/iso-6937.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isoarab.c -o ../bin/Darwin.x86_64/charmaps/isoarab.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isocyril.c -o ../bin/Darwin.x86_64/charmaps/isocyril.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isogreek.c -o ../bin/Darwin.x86_64/charmaps/isogreek.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isohebr.c -o ../bin/Darwin.x86_64/charmaps/isohebr.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-r.c -o ../bin/Darwin.x86_64/charmaps/koi8-r.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-ru.c -o ../bin/Darwin.x86_64/charmaps/koi8-ru.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-t.c -o ../bin/Darwin.x86_64/charmaps/koi8-t.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-u.c -o ../bin/Darwin.x86_64/charmaps/koi8-u.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-10.c -o ../bin/Darwin.x86_64/charmaps/latin-10.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-2.c -o ../bin/Darwin.x86_64/charmaps/latin-2.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-3.c -o ../bin/Darwin.x86_64/charmaps/latin-3.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-4.c -o ../bin/Darwin.x86_64/charmaps/latin-4.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-5.c -o ../bin/Darwin.x86_64/charmaps/latin-5.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-6.c -o ../bin/Darwin.x86_64/charmaps/latin-6.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-7.c -o ../bin/Darwin.x86_64/charmaps/latin-7.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-8.c -o ../bin/Darwin.x86_64/charmaps/latin-8.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-9.c -o ../bin/Darwin.x86_64/charmaps/latin-9.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/m-roman.c -o ../bin/Darwin.x86_64/charmaps/m-roman.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/pt154.c -o ../bin/Darwin.x86_64/charmaps/pt154.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/tcvn.c -o ../bin/Darwin.x86_64/charmaps/tcvn.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/tis620.c -o ../bin/Darwin.x86_64/charmaps/tis620.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/vga.c -o ../bin/Darwin.x86_64/charmaps/vga.o mkdir -p ../bin/Darwin.x86_64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/viscii.c -o ../bin/Darwin.x86_64/charmaps/viscii.o gmake[2]: Leaving directory '/Users/pbulk/build/editors/mined/work/mined-2022.27/src' echo generating keymaps.t via makefile generating keymaps.t via makefile if [ ! -d keymaps ]; then mkdir keymaps; fi echo SH=sh > keymaps/makefile echo keymaps.t: keymaps.cfg `sh ./mkkmlist` mkkmincl >> keymaps/makefile echo " CC=gcc sh ./mkkmincl `sh ./mkkmlist` > keymaps.t" >> keymaps/makefile gmake -f keymaps/makefile gmake[2]: Entering directory '/Users/pbulk/build/editors/mined/work/mined-2022.27/src' gmake[2]: 'keymaps.t' is up to date. gmake[2]: Leaving directory '/Users/pbulk/build/editors/mined/work/mined-2022.27/src' gcc -DTERMIO -Dunix -Dunix -DNOPROTO -pipe -Os -I/opt/pkg/include/ncurses -DRUNDIR=\"/opt/pkg/share/mined\" -DLRUNDIR=\"/usr/local/share/mined\" -c minedaux.c -o ../bin/Darwin.x86_64/minedaux.o In file included from minedaux.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * getcwd (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here char *getcwd(char *, size_t); ^ In file included from minedaux.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern void exit (); ^ ./mined.h:144:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * getenv (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from minedaux.c:6: ./mined.h:170:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern pid_t wait (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:9: note: conflicting prototype is here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ In file included from minedaux.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern unsigned int sleep (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here sleep(unsigned int) __DARWIN_ALIAS_C(sleep); ^ In file included from minedaux.c:6: ./mined.h:234:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int access (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:431:6: note: conflicting prototype is here int access(const char *, int); ^ In file included from minedaux.c:6: ./mined.h:236:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int close (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:437:6: note: conflicting prototype is here int close(int) __DARWIN_ALIAS_C(close); ^ In file included from minedaux.c:6: ./mined.h:239:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int system (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:184:6: note: conflicting prototype is here int system(const char *) __DARWIN_ALIAS_C(system); ^ In file included from minedaux.c:6: ./mined.h:240:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int isatty (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:463:6: note: conflicting prototype is here int isatty(int); ^ In file included from minedaux.c:6: ./mined.h:242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int strcmp (); ^ minedaux.c:73:22: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_trailingslash (logfn); ^ minedaux.c:87:12: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unnull (l1), unnull (l2) ^ minedaux.c:87:25: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unnull (l1), unnull (l2) ^ minedaux.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog (tag, l1, l2) ^ In file included from minedaux.c:6: ./mined.h:802:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void debuglog _((char * tag, char * l1, char * l2)); ^ minedaux.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unnull (s) ^ In file included from minedaux.c:6: ./mined.h:825:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * unnull _((char *)); ^ minedaux.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_trailingslash (name) ^ In file included from minedaux.c:6: ./mined.h:826:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void strip_trailingslash _((char *)); ^ minedaux.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] num_out (number, radix) ^ In file included from minedaux.c:6: ./mined.h:827:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * num_out _((long number, long radix)); ^ minedaux.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dec_out (number) ^ In file included from minedaux.c:6: ./mined.h:822:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * dec_out _((long)); ^ minedaux.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan_int (str, nump) ^ In file included from minedaux.c:6: ./mined.h:821:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * scan_int _((char *, int *)); ^ minedaux.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_string (to, from) ^ In file included from minedaux.c:6: ./mined.h:828:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void copy_string _((char * to, char * from)); ^ minedaux.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] length_of (string) ^ In file included from minedaux.c:6: ./mined.h:883:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int length_of _((char *)); ^ minedaux.c:253:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * s1 = alloc (strlen (s) + 1); ^ minedaux.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dupstr (s) ^ In file included from minedaux.c:6: ./mined.h:884:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * dupstr _((char * s)); ^ minedaux.c:264:25: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int follow = UTF8_len (* s) - 1; ^ minedaux.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nextutf8 (s) ^ In file included from minedaux.c:6: ./mined.h:885:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * nextutf8 _((char *s)); ^ minedaux.c:280:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c1 = case_convert (utf8value (s1), -1); ^ minedaux.c:280:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c1 = case_convert (utf8value (s1), -1); ^ minedaux.c:281:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c2 = case_convert (utf8value (s2), -1); ^ minedaux.c:281:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c2 = case_convert (utf8value (s2), -1); ^ minedaux.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stringcompare_ (s1, s2) ^ In file included from minedaux.c:6: ./mined.h:886:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int stringcompare_ _((char * s1, char * s2)); ^ minedaux.c:308:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c1 = case_convert (utf8value (s1), -1); ^ minedaux.c:308:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c1 = case_convert (utf8value (s1), -1); ^ minedaux.c:309:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c2 = case_convert (utf8value (s2), -1); ^ minedaux.c:309:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c2 = case_convert (utf8value (s2), -1); ^ minedaux.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stringprefix_ (s1, s2) ^ In file included from minedaux.c:6: ./mined.h:887:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int stringprefix_ _((char * s1, char * s2)); ^ minedaux.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] envvar (name) ^ In file included from minedaux.c:6: ./mined.h:803:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * envvar _((char * name)); ^ minedaux.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] envstr (name) ^ In file included from minedaux.c:6: ./mined.h:804:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * envstr _((char * name)); ^ minedaux.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_cwd (dirbuf) ^ In file included from minedaux.c:6: ./mined.h:808:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * get_cwd _((char * dirbuf)); ^ minedaux.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sethomedir (hd) ^ In file included from minedaux.c:6: ./mined.h:810:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void sethomedir _((char *)); ^ minedaux.c:515:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ minedaux.c:518:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring ("mined: "); ^ minedaux.c:521:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring (msg); ^ minedaux.c:523:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring ("\r\n"); ^ minedaux.c:537:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ minedaux.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] systemcall (msg, cmd, delay) ^ In file included from minedaux.c:6: ./mined.h:811:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int systemcall _((char * msg, char * cmd, int delay)); ^ minedaux.c:565:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ minedaux.c:569:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring ("mined: "); ^ minedaux.c:572:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring (msg); ^ minedaux.c:574:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring ("\r\n"); ^ minedaux.c:581:9: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] pid = vfork (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ minedaux.c:633:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ minedaux.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] progcallpp (msg, delay, binprepath, dir, prog, p1, p2, p3, p4) ^ In file included from minedaux.c:6: ./mined.h:813:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int progcallpp _((char * msg, int delay, char * binprepath [], ^ minedaux.c:698:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Command not available"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:720:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_filename (text_buffer, new_dir, True) != FINE) { ^ minedaux.c:722:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg (text_buffer); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:740:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg (text_buffer); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:759:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Cannot change current directory: ", serror ()); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:769:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("", -1L, -1L); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ minedaux.c:822:25: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] helpfile = getbasename (hfbuf); ^ minedaux.c:867:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg ("Help file not found; configure $MINEDDIR in environment!"); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:893:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:894:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ minedaux.c:940:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Help topic could not be opened"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:949:13: warning: passing arguments to 'view_help' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] view_help (helpfile, topic); ^ minedaux.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] show_help (topic) ^ minedaux.c:990:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni (about); ^ minedaux.c:1002:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("<U+000F><U+001F>F1<U+0010>/<U+001F>,<U+0010>/<U+001F>1<U+0010>/ Help on:<U+0010> <U+001F>a<U+0018>bout<U+0010> <U+001F>i<U+0018>ntroduction<U+0010> <U+001F>k<U+0018>eyboard<U+0010> <U+001F>f<U+0018>unction-keys<U+0010> <U+001F>c<U+0018>ommands<U+0010> <U+001F>m<U+0018>enu"); ^ minedaux.c:1004:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("<U+000F>Help on:<U+0010> <U+001F>a<U+0018>bout<U+0010> <U+001F>i<U+0018>ntroduction<U+0010> <U+001F>k<U+0018>eyboard<U+0010> <U+001F>f<U+0018>unction-keys<U+0010> <U+001F>c<U+0018>ommands<U+0010> <U+001F>m<U+0018>enu"); ^ minedaux.c:1006:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("<U+000F>Show function key help bar:<U+0010> <U+001F>F1<U+0010> / <U+001F>Shift-F1<U+0010> / <U+001F>Alt-F1<U+0010> / <U+001F>Ctrl-F1<U+0010> / <U+001F>Alt-Ctrl-F1<U+0010> <U+0018>etc"); ^ minedaux.c:1008:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("<U+000F>Show accent help bar:<U+0010> <U+001F>.<U+0010> <U+0018>punctuation accents<U+0010> / <U+001F>1<U+0010>/<U+001F>Alt-1<U+0010>/<U+001F>C-Alt-1<U+0010> <U+0018>digit keys"); ^ minedaux.c:1015:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1016:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (command (c) == F1 || command (c) == F2 || command (c) == F3 ^ minedaux.c:1016:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (command (c) == F1 || command (c) == F2 || command (c) == F3 ^ minedaux.c:1016:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (command (c) == F1 || command (c) == F2 || command (c) == F3 ^ minedaux.c:1017:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F4 || command (c) == F5 || command (c) == F6 ^ minedaux.c:1017:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F4 || command (c) == F5 || command (c) == F6 ^ minedaux.c:1017:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F4 || command (c) == F5 || command (c) == F6 ^ minedaux.c:1018:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F7 || command (c) == F8 || command (c) == F9 ^ minedaux.c:1018:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F7 || command (c) == F8 || command (c) == F9 ^ minedaux.c:1018:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F7 || command (c) == F8 || command (c) == F9 ^ minedaux.c:1019:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F10 || command (c) == F11 || command (c) == F12 ^ minedaux.c:1019:37: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F10 || command (c) == F11 || command (c) == F12 ^ minedaux.c:1019:59: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == F10 || command (c) == F11 || command (c) == F12 ^ minedaux.c:1021:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FHELP (F1); ^ minedaux.c:1022:48: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if ((c >= '0' && c <= '9') || command (c) == key_0 ^ minedaux.c:1023:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 ^ minedaux.c:1023:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 ^ minedaux.c:1023:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 ^ minedaux.c:1024:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 ^ minedaux.c:1024:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 ^ minedaux.c:1024:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 ^ minedaux.c:1025:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 ^ minedaux.c:1025:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 ^ minedaux.c:1025:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 ^ minedaux.c:1027:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FHELP (key_1); ^ minedaux.c:1028:22: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (command (c) == COMPOSE || c == ',' || c == '.' || c == '\'' ^ minedaux.c:1033:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FHELP (COMPOSE); ^ minedaux.c:1046:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg ("No such help available"); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dispatch_HELP (topics, Fn) ^ minedaux.c:1096:30: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chars_written = char_count (textp) - 1; ^ minedaux.c:1101:24: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ret = writechar (fd, '\n'); ^ minedaux.c:1115:31: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chars_written += char_count (textp) - 1; ^ minedaux.c:1117:37: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long unichar = charvalue (textp); ^ minedaux.c:1120:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unichar = lookup_encodedchar (unichar); ^ minedaux.c:1121:19: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_unichar (unichar)) { ^ minedaux.c:1129:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (writechar (fd, ' ') == ERRORS) { ^ minedaux.c:1141:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] up += utfencode (unichar & 0xFFFF, up); ^ minedaux.c:1142:24: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_wideunichar (unichar)) { ^ minedaux.c:1151:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) utfencode (unichar, up); ^ minedaux.c:1153:30: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! iscombining_unichar (unichar)) { ^ minedaux.c:1154:24: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_wideunichar (unichar)) { ^ minedaux.c:1164:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (writechar (fd, * up) == ERRORS) { ^ minedaux.c:1172:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_char (& textp); ^ minedaux.c:1177:21: warning: passing arguments to 'flush_filebuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (flush_filebuf (fd) == ERRORS) { ^ minedaux.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_unitext (fd) ^ minedaux.c:1241:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 (errmsg, spoolfn); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoolfile (spoolfn, spooldir, name) ^ minedaux.c:1272:52: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_name [0] == '\0' ? "_nofile_" : getbasename (file_name)); ^ ./mined.h:1184:22: note: expanded from macro 'build_string' #define build_string sprintf ^ minedaux.c:1277:53: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_name [0] == '\0' ? "[no file]" : getbasename (file_name), ^ ./mined.h:1184:22: note: expanded from macro 'build_string' #define build_string sprintf ^ minedaux.c:1286:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Cannot write spool file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1290:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1291:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ minedaux.c:1302:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("Printing with $MINEDPRINT <U+001F>failed<U+0018>"); ^ minedaux.c:1376:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("Printing with uprint <U+001F>failed<U+0018>"); ^ minedaux.c:1413:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("Printing with $LPR <U+001F>failed<U+0018>"); ^ minedaux.c:1432:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("Printing with system print command <U+001F>failed<U+0018>"); ^ minedaux.c:1443:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_line ("Printed with ", msg); ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:1445:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Cannot print"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1465:22: warning: passing arguments to 'yankfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((fd = yankfile (READ, False)) == ERRORS) { ^ minedaux.c:1466:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("No buffer contents for command input"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1470:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string ("Command with buffer as input:", cmd, True, "") != FINE) { ^ ./mined.h:1171:14: note: expanded from macro 'get_string' bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) ^ minedaux.c:1474:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1475:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ minedaux.c:1523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gettoken (token) ^ minedaux.c:1535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skiptoken (token) ^ minedaux.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tokenlen (token) ^ minedaux.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eqtoken (t1, t2) ^ minedaux.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] istoken (token) ^ minedaux.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nextline (s) ^ minedaux.c:1614:36: warning: passing arguments to 'portable_getpgrp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getpid () != portable_getpgrp (getpid ())) { ^ minedaux.c:1672:15: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_file (ps_file); ^ minedaux.c:1687:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ minedaux.c:1691:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ minedaux.c:1694:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ minedaux.c:1695:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1773:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ minedaux.c:1774:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putchar ('\n'); ^ ./mined.h:876:30: note: expanded from macro 'putchar' #define putchar(c) __putchar ((character) c) ^ minedaux.c:1776:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ minedaux.c:1781:9: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] pid = vfork (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ minedaux.c:1787:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ minedaux.c:1790:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Cannot fork command shell: ", serror ()); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:1811:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ minedaux.c:1817:48: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Shell termination error: ", serrorof (waiterr)); ^ minedaux.c:1817:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Shell termination error: ", serrorof (waiterr)); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:1819:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 (shell, ": error invoking shell (not found / not enough memory ?)"); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:1821:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Cannot open /dev/tty as fd #0"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ minedaux.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getbasename (fn) ^ In file included from minedaux.c:6: ./mined.h:805:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * getbasename _((char * s)); ^ minedaux.c:1907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_absolute_path (fn) ^ In file included from minedaux.c:6: ./mined.h:806:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int is_absolute_path _((char * filename)); ^ minedaux.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_file (file) ^ In file included from minedaux.c:6: ./mined.h:823:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int delete_file _((char *)); ^ minedaux.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyfile (from_file, to_file) ^ In file included from minedaux.c:6: ./mined.h:824:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FLAG copyfile _((char * from_file, char * to_file)); ^ minedaux.c:2043:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern void * malloc (); ^ minedaux.c:2044:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern void free (); ^ minedaux.c:2052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc (bytes) ^ In file included from minedaux.c:6: ./mined.h:837:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void * alloc _((int bytes)); ^ minedaux.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space (p) ^ In file included from minedaux.c:6: ./mined.h:838:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void free_space _((void *)); ^ minedaux.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_headerblock (n) ^ minedaux.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_header (hp) ^ In file included from minedaux.c:6: ./mined.h:840:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void free_header _((LINE *)); ^ minedaux.c:2171:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_line (msg, NIL_PTR); ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ minedaux.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic_msg (msg) ^ minedaux.c:2228:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ minedaux.c:2229:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putchar ('\n'); ^ ./mined.h:876:30: note: expanded from macro 'putchar' #define putchar(c) __putchar ((character) c) ^ minedaux.c:2233:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ minedaux.c:2180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panicking (message, err, signum) ^ minedaux.c:2246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic (message, err) ^ In file included from minedaux.c:6: ./mined.h:819:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void panic _((char *, char *)); ^ minedaux.c:2254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panicio (message, err) ^ In file included from minedaux.c:6: ./mined.h:820:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void panicio _((char * message, char * err)); ^ minedaux.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handle_interrupt (signum) ^ In file included from minedaux.c:25: ./io.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void handle_interrupt _((int)); ^ 203 warnings generated. gcc -DTERMIO -Dunix -Dunix -DNOPROTO -pipe -Os -I/opt/pkg/include/ncurses -c legacy.c -o ../bin/Darwin.x86_64/legacy.o legacy.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] serrorof (errnum) ^ legacy.c:161:18: warning: passing arguments to 'getpgrp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return getpgrp (pid); ^ legacy.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] portable_getpgrp (pid) ^ 3 warnings generated. gcc -DTERMIO -Dunix -Dunix -DNOPROTO -O1 -DRUNDIR=\"/opt/pkg/share/mined\" -DLRUNDIR=\"/usr/local/share/mined\" -c mined1.c -o ../bin/Darwin.x86_64/mined1.o In file included from mined1.c:6: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * getcwd (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here char *getcwd(char *, size_t); ^ In file included from mined1.c:6: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern void exit (); ^ ./mined.h:144:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * getenv (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from mined1.c:6: ./mined.h:170:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern pid_t wait (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:9: note: conflicting prototype is here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ In file included from mined1.c:6: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern unsigned int sleep (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here sleep(unsigned int) __DARWIN_ALIAS_C(sleep); ^ In file included from mined1.c:6: ./mined.h:234:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int access (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:431:6: note: conflicting prototype is here int access(const char *, int); ^ In file included from mined1.c:6: ./mined.h:236:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int close (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:437:6: note: conflicting prototype is here int close(int) __DARWIN_ALIAS_C(close); ^ In file included from mined1.c:6: ./mined.h:239:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int system (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:184:6: note: conflicting prototype is here int system(const char *) __DARWIN_ALIAS_C(system); ^ In file included from mined1.c:6: ./mined.h:240:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int isatty (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:463:6: note: conflicting prototype is here int isatty(int); ^ In file included from mined1.c:6: ./mined.h:242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int strcmp (); ^ mined1.c:334:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] static char TABdefault = '<B7>'; /* default TAB indicator */ ^ mined1.c:335:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] static char RETdefault = '<AB>'; /* indicates line end */ ^ mined1.c:336:27: warning: illegal character encoding in character literal [-Winvalid-source-encoding] static char PARAdefault = '<B6>'; /* indicates end of paragraph */ ^ mined1.c:337:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] char UNI_marker = '<A4>'; /* Char to be shown in place of Unicode char */ ^ mined1.c:349:21: warning: illegal character encoding in character literal [-Winvalid-source-encoding] char SHIFT_marker = '<BB>'; /* Char indicating that line continues */ ^ mined1.c:350:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] char SHIFT_BEG_marker = '<AB>'; /* Char indicating that line continues left */ ^ mined1.c:351:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] char MENU_marker = '<BB>'; /* Char to mark selected item */ ^ mined1.c:415:18: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] menu_mouse_mode (selecting); ^ mined1.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] selection_mouse_mode (selecting) ^ mined1.c:427:10: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMARK (True); ^ mined1.c:441:29: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) display_scrollbar (True); ^ mined1.c:448:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, mouse_ypos); ^ mined1.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mouse_scroll (S, P) ^ mined1.c:514:31: warning: passing arguments to 'filelist_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * fn = filelist_search (mouse_ypos + MENU, mouse_xpos); ^ mined1.c:517:25: warning: passing arguments to 'save_text_load_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_text_load_file (fn); ^ mined1.c:528:13: warning: passing arguments to 'openmenuat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openmenuat (mouse_xpos); ^ mined1.c:573:11: warning: passing arguments to 'goproz' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goproz (100); ^ mined1.c:575:11: warning: passing arguments to 'goproz' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goproz ((mouse_ypos + 1) * 100 / YMAX); ^ mined1.c:581:27: warning: passing arguments to 'mouse_button_event_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mouse_button_event_mode (True); ^ mined1.c:605:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMARK (True); ^ mined1.c:610:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, 0); ^ mined1.c:613:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, YMAX - 1); ^ mined1.c:618:28: warning: passing arguments to 'adjust_rectangular_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjust_rectangular_mode (alt_mouse); ^ mined1.c:619:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, mouse_ypos); ^ mined1.c:623:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! char_ready_within (350, "mouse")) { ^ mined1.c:625:16: warning: passing arguments to 'openmenuat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openmenuat (mouse_xpos); ^ mined1.c:652:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, mouse_ypos); ^ mined1.c:660:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMARK (True); ^ mined1.c:668:34: warning: passing arguments to 'continue_highlight_selection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] continue_highlight_selection (mouse_xpos); ^ mined1.c:688:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, mouse_ypos); ^ mined1.c:698:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMARK (True); ^ mined1.c:700:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, mouse_ypos); ^ mined1.c:711:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, mouse_ypos); ^ mined1.c:721:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (prev_x, prev_y); ^ mined1.c:735:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (mouse_xpos, mouse_ypos); ^ mined1.c:740:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMARK (True); ^ mined1.c:743:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setMARK (True); ^ mined1.c:861:21: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index = get_number ("Select video mode ", '\0', & mode1); ^ mined1.c:865:18: warning: passing arguments to 'set_screen_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_screen_mode (mode1); ^ mined1.c:882:20: warning: passing arguments to 'resize_the_screen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resize_the_screen (sb, keep_columns); ^ mined1.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_screen_size (sb, keep_columns) ^ mined1.c:892:15: warning: passing arguments to 'resize_font' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resize_font (inc); ^ mined1.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_font_size (inc) ^ mined1.c:953:26: warning: passing arguments to 'switch_textmode_height' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch_textmode_height (True); ^ mined1.c:964:25: warning: passing arguments to 'switch_textmode_height' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch_textmode_height (False); ^ mined1.c:981:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("View only mode"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ mined1.c:991:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Restricted mode", " - function not allowed"); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ mined1.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KEYrecord (key) ^ mined1.c:1167:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDSHIFT"); ^ mined1.c:1178:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDTAB"); ^ mined1.c:1201:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDRET"); ^ mined1.c:1213:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDDOSRET"); ^ mined1.c:1218:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] DOSRET_marker = '<B5>'; ^ mined1.c:1223:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDMACRET"); ^ mined1.c:1233:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDPARA"); ^ mined1.c:1239:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDMENUMARKER"); ^ mined1.c:1255:32: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF_SHIFT_BEG_marker = envvar ("MINEDUTFSHIFT"); ^ mined1.c:1258:16: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_utf8 (& UTF_SHIFT_marker); ^ mined1.c:1263:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF_TAB_marker = envvar ("MINEDUTFTAB"); ^ mined1.c:1267:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_utf8 (& markpoi); ^ mined1.c:1271:18: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_utf8 (& markpoi); ^ mined1.c:1282:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF_RET_marker = envvar ("MINEDUTFRET"); ^ mined1.c:1286:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_utf8 (& UTF_RETfill_marker); ^ mined1.c:1290:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_utf8 (& UTF_RETfini_marker); ^ mined1.c:1293:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF_DOSRET_marker = envvar ("MINEDUTFDOSRET"); ^ mined1.c:1301:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF_MACRET_marker = envvar ("MINEDUTFMACRET"); ^ mined1.c:1309:27: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF_PARA_marker = envvar ("MINEDUTFPARA"); ^ mined1.c:1310:16: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mark = envvar ("MINEDUTFMENUMARKER"); ^ mined1.c:1315:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utf8_info (Mark, & len, & unichar); ^ mined1.c:1316:28: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (len > 1 && ! iswide (unichar) && ! iscombining (unichar)) { ^ mined1.c:1316:55: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (len > 1 && ! iswide (unichar) && ! iscombining (unichar)) { ^ mined1.c:1344:46: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * report = get_terminal_report_string (s); ^ mined1.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_terminal_rgb (s) ^ mined1.c:1354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sscanrgb (s, __r, __g, __b) ^ mined1.c:1408:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r3, & g3, & b3); ^~~~ mined1.c:1408:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r3, & g3, & b3); ^~~~ mined1.c:1408:45: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r3, & g3, & b3); ^~~~ mined1.c:1429:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (set_ansi3); ^ mined1.c:1443:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & _r, & _g, & _b); ^~~~ mined1.c:1443:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & _r, & _g, & _b); ^~~~ mined1.c:1443:45: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & _r, & _g, & _b); ^~~~ mined1.c:1467:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r, & g, & b); ^~~ mined1.c:1467:37: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r, & g, & b); ^~~ mined1.c:1467:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r, & g, & b); ^~~ mined1.c:1515:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r, & g, & b); ^~~ mined1.c:1515:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r, & g, & b); ^~~ mined1.c:1515:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r, & g, & b); ^~~ mined1.c:1528:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r_, & g_, & b_); ^~~~ mined1.c:1528:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r_, & g_, & b_); ^~~~ mined1.c:1528:44: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = sscanrgb (color_report, & r_, & g_, & b_); ^~~~ mined1.c:1548:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (set_curscolr); ^ mined1.c:1593:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (set_ansi2); ^ mined1.c:1629:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (set_ansi7); ^ mined1.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] determine_dim_mode (darkcheck_only) ^ mined1.c:1653:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] markansi = envvar ("MINEDDIM"); ^ mined1.c:1676:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emphansi = envvar ("MINEDEMPH"); ^ mined1.c:1681:23: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] borderansi = envvar ("MINEDBORDER"); ^ mined1.c:1686:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] selansi = envvar ("MINEDSEL"); ^ mined1.c:1687:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] selfgansi = envvar ("MINEDSELFG"); ^ mined1.c:1699:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uniansi = envvar ("MINEDUNI"); ^ mined1.c:1713:24: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] specialansi = envvar ("MINEDSPECIAL"); ^ mined1.c:1717:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] combiningansi = envvar ("MINEDCOMBINING"); ^ mined1.c:1722:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctrlansi = envvar ("MINEDCTRL"); ^ mined1.c:1726:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] menuansi = envvar ("MINEDMENU"); ^ mined1.c:1730:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HTMLansi = envvar ("MINEDHTML"); ^ mined1.c:1746:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XMLattribansi = envvar ("MINEDXMLATTRIB"); ^ mined1.c:1754:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XMLvalueansi = envvar ("MINEDXMLVALUE"); ^ mined1.c:1762:21: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] diagansi = envstr ("MINEDDIAG"); ^ mined1.c:1764:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrollbgansi = envvar ("MINEDSCROLLBG"); ^ mined1.c:1773:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrollfgansi = envvar ("MINEDSCROLLFG"); ^ mined1.c:1845:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * env = envvar ("ESCDELAY"); ^ mined1.c:1847:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) scan_int (env, & escape_delay); ^ mined1.c:1859:45: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (strisprefix ("/dev/tty", unnull (ttyname (2)))) { ^ mined1.c:1897:25: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (char_ready_within (delay, "expect")) { ^ mined1.c:1911:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("... awaiting slow terminal response ..."); ^ mined1.c:1915:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni ("... waiting for rxvt to report device attributes ..."); ^ mined1.c:1922:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ mined1.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] expect1byte (timeout, debug_tag) ^ mined1.c:1930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] receiving_response (c, debug_tag) ^ mined1.c:1962:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_line ("Late screen mode response ", ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ mined1.c:1980:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Unknown terminal status report"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ mined1.c:1984:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Late device attribute report - restart mined for proper screen detection"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ mined1.c:1986:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Unexpected (delayed) device attribute report"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ mined1.c:1989:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Unknown keyboard control sequence"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ mined1.c:2018:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& row); ^ mined1.c:2020:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& col); ^ mined1.c:1996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_CPR (rowpoi, colpoi) ^ mined1.c:2058:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& dum); /* '8' */ ^ mined1.c:2059:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& row); ^ mined1.c:2061:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& col); ^ mined1.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_TSZ (rowpoi, colpoi) ^ mined1.c:2103:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (2222, 2222); ^ mined1.c:2106:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[6n"); ^ mined1.c:2128:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[18t"); /* long timeout if response disabled? */ ^ mined1.c:2163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_window_title (ws, title, icon) ^ mined1.c:2187:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[22t"); ^ mined1.c:2195:40: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * t = get_terminal_report_string ("\033[21t"); ^ mined1.c:2200:34: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = get_terminal_report_string ("\033[20t"); ^ mined1.c:2217:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[23t"); ^ mined1.c:2221:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (window_string); ^ mined1.c:2240:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (window_string); ^ mined1.c:2348:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] char * r = get_terminal_report_string ("\033]2;x<A4>x<U+0007>\033[21t"); ^~~~ mined1.c:2348:41: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * r = get_terminal_report_string ("\033]2;x<A4>x<U+0007>\033[21t"); ^ mined1.c:2355:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] } else if (r [2] == '<A4>') { ^ mined1.c:2397:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("CP850", 'P'); ^ mined1.c:2399:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("CP1252", 'W'); ^ mined1.c:2406:33: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long c = unicodevalue (filename_poi); ^ mined1.c:2407:17: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_unichar (c) || c < (character) ' ' || (c >= 0x80 && c < 0xA0)) { ^ mined1.c:2427:32: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename_dispoi += utfencode (c, filename_dispoi); ^ mined1.c:2431:33: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename_dispoi += utfencode (c, filename_dispoi); ^ mined1.c:2433:38: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long tc = mappedtermchar (c); ^ mined1.c:2434:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_char (tc)) { ^ mined1.c:2437:61: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename_dispoi += cjkencode_char (True, mappedtermchar (c), filename_dispoi); ^ mined1.c:2437:39: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filename_dispoi += cjkencode_char (True, mappedtermchar (c), filename_dispoi); ^ mined1.c:2445:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_char (& filename_poi); ^ mined1.c:2450:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding (save_term_encoding, ' '); ^ mined1.c:2468:54: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_name [0] == '\0' ? "[no file]" : getbasename (filename_ok)); ^ ./mined.h:1184:22: note: expanded from macro 'build_string' #define build_string sprintf ^ mined1.c:2470:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (window_string); ^ mined1.c:2499:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display (0, top_line, last_y, y); ^ mined1.c:2503:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) display_scrollbar (False); ^ mined1.c:2507:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ mined1.c:2509:41: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_address (cur_text, find_y_w_o_RD (cur_line)); ^ mined1.c:2509:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_address (cur_text, find_y_w_o_RD (cur_line)); ^ mined1.c:2533:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display (0, top_line, last_y, y_pos); ^ mined1.c:2536:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ mined1.c:2526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RD_y (y_pos) ^ In file included from mined1.c:6: ./mined.h:864:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void RD_y _((int y_pos)); ^ mined1.c:2552:17: warning: passing arguments to 'screen_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen_buffer (True); ^ mined1.c:2579:8: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reset (top_line, y); ^ mined1.c:2581:40: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_address (cur_text, find_y_w_o_RD (current_line)); ^ mined1.c:2581:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_address (cur_text, find_y_w_o_RD (current_line)); ^ mined1.c:2585:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] displaymenuline (True); ^ mined1.c:2595:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) display_scrollbar (True); ^ mined1.c:2548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RDwin_menu (rd_menu, after_winchg) ^ mined1.c:2632:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reset (l, li); ^ mined1.c:2806:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[>c"); ^ mined1.c:2816:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& terminal_type); ^ mined1.c:2818:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& terminal_version); ^ mined1.c:2823:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& subver); ^ mined1.c:2827:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& terminal_registration); ^ mined1.c:2794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acquire_device_attributes (again) ^ mined1.c:2845:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[c"); ^ mined1.c:2858:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = get_digits (& feature); ^ mined1.c:2885:28: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (char_ready_within (30, "swallow")) { ^ mined1.c:2917:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (s); ^ mined1.c:2946:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("report", s + 1, sbuf); ^ mined1.c:2906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_terminal_report_string (s) ^ mined1.c:73:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char * get_terminal_report_string _((char * s)); ^ mined1.c:2957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_width_report (s, wpoi) ^ mined1.c:2996:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\r"); ^ mined1.c:2998:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("6n", "", screen_version ? "s" : ""); ^ mined1.c:2999:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring (s); /* don't use putescape here for 'screen' 4.0 */ ^ mined1.c:3000:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[6n"); /* maybe termcap u7 but not really defined */ ^ mined1.c:3001:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\r"); ^ mined1.c:3004:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("6n", "", "flush"); ^ mined1.c:3007:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("CPR", "", ""); ^ mined1.c:2972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] test_screen_width (s) ^ mined1.c:3074:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"<81>0<A1>2"}, ^~~~ ~~~~ mined1.c:3075:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"<A1><A4><A1><B1>ꥦ<A1>Þ¡"}, ^~~~~~~~~~~~~~~~ ~~~~ mined1.c:3076:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"<8E><A1><A3><A3>"}, ^~~~~~~~~~~~~~~~ mined1.c:3077:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"<8F><A1><A2>x"}, ^~~~~~~~~~~~ mined1.c:3078:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"<88><A1>"}, ^~~~~~~~ mined1.c:3079:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"<A1><D7>"}, ^~~~~~~~ mined1.c:3084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_screen_width (s, sw, len) ^ mined1.c:3128:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("6n", "**", screen_version ? "s" : ""); ^ mined1.c:3130:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\r"); ^ mined1.c:3133:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring (sw [i].test); /* don't use putescape here for 'screen' 4.0 */ ^ mined1.c:3134:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033[6n"); /* maybe termcap u7 but not really defined */ ^ mined1.c:3135:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\r"); ^ mined1.c:3150:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("6n", "**", "flush"); ^ mined1.c:3156:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("CPR", "**", ""); ^ mined1.c:3104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] acquire_screen_widths (sw, len) ^ mined1.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isglyph_code (glyph) ^ mined1.c:3241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isglyph_uni (u) ^ In file included from mined1.c:6: ./mined.h:921:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int isglyph_uni _((unsigned long)); ^ mined1.c:3266:32: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return isglyph_uni (utf8value (c)); ^ mined1.c:3260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isglyph_utf (c) ^ mined1.c:3341:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("xterm"); ^ mined1.c:3366:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("xterm"); ^ mined1.c:3372:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("xterm"); ^ mined1.c:3375:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("xterm"); ^ mined1.c:3431:45: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (strisprefix ("gnome-terminal", envstr ("COLORTERM")) && gnome_terminal_version <= 0) { ^ mined1.c:3440:46: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (streq ("xterm", TERM) && envvar ("MLTERM")) { ^ mined1.c:3444:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * mlterm = envvar ("MLTERM"); ^ mined1.c:3471:20: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glyphs = dupstr (glyphs); ^ mined1.c:3632:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] : "<B4> MinEd " VERSION; ^~~~ mined1.c:3646:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (xpos, YMAX / 3); ^ mined1.c:3647:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033#3"); putescape (logo1); ^ mined1.c:3647:35: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033#3"); putescape (logo1); ^ mined1.c:3648:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (xpos, YMAX / 3 + 1); ^ mined1.c:3649:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033#4"); putescape (logo2); ^ mined1.c:3649:35: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape ("\033#4"); putescape (logo2); ^ mined1.c:3650:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring ("\n"); ^ mined1.c:3663:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (XMAX / 2 - 5, splashpos); ^ mined1.c:3664:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putescape (sixelsplash); ^ mined1.c:3665:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putstring ("\n"); ^ mined1.c:3681:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg ("Trying to switch to command line view (normal screen)"); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ mined1.c:3682:17: warning: passing arguments to 'screen_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen_buffer (False); ^ mined1.c:3686:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg ("Returned to editing view (alternate screen)"); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ mined1.c:3703:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] term_Unicode_version_name (width_data_version)); ^ mined1.c:3712:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] term_Unicode_version_name (cjk_width_data_version)); ^ mined1.c:3717:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] term_Unicode_version_name (combining_data_version), ^ mined1.c:3814:12: warning: passing arguments to 'get_term' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_term (TERM); ^ mined1.c:3817:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ mined1.c:3829:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic ("Min. 3x40 size needed for terminal", "too small"); ^ mined1.c:3837:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg ("Auto-detecting terminal properties - waiting for rxvt to report"); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ mined1.c:3838:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, 0); ^ mined1.c:3842:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) char_ready_within (30, NIL_PTR); ^ mined1.c:3860:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if (test_screen_width (sjis_3bytes) == 3) { ^~~~~~~~~~~ mined1.c:3857:23: note: expanded from macro 'sjis_3bytes' #define sjis_3bytes "x<C1>a" ^~~~ mined1.c:3861:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("Shift-JIS", 'S'); ^ mined1.c:3863:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("Shift-JIS", 'S', "TERM=kterm"); ^ mined1.c:3866:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("EUC-JP", 'J'); ^ mined1.c:3868:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("EUC-JP", 'J', "TERM=kterm"); ^ mined1.c:3914:22: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_term_encoding ("TIS", 'T'); ^ mined1.c:4103:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] int cwidth = get_screen_width ("<81>0<A1>2", cjk_widths, arrlen (cjk_widths)); ^~~~ ~~~~ mined1.c:4118:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cwidth = get_screen_width ("<A1><A4><A1><B1>ꥦ<A1>Þ¡<A1><F1><F1><A1>", cjk_widths, arrlen (cjk_widths)); ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ mined1.c:4122:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cwidth = get_screen_width ("<8E><A1><A3><A3>", cjk_widths, arrlen (cjk_widths)); ^~~~~~~~~~~~~~~~ mined1.c:4132:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if (euc3_term && get_screen_width ("<8F><A1><A2>x", cjk_widths, arrlen (cjk_widths)) > 3) { ^~~~~~~~~~~~ mined1.c:4137:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if (get_screen_width ("<88><A1>", cjk_widths, arrlen (cjk_widths)) < 2) { ^~~~~~~~ mined1.c:4170:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("ASCII", ' '); ^ mined1.c:4193:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("ISO-8859-1", ' '); ^ mined1.c:4217:47: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_combining = mappedtermchar (0x0300); ^ mined1.c:4218:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_char (cjk_combining)) { ^ mined1.c:4224:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_combining, check); ^ mined1.c:4240:43: warning: passing arguments to 'lookup_mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long u = lookup_mappedtermchar (c); ^ mined1.c:4241:20: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_unichar (u) && iscombining (u)) { ^ mined1.c:4241:39: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_unichar (u) && iscombining (u)) { ^ mined1.c:4262:37: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long lam = mappedtermchar (0x0644); ^ mined1.c:4263:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (lam)) { ^ mined1.c:4264:39: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long alef = mappedtermchar (0x0627); ^ mined1.c:4269:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, lam, check); ^ mined1.c:4270:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, alef, check); ^ mined1.c:4307:44: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_degree = mappedtermchar (0x00B0); /* ° */ ^ mined1.c:4308:45: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_lineend = mappedtermchar (0x300A); /* 《 */ ^ mined1.c:4309:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_ellipsis = mappedtermchar (0x2026); /* … */ ^ mined1.c:4310:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_uni = mappedtermchar (0x00A2); /* ¢ */ ^ mined1.c:4311:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_dot = mappedtermchar (0x00B7); /* · */ ^ mined1.c:4312:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_lat = mappedtermchar (0x00F8); /* ø */ ^ mined1.c:4313:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_shy = mappedtermchar (0x00AD); /*  */ ^ mined1.c:4314:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjk_ten = mappedtermchar (0x3248); /* ㉈ */ ^ mined1.c:4320:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_ellipsis, check); ^ mined1.c:4321:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_lineend, check); ^ mined1.c:4322:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_lineend, check); ^ mined1.c:4323:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_char (cjk_uni)) { ^ mined1.c:4326:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_char (cjk_uni)) { ^ mined1.c:4327:29: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cjk_uni = mappedtermchar (0x00AF); /* ¯ */ ^ mined1.c:4330:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (cjk_uni)) { ^ mined1.c:4331:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_uni, check); ^ mined1.c:4332:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_uni, check); ^ mined1.c:4333:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_uni, check); ^ mined1.c:4334:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_uni, check); ^ mined1.c:4346:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (cjk_uni) && (cjkwidth & 1) == 0) { ^ mined1.c:4351:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (cjk_degree)) { ^ mined1.c:4353:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_degree, check); ^ mined1.c:4374:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (cjk_ten)) { ^ mined1.c:4376:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_ten, check); ^ mined1.c:4383:51: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cjk_width_data_version < U520 && ! no_char (cjk_shy)) { ^ mined1.c:4385:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_shy, check); ^ mined1.c:4392:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (cjk_lat)) { ^ mined1.c:4394:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_lat, check); ^ mined1.c:4402:44: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (rxvt_version > 0 && ! no_char (cjk_dot)) { ^ mined1.c:4404:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check += cjkencode_char (True, cjk_dot, check); ^ mined1.c:4711:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap (NIL_PTR); ^ mined1.c:4770:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("linux"); ^ mined1.c:4897:42: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TAB_marker && iswide (utf8value (UTF_TAB_marker))) { ^ mined1.c:4897:31: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TAB_marker && iswide (utf8value (UTF_TAB_marker))) { ^ mined1.c:4900:43: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TAB0_marker && iswide (utf8value (UTF_TAB0_marker))) { ^ mined1.c:4900:32: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TAB0_marker && iswide (utf8value (UTF_TAB0_marker))) { ^ mined1.c:4903:43: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TAB2_marker && iswide (utf8value (UTF_TAB2_marker))) { ^ mined1.c:4903:32: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TAB2_marker && iswide (utf8value (UTF_TAB2_marker))) { ^ mined1.c:4906:45: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TABmid_marker && iswide (utf8value (UTF_TABmid_marker))) { ^ mined1.c:4906:34: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (UTF_TABmid_marker && iswide (utf8value (UTF_TABmid_marker))) { ^ mined1.c:5035:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ mined1.c:5107:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * username = envvar ("MINEDUSER"); ^ mined1.c:5113:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_dir = envvar ("TMPDIR"); ^ mined1.c:5115:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_dir = envvar ("TMP"); ^ mined1.c:5118:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_dir = envvar ("TEMP"); ^ mined1.c:5133:23: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_trailingslash (temp_dn); ^ mined1.c:5137:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] minedtemp_dir = envvar ("MINEDTMP"); ^ mined1.c:5340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] matchwords (w, s) ^ mined1.c:5366:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return set_term_encoding (charmap_term, ' '); ^ mined1.c:5368:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return set_text_encoding (charmap_text, ' ', "set_charmap_2"); ^ mined1.c:5360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_charmap_2 (term, charmap_term, charmap_text) ^ mined1.c:5379:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return set_term_encoding (charmap, ' '); ^ mined1.c:5381:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return set_text_encoding (charmap, ' ', "set_charmap"); ^ mined1.c:5374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_charmap (term, charmap) ^ mined1.c:5422:19: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style (altstyle); ^ mined1.c:5424:19: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style (style); ^ mined1.c:5418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_styles (style, altstyle) ^ mined1.c:5463:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style (style); ^ mined1.c:5428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handle_locale_quotes (lang, alt) ^ In file included from mined1.c:6: ./mined.h:788:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void handle_locale_quotes _((char * lang, FLAG alt)); ^ mined1.c:5485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handle_locale_encoding (term, encoding) ^ mined1.c:5812:15: warning: passing arguments to 'sethomedir' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sethomedir (minedopt); ^ mined1.c:5821:23: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] minedopt = scan_int (minedopt, & wheel_scroll); ^ mined1.c:6057:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (NIL_PTR, 'L', "+u"); ^ mined1.c:6060:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (NIL_PTR, 'U', "-u"); ^ mined1.c:6066:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (NIL_PTR, 'L', "-l"); ^ mined1.c:6098:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (set_text_encoding (NIL_PTR, * minedopt, "-EU/L")) { ^ mined1.c:6194:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (set_term_encoding (NIL_PTR, enctag)) { ^ mined1.c:6203:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (set_text_encoding (NIL_PTR, enctag, "-E")) { ^ mined1.c:6229:26: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_trailingslash (expandedname); ^ mined1.c:6231:32: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backup_directory = dupstr (expandedname); ^ mined1.c:6233:32: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backup_directory = dupstr (minedopt); ^ mined1.c:6280:19: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (setKEYMAP (minedopt)) { ^ mined1.c:6331:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style (minedopt); ^ mined1.c:6643:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space (filter_read); ^ mined1.c:6644:25: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filter_read = dupstr (minedopt); ^ mined1.c:6651:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space (filter_write); ^ mined1.c:6652:26: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filter_write = dupstr (minedopt); ^ mined1.c:5720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eval_options (minedopt, command_line) ^ mined1.c:6764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_prefmov (varpoi, varsize) ^ mined1.c:6808:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prefbuf = alloc (preflen); ^ mined1.c:6802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preferences (save_restore) ^ mined1.c:6999:23: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_trailingslash (rcfn); ^ mined1.c:7014:17: warning: passing arguments to 'reset_get_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reset_get_line (False); ^ mined1.c:7015:31: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (line_gotten (get_line (rc_fd, text_buffer, & dumlen, False))) { ^ mined1.c:7015:21: warning: passing arguments to 'line_gotten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (line_gotten (get_line (rc_fd, text_buffer, & dumlen, False))) { ^ mined1.c:7043:25: warning: passing arguments to 'wildcard' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (wildcard (& text_buffer [1], pref_name)) { ^ mined1.c:7082:11: warning: assigning to 'character *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] optpoi = option; ^ ~~~~~~ mined1.c:7100:11: warning: assigning to 'char *' from 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] optval = optpoi; ^ ~~~~~~ mined1.c:6971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] configure_preferences (applycommon) ^ In file included from mined1.c:6: ./mined.h:789:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void configure_preferences _((FLAG applycommon)); ^ mined1.c:7175:24: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debug_mined = envvar ("DEBUG_MINED"); ^ mined1.c:7176:17: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TERM = envstr ("TERM"); ^ mined1.c:7182:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (envvar ("NoCtrlSQ") || envvar ("NoControlSQ")) { ^ mined1.c:7182:37: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (envvar ("NoCtrlSQ") || envvar ("NoControlSQ")) { ^ mined1.c:7189:21: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] transout = envstr ("MINEDOUT"); ^ mined1.c:7197:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (envvar ("MINEDMODF")) { ^ mined1.c:7198:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mined_modf = envvar ("MINEDMODF"); ^ mined1.c:7247:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("CP437", 'p'); ^ mined1.c:7250:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("CP850", 'P', "TERM=nansi"); ^ mined1.c:7264:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("CP850", 'P'); ^ mined1.c:7267:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("CP850", 'P', "TERM=pcansi"); ^ mined1.c:7311:26: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (strcontains (envstr ("CYGWIN"), "codepage:oem")) { ^ mined1.c:7313:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("CP850", 'P'); ^ mined1.c:7315:33: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (strcontains (envstr ("CYGWIN"), "codepage:utf8")) { ^ mined1.c:7316:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding (NIL_PTR, 'U'); ^ mined1.c:7356:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("ASCII", ' '); ^ mined1.c:7407:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("ISO-8859-1", 'L', "TERM=cygwin"); ^ mined1.c:7455:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (envvar ("BACKUP_DIRECTORY")) { ^ mined1.c:7456:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backup_directory = envvar ("BACKUP_DIRECTORY"); ^ mined1.c:7459:13: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (envvar ("BACKUPDIR")) { ^ mined1.c:7460:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backup_directory = envvar ("BACKUPDIR"); ^ mined1.c:7466:44: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (backup_directory && is_absolute_path (backup_directory)) { ^ mined1.c:7473:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((minedopt = envvar ("VERSION_CONTROL")) != NIL_PTR) { ^ mined1.c:7488:30: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recover_directory = envvar ("AUTO_SAVE_DIRECTORY"); ^ mined1.c:7490:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recover_directory = envvar ("AUTOSAVEDIR"); ^ mined1.c:7495:45: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (recover_directory && is_absolute_path (recover_directory)) { ^ mined1.c:7508:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] minedopt = envvar ("MINEDOPT"); ^ mined1.c:7513:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] minedopt = envvar ("MINED"); ^ mined1.c:7522:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) setKEYMAP (envvar ("MINEDKEYMAP")); ^ mined1.c:7522:20: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) setKEYMAP (envvar ("MINEDKEYMAP")); ^ mined1.c:7636:19: warning: passing arguments to 'filelist_add' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_add (argv [fi], True); ^ mined1.c:7665:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic ("Cannot read both pipe and file", NIL_PTR); ^ mined1.c:7676:25: warning: passing arguments to 'inputreadyafter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) inputreadyafter (-1); ^ mined1.c:7686:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic ("Cannot open /dev/tty for reading", serror ()); ^ mined1.c:7695:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic ("Cannot open /dev/tty for writing", serror ()); ^ mined1.c:7713:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("vt100"); ^ mined1.c:7716:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("rxvt"); ^ mined1.c:7725:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("hp"); ^ mined1.c:7737:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("52"); ^ mined1.c:7739:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("ASCII", ' '); ^ mined1.c:7751:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("o"); ^ mined1.c:7754:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("KOI8-R", ' '); ^ mined1.c:7759:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("KOI8-R", ' '); ^ mined1.c:7761:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("ISO-8859-1", ' '); ^ mined1.c:7763:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("CP437", 'p'); ^ mined1.c:7767:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("MacRoman", 'M'); ^ mined1.c:7771:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("ASCII", ' '); ^ mined1.c:7780:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_term_encoding ("MacRoman", 'M'); ^ mined1.c:7784:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("siemens"); ^ mined1.c:7789:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_fkeymap ("interix"); ^ mined1.c:7819:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ mined1.c:7829:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] detect_encodings = envvar ("MINEDDETECT"); ^ mined1.c:7837:34: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] preselect_quote_style = envvar ("MINEDQUOTES"); ^ mined1.c:7841:16: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] env = envvar ("MINEDHANINFO"); ^ mined1.c:7909:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ mined1.c:7920:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic ("Cannot allocate memory", NIL_PTR); ^ mined1.c:7934:18: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_wild_file (NIL_PTR, reading_pipe, False); ^ mined1.c:7937:31: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_wild_file (filelist_get (argi), False, False); ^ mined1.c:7937:17: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_wild_file (filelist_get (argi), False, False); ^ mined1.c:7942:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ mined1.c:7946:36: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printf ("%s: %s\n", filelist_get (argi), get_text_encoding ()); ^ mined1.c:7950:13: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ mined1.c:7951:33: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_wild_file (filelist_get (argi), False, True); ^ mined1.c:7951:19: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_wild_file (filelist_get (argi), False, True); ^ mined1.c:7952:13: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ mined1.c:7953:37: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printf ("%s: %s\n", filelist_get (argi), get_text_encoding ()); ^ mined1.c:7962:22: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) scan_int (argv [initlini] + 1, & initlinenum); ^ mined1.c:7964:46: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (initlinenum <= 0 || (initline = proceed (header->next, initlinenum - 1)) == tail) { ^ mined1.c:7965:46: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Invalid line number: ", dec_out ((long) initlinenum)); ^ mined1.c:7965:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Invalid line number: ", dec_out ((long) initlinenum)); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ mined1.c:7967:31: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (x, find_y_w_o_RD (initline)); ^ mined1.c:7967:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (x, find_y_w_o_RD (initline)); ^ mined1.c:7968:5: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Loaded", -1L, -1L); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ mined1.c:7974:17: warning: passing arguments to 'search_ini' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (search_ini (inisearch, FORWARD, True) == False) { ^ mined1.c:7978:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Loaded", -1L, -1L); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ mined1.c:7984:2: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Editing for standard output", -1L, -1L); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ mined1.c:7993:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display (0, top_line, last_y, 0); ^ mined1.c:8015:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_uni (ext_status); ^ mined1.c:8021:16: warning: passing arguments to 'display_Han' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_Han (cur_text, False); ^ mined1.c:8027:15: warning: passing arguments to 'display_Han' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_Han (cur_text, False); ^ mined1.c:8039:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] displaymenuline (True); ^ mined1.c:8052:25: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (display_scrollbar (update_scrollbar_lazy)) { ^ mined1.c:8064:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog (0, "flush", 0); ^ mined1.c:8080:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (command (inputchar) != Scharacter ^ mined1.c:8081:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && command (inputchar) != Sdash ^ mined1.c:8082:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && command (inputchar) != Ssinglequote ^ mined1.c:8083:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && command (inputchar) != Sdoublequote ^ mined1.c:8088:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (command (inputchar) != Scharacter) { ^ mined1.c:8089:21: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] keyproc = command (inputchar); ^ mined1.c:8092:27: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inputchar = encodedchar (inputchar); ^ mined1.c:8102:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (command (inputchar) == FOCUSin) { ^ mined1.c:8115:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ mined1.c:8118:23: warning: passing arguments to 'invoke_key_function' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invoke_key_function (inputchar); ^ mined1.c:7164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main (argc, argv) ^ 467 warnings generated. gcc -DTERMIO -Dunix -Dunix -DNOPROTO -pipe -Os -I/opt/pkg/include/ncurses -c textfile.c -o ../bin/Darwin.x86_64/textfile.o In file included from textfile.c:16: ./mined.h:138:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * getcwd (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here char *getcwd(char *, size_t); ^ In file included from textfile.c:16: ./mined.h:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern void exit (); ^ ./mined.h:144:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char * getenv (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ In file included from textfile.c:16: ./mined.h:170:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern pid_t wait (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:9: note: conflicting prototype is here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ In file included from textfile.c:16: ./mined.h:173:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern unsigned int sleep (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:481:3: note: conflicting prototype is here sleep(unsigned int) __DARWIN_ALIAS_C(sleep); ^ In file included from textfile.c:16: ./mined.h:234:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int access (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:431:6: note: conflicting prototype is here int access(const char *, int); ^ In file included from textfile.c:16: ./mined.h:236:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int close (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:437:6: note: conflicting prototype is here int close(int) __DARWIN_ALIAS_C(close); ^ In file included from textfile.c:16: ./mined.h:239:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int system (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:184:6: note: conflicting prototype is here int system(const char *) __DARWIN_ALIAS_C(system); ^ In file included from textfile.c:16: ./mined.h:240:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int isatty (); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:463:6: note: conflicting prototype is here int isatty(int); ^ In file included from textfile.c:16: ./mined.h:242:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int strcmp (); ^ In file included from textfile.c:23: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/dirent.h:80:2: error: use of undeclared identifier 'unused' __unused long __padding; /* (__dd_rewind space left for bincompat) */ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:169:40: note: expanded from macro '__unused' #define __unused __attribute__((__unused__)) ^ ./mined.h:202:35: note: expanded from macro '__unused__' #define __unused__ __attribute__((unused)) ^ textfile.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF8_len (c) ^ In file included from textfile.c:16: ./mined.h:889:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int UTF8_len _((char)); ^ textfile.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CJK_len (text) ^ In file included from textfile.c:16: ./mined.h:890:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int CJK_len _((character *)); ^ textfile.c:192:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_char (& string); ^ textfile.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char_count (string) ^ In file included from textfile.c:16: ./mined.h:891:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int char_count _((char *)); ^ textfile.c:212:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_char_scr (& string, & count, start); ^ textfile.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] col_count (string) ^ In file included from textfile.c:16: ./mined.h:892:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int col_count _((char *)); ^ textfile.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utf8_info (u, length, ucs) ^ In file included from textfile.c:16: ./mined.h:893:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void utf8_info _((char *, int *, unsigned long *)); ^ textfile.c:301:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] precede_char (& charpos, linebegin); ^ textfile.c:302:31: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prev_unichar = unicodevalue (charpos); ^ textfile.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isjoined (unichar, charpos, linebegin) ^ In file included from textfile.c:16: ./mined.h:894:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int isjoined _((unsigned long, char *, char *)); ^ textfile.c:323:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mapped_term && no_char (mappedtermchar (unichar))) { ^ textfile.c:323:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mapped_term && no_char (mappedtermchar (unichar))) { ^ textfile.c:327:64: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return isjoined (unichar, charpos, linebegin) || iscombining (unichar); ^ textfile.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iscombined (unichar, charpos, linebegin) ^ In file included from textfile.c:16: ./mined.h:895:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int iscombined _((unsigned long, char *, char *)); ^ textfile.c:334:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mapped_term && no_char (mappedtermchar (ucs))) { ^ textfile.c:334:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (mapped_term && no_char (mappedtermchar (ucs))) { ^ textfile.c:337:26: warning: passing arguments to 'term_iscombining' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return term_iscombining (ucs); ^ textfile.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iscombining (ucs) ^ In file included from textfile.c:16: ./mined.h:904:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int iscombining _((unsigned long ucs)); ^ textfile.c:356:22: warning: passing arguments to 'term_iswide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return term_iswide (ucs); ^ textfile.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] iswide (ucs) ^ In file included from textfile.c:16: ./mined.h:905:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int iswide _((unsigned long ucs)); ^ textfile.c:382:45: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjktermchar = mappedtermchar (unichar); ^ textfile.c:383:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (cjktermchar)) { ^ textfile.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uniscrwidth (unichar, charpos, linebegin) ^ In file included from textfile.c:16: ./mined.h:906:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int uniscrwidth _((unsigned long, char *, char *)); ^ textfile.c:424:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long unichar = lookup_encodedchar (cjkchar); ^ textfile.c:425:17: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_unichar (unichar) && ! valid_cjk (cjkchar, NIL_PTR)) { ^ textfile.c:425:42: warning: passing arguments to 'valid_cjk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (no_unichar (unichar) && ! valid_cjk (cjkchar, NIL_PTR)) { ^ textfile.c:445:24: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (no_unichar (unichar) && cjk_term) { ^ textfile.c:456:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long unichar = lookup_encodedchar (cjkchar); ^ textfile.c:457:19: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_unichar (unichar)) { ^ textfile.c:458:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cjktermchar = mappedtermchar (unichar); ^ textfile.c:459:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! no_char (cjktermchar)) { ^ textfile.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cjkscrwidth (cjkchar, charpos, linebegin) ^ In file included from textfile.c:16: ./mined.h:907:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int cjkscrwidth _((unsigned long, char *, char *)); ^ textfile.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_utf8 (poipoi) ^ In file included from textfile.c:16: ./mined.h:910:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void advance_utf8 _((char * *)); ^ textfile.c:505:22: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len = CJK_len (* poipoi); ^~~~~~~~ textfile.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_cjk (poipoi) ^ textfile.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_char (poipoi) ^ In file included from textfile.c:16: ./mined.h:912:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void advance_char _((char * *)); ^ textfile.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charbegin (line, s) ^ In file included from textfile.c:16: ./mined.h:908:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * charbegin _((char *, char *)); ^ textfile.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] precede_char (poipoi, begin_line) ^ In file included from textfile.c:16: ./mined.h:913:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void precede_char _((char * *, char *)); ^ textfile.c:606:14: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] utf8_info (poi, & len, & unichar); ^~~ textfile.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utf8value (poi) ^ In file included from textfile.c:16: ./mined.h:914:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned long utf8value _((character *)); ^ textfile.c:621:13: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] utf8_info (poi, & len, & unichar); ^~~ textfile.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] charvalue (poi) ^ In file included from textfile.c:16: ./mined.h:915:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned long charvalue _((character *)); ^ textfile.c:650:28: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return lookup_encodedchar (code); ^ textfile.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unicode (code) ^ In file included from textfile.c:16: ./mined.h:917:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned long unicode _((unsigned long)); ^ textfile.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unicodevalue (poi) ^ In file included from textfile.c:16: ./mined.h:916:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned long unicodevalue _((character *)); ^ textfile.c:681:20: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return charvalue (poi); ^~~ textfile.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] precedingchar (curpoi, begin_line) ^ In file included from textfile.c:16: ./mined.h:918:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned long precedingchar _((char *, char *)); ^ textfile.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_utf8_scr (poipoi, colpoi, linebegin) ^ In file included from textfile.c:16: ./mined.h:909:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void advance_utf8_scr _((char * *, int *, char *)); ^ textfile.c:724:21: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len = CJK_len (* poipoi); ^~~~~~~~ textfile.c:726:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (* colpoi) += cjkscrwidth (charvalue (* poipoi), * poipoi, linebegin); ^~~~~~~~ textfile.c:736:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long unichar = lookup_encodedchar ((character) * * poipoi); ^ textfile.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] advance_char_scr (poipoi, colpoi, linebegin) ^ In file included from textfile.c:16: ./mined.h:911:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void advance_char_scr _((char * *, int *, char *)); ^ textfile.c:784:20: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { ^ textfile.c:784:41: warning: passing arguments to 'isdash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { ^ textfile.c:784:76: warning: passing arguments to 'isopeningparenthesis' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { ^ textfile.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] opensquote (prevchar) ^ In file included from textfile.c:16: ./mined.h:919:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FLAG opensquote _((unsigned long prevchar)); ^ textfile.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isopeningquote (s, beg) ^ textfile.c:864:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style (s); ^ textfile.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_quote_style (c, s) ^ textfile.c:988:21: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (iswhitespace (prev_unichar)) { ^ textfile.c:1060:21: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (iswhitespace (prev_unichar)) { ^ textfile.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utf8_count (string) ^ textfile.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strcaseeq (s1, s2) ^ textfile.c:1142:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * bn = getbasename (file_name); ^ textfile.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line_gotten (ret) ^ In file included from textfile.c:31: ./textfile.h:40:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int line_gotten _((int ret)); ^ textfile.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_error (err) ^ textfile.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_errno (err) ^ textfile.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] max_cjk_count (cnt, tag) ^ textfile.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reset_get_line (from_text_file) ^ In file included from textfile.c:31: ./textfile.h:41:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void reset_get_line _((FLAG from_text_file /* consider UTF-16 ? */)); ^ textfile.c:1451:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 (get_line_error, " - <U+001F>Loading failed!<U+0018>"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:1453:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 (get_line_error, " - <U+001F>Inserting failed!<U+0018>"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF16_transform (little_endian, UTF8buf, maxbufl, next_byte_poi, fini_byte) ^ textfile.c:1549:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UTF16buf = alloc (filebuflen + 1); ^ textfile.c:1654: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 auto_detect_byte (curbyte, do_auto_detect) ^ textfile.c:2026:92: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_chars = UTF16_transform (utf16_little_endian, filebuf, filebuflen, & next_byte, fini_byte); ^~~~~~~~~ textfile.c:2067:16: warning: initializing 'character *' (aka 'unsigned char *') with an expression of type 'char[20481]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] character * epoi = filebuf; ^ ~~~~~~~ textfile.c:2071:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] * epoi = lookup_encodedchar (* epoi); ^ textfile.c:2089:30: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (":16", ' ', "BOM 16"); ^ textfile.c:2096:30: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (":61", ' ', "BOM 61"); ^ textfile.c:2123:31: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (":16", ' ', "detect 16"); ^ textfile.c:2127:31: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (":61", ' ', "detect 61"); ^ textfile.c:2153:32: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("CP1047", ' ', "detect EBCDIC"); ^ textfile.c:2180:90: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_chars = UTF16_transform (utf16_little_endian, filebuf, filebuflen, & next_byte, fini_byte); ^~~~~~~~~ textfile.c:2192:17: warning: initializing 'character *' (aka 'unsigned char *') with an expression of type 'char[20481]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] character * epoi = filebuf; ^ ~~~~~~~ textfile.c:2196:34: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] * epoi = lookup_encodedchar (* epoi); ^ textfile.c:2317:20: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && ! no_char (code_NL) && curbyte == code_NL) ^ textfile.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_line (fd, buffer, len, do_auto_detect) ^ In file included from textfile.c:31: ./textfile.h:44:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int get_line _((int fd, char * buffer, int * len, FLAG do_auto_detect)); ^ textfile.c:2422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] escape_filename (fn_escaped, fn) ^ textfile.c:2492:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & open_linum); ^ textfile.c:2493:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & open_col); ^ textfile.c:2498:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & lines_per_page); ^ textfile.c:2499:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & v4); ^ textfile.c:2502:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & v5); ^ textfile.c:2503:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & v6); ^ textfile.c:2514:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & vq); ^ textfile.c:2519:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("« »"); ^ textfile.c:2521:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("“†‘’"); ^ textfile.c:2523:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("„“ ‚‘"); ^ textfile.c:2525:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("«» ‹›"); ^ textfile.c:2527:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("»« ›‹"); ^ textfile.c:2529:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("„†‚’"); ^ textfile.c:2531:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("â€â€ ’’"); ^ textfile.c:2533:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("»» ››"); ^ textfile.c:2535:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style ("『〠「ã€"); ^ textfile.c:2537:20: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_type (default_quote_type); ^ textfile.c:2567:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style (qpoi); ^ textfile.c:2587:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & vt); ^ textfile.c:2601:14: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setKEYMAP (spoi); ^ textfile.c:2609:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] spoi = scan_int (spoi, & vtabexp); ^ textfile.c:2446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_open_pos (fn) ^ textfile.c:2642:34: warning: passing arguments to 'quote_mark' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] quote_style_marker = quote_mark (quote_type, 0); ^ textfile.c:2633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_open_pos (fd, fn) ^ textfile.c:2700:37: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct marker_entry * new = alloc (sizeof (struct marker_entry)); ^ textfile.c:2702:21: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->fn = dupstr (fn); ^ textfile.c:2703:23: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new->info = dupstr (info); ^ textfile.c:2712:25: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * _info = dupstr (info); ^ textfile.c:2715:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space ((* mlpoi)->info); ^ textfile.c:2694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] put_marker_list (mlpoi, fn, info) ^ textfile.c:2727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_marker_list (fd, ml) ^ textfile.c:2758:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space ((* mlpoi)->fn); ^ textfile.c:2759:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space ((* mlpoi)->info); ^ textfile.c:2760:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space (* mlpoi); ^ textfile.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_marker_list (mlpoi) ^ textfile.c:2841:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) scan_int (mf, & duml); ^ textfile.c:2859:18: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (delete_file (mark_file_in) < 0) { ^ textfile.c:2774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rewrite_open_pos (fn, force) ^ textfile.c:2895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_open_pos (fn, force) ^ textfile.c:2916:2: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Remembering file position", -1L, -1L); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ textfile.c:2918:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Error when saving file position to ", mark_file_out); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:2939:24: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (is_absolute_path (dir)) { ^ textfile.c:2936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_directory (dir) ^ textfile.c:2964:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * bn = getbasename (fn); ^ textfile.c:2953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_recovery_name (fn) ^ textfile.c:3028:24: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prefix = getbasename (file_name); ^ textfile.c:3051:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Cannot open directory ", dirname); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:3065:24: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] afterver = scan_int (suffix, & ver); ^ textfile.c:3075:24: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] afterver = scan_int (suffix, & ver); ^ textfile.c:3015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_backup_name (file_name) ^ textfile.c:3130:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * bn = getbasename (fn); ^ textfile.c:3126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_lockfile_name (fn) ^ textfile.c:3187:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if (rd > 0 && strisprefix ("!<symlink><FF><FE>", linkbuf)) { ^~~~~~~~ ./mined.h:1143:40: note: expanded from macro 'strisprefix' #define strisprefix(p, s) (strncmp (s, p, strlen (p)) == 0) ^ textfile.c:3187:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] if (rd > 0 && strisprefix ("!<symlink><FF><FE>", linkbuf)) { ^~~~~~~~ ./mined.h:1143:51: note: expanded from macro 'strisprefix' #define strisprefix(p, s) (strncmp (s, p, strlen (p)) == 0) ^ textfile.c:3191:56: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rd = UTF16_transform (True, target, size, & linkpoi, linkend); ^~~~~~~ textfile.c:3167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getsymboliclink (name, target, size) ^ textfile.c:3207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setlocktarget (target) ^ textfile.c:3268:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 ("", msg); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:3289:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 ("", "<U+001F>Notice:<U+0018> File has just been locked by someone; Unlock from File menu"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:3306:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Cannot lock file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:3324:19: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (delete_file (lf) < 0) { ^ textfile.c:3321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_lockfile (lf) ^ textfile.c:3347:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Unlocking ", file_name); ^ textfile.c:3451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_dev (fn, fsbufpoi) ^ textfile.c:3470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_changed (fn, fstatpoi) ^ textfile.c:3528:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 ("", "<U+001F>Notice:<U+0018> A newer recovery file exists; Recover from File menu"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:3514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_recovery_file (delay_msg) ^ textfile.c:3548:23: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_add (dupstr (file_name), False); ^ textfile.c:3548:15: warning: passing arguments to 'filelist_add' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_add (dupstr (file_name), False); ^ textfile.c:3552:25: warning: passing arguments to 'configure_preferences' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] configure_preferences (False); /* restoring initial preferences first */ ^ textfile.c:3561:23: warning: passing arguments to 'update_syntax_state' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_syntax_state (header->next); ^ textfile.c:3536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_file_name (newname, update_display, addtolist) ^ textfile.c:3588:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_space (line->text); ^ textfile.c:3589:15: warning: passing arguments to 'free_header' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_header (line); ^ textfile.c:3741:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (NIL_PTR, 'U', "load: U"); ^ textfile.c:3744:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (NIL_PTR, 'L', "load: L"); ^ textfile.c:3760:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (":??", ' ', "load: CJK"); ^ textfile.c:3770:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("VISCII", 'V', "detect"); ^ textfile.c:3774:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("CP1047", ' ', "detect"); ^ textfile.c:3778:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("CP1252", 'W', "detect"); ^ textfile.c:3781:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("CP850", 'P', "detect"); ^ textfile.c:3783:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding ("MacRoman", 'M', "detect"); ^ textfile.c:3793:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (NIL_PTR, max_cjk_tag, "detect CJK"); ^ textfile.c:3805:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (prev_text_encoding, ' ', "load: prev"); ^ textfile.c:3806:18: warning: passing arguments to 'change_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_encoding (new_text_encoding); ^ textfile.c:3607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encoding_auto_detection (empty, do_auto_detect) ^ textfile.c:3846:28: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line = line_insert_after (line, text_buffer, len, new_return_type); ^ textfile.c:3815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_file (fd, retpoi, do_auto_detect) ^ textfile.c:3968:18: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_type (default_quote_type); ^ textfile.c:3970:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_quote_style (preselect_quote_style); ^ textfile.c:3978:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg ("New file"); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:3988:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Accessing ", file); ^ textfile.c:4022:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Cannot edit char/block device file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:4028:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("New file ", file); ^ textfile.c:4069:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Cannot open: " /*, file */, serror ()); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:4083:24: warning: passing arguments to 'configure_preferences' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] configure_preferences (OPEN); /* restore command line options */ ^ textfile.c:4093:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) set_text_encoding (default_text_encoding, ' ', "load: def"); ^ textfile.c:4105:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] displaymenuline (False); ^ textfile.c:4131:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ textfile.c:4133:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ textfile.c:4136:9: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] pid = fork (); ^ textfile.c:19:14: note: expanded from macro 'fork' #define fork vfork ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ textfile.c:4141:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ textfile.c:4195:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ textfile.c:4202:49: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter wait error:<U+0018> ", serrorof (waiterr)); ^ textfile.c:4202:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter wait error:<U+0018> ", serrorof (waiterr)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4206:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 (filter_read, ": <U+001F>Failed to start filter<U+0018>"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4210:44: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter dumped:<U+0018> ", dec_out (status & 0x7F)); ^ textfile.c:4210:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter dumped:<U+0018> ", dec_out (status & 0x7F)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4214:45: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter aborted:<U+0018> ", dec_out (status & 0x7F)); ^ textfile.c:4214:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter aborted:<U+0018> ", dec_out (status & 0x7F)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4218:44: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter error:<U+0018> ", serrorof (status >> 8)); ^ textfile.c:4218:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter error:<U+0018> ", serrorof (status >> 8)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4226:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Reading ", file_name); ^ textfile.c:4228:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Reading ", file); ^ textfile.c:4253:27: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line = line_insert_after (line, "\n", 1, lineend_NONE); ^ textfile.c:4259:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog ("closing", "loaded file", ""); ^ textfile.c:4287:30: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line = line_insert_after (line, "\n", 1, default_lineend); ^ textfile.c:4300:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] displaymenuline (True); ^ textfile.c:4309:27: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] line = line_insert_after (tail->prev, "\n", -1, lineend_NONE); ^ textfile.c:4326:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Loaded", nr_of_bytes, nr_of_chars); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ textfile.c:4334:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("Reading failed (<U+001F>buffer incomplete<U+0018>): ", serror ()); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4336:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("Reading failed (<U+001F>could not load<U+0018>): ", serror ()); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4347:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reset (header->next, 0); /* Initialize pointers */ ^ textfile.c:4348:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (0, 0); ^ textfile.c:4353:29: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LINE * open_line = proceed (header->next, open_linum - 1); ^ textfile.c:4357:28: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (0, find_y_w_o_RD (open_line)); ^ textfile.c:4357:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (0, find_y_w_o_RD (open_line)); ^ textfile.c:4370:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_address (prev_cpoi, y); ^ textfile.c:4376:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_address (cpoi, y); ^ textfile.c:4380:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display (0, top_line, last_y, 0); ^ textfile.c:4384:4: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Loaded", nr_of_bytes, nr_of_chars); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ textfile.c:4386:4: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Loaded", nr_of_bytes, -1L); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ textfile.c:4389:9: warning: passing arguments to 'mark_n' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mark_n (0); ^ textfile.c:4391:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display (0, top_line, last_y, 0); ^ textfile.c:4392:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_to (0, 0); ^ textfile.c:3908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_file_position (file, aux, from_pipe, with_display, to_open_linum, to_open_pos) ^ textfile.c:4417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_file (file, aux, from_pipe, with_display) ^ textfile.c:4432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_wild_file (file, from_pipe, with_display) ^ In file included from textfile.c:31: ./textfile.h:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void load_wild_file _((char * file, FLAG from_pipe, FLAG with_display)); ^ textfile.c:4468:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Warning<U+0018>: <U+001F>New file appeared<U+0018> on disk", hint); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4470:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Warning<U+0018>: <U+001F>File was replaced<U+0018> on disk", hint); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4472:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Warning<U+0018>: File was modified meanwhile", hint); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4495:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Checking ", name); ^ textfile.c:4513:22: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = status2_prompt ("yn", name [0] ? name : "[unknown file]", ^ textfile.c:4515:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ textfile.c:4485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkoverwrite (name) ^ In file included from textfile.c:31: ./textfile.h:8:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FLAG checkoverwrite _((char *)); ^ textfile.c:4539:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_filename ("Enter new file name:", file, False) == ERRORS) { ^ textfile.c:4566:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ textfile.c:4596:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 ("", msg); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:4589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg_write_error (op) ^ textfile.c:4603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flush_filebuf (fd) ^ In file included from textfile.c:31: ./textfile.h:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int flush_filebuf _((int fd)); ^ textfile.c:4651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writechar (fd, c) ^ In file included from textfile.c:31: ./textfile.h:50:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int writechar _((int fd, char)); ^ textfile.c:4668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeucs (fd, c) ^ textfile.c:4710:18: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = encodedchar (c); ^ textfile.c:4701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writelechar (fd, c, handle_utf16) ^ textfile.c:4723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_lineend (fd, return_type, handle_utf16) ^ In file included from textfile.c:31: ./textfile.h:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int write_lineend _((int fd, lineend_type return_type, FLAG handle_utf16)); ^ textfile.c:4872:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = encodedchar (c); ^ textfile.c:4834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_line (fd, text, return_type, handle_utf16) ^ textfile.c:4961:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Flushing ", fn); ^ textfile.c:4974:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Closing ", fn); ^ textfile.c:4914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_file (fd, fn) ^ textfile.c:5039:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Copying to backup file ", backup_name); ^ textfile.c:5040:23: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backup_ok = copyfile (fn, backup_name); ^ textfile.c:5043:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Could not copy to backup file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5092:20: warning: passing arguments to 'progcallpp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) progcallpp (NIL_PTR, -1, (char * *) 0, ^ textfile.c:5029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_backup (fn) ^ In file included from textfile.c:31: ./textfile.h:9:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FLAG do_backup _((char *)); ^ textfile.c:5125:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_line ("Writing ", "to standard output"); ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:5129:14: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ textfile.c:5130:16: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ textfile.c:5136:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ textfile.c:5150:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("(Write not necessary)", -1L, -1L); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ textfile.c:5153:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_msg ("Write not necessary."); ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' #define status_msg(str) status_line (str, NIL_PTR) ^ ./mined.h:1157:21: note: expanded from macro 'status_line' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:5168:21: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = get_filename ("Saving edited text; Enter file name:", file_name2, False); ^ textfile.c:5194:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Not writing to char/block device file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5217:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Not writing to char/block device file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5227:33: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] character c = status2_prompt ("yn", file_name, ^ textfile.c:5234:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5265:17: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Opening to write ", file_name); ^ textfile.c:5290:19: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bn = getbasename (dir_name); ^ textfile.c:5306:65: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Trying to enable directory access after: ", serrorof (open_errno)); ^ textfile.c:5306:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Trying to enable directory access after: ", serrorof (open_errno)); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:5311:41: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Failed (cd ...): ", dec_out (sysres)); ^ textfile.c:5311:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Failed (cd ...): ", dec_out (sysres)); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:5323:74: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("File <U+001F>not accessible<U+0018> (retry or Save As...): ", serrorof (open_errno)); ^ textfile.c:5323:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("File <U+001F>not accessible<U+0018> (retry or Save As...): ", serrorof (open_errno)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5325:72: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("File <U+001F>not writable<U+0018> (retry or Save As...): ", serrorof (open_errno)); ^ textfile.c:5325:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("File <U+001F>not writable<U+0018> (retry or Save As...): ", serrorof (open_errno)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5328:71: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("Cannot create or write (try <U+001F>Save As...<U+0018>): ", serrorof (open_errno)); ^ textfile.c:5328:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("Cannot create or write (try <U+001F>Save As...<U+0018>): ", serrorof (open_errno)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5347:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Cannot create filter pipe: ", serror ()); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:5351:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ textfile.c:5353:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ textfile.c:5356:8: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] pid = fork (); ^ textfile.c:19:14: note: expanded from macro 'fork' #define fork vfork ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ textfile.c:5358:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ textfile.c:5359:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Cannot fork filter: ", serror ()); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:5412:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ textfile.c:5413:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5418:49: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter wait error:<U+0018> ", serrorof (waiterr)); ^ textfile.c:5418:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter wait error:<U+0018> ", serrorof (waiterr)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5421:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 (filter_write, ": <U+001F>Failed to start filter<U+0018>"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5424:44: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter dumped:<U+0018> ", dec_out (status & 0x7F)); ^ textfile.c:5424:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter dumped:<U+0018> ", dec_out (status & 0x7F)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5427:45: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter aborted:<U+0018> ", dec_out (status & 0x7F)); ^ textfile.c:5427:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter aborted:<U+0018> ", dec_out (status & 0x7F)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5430:44: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter error:<U+0018> ", serrorof (status >> 8)); ^ textfile.c:5430:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt ("<U+001F>Filter error:<U+0018> ", serrorof (status >> 8)); ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5436:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Writing ", file_name); ^ textfile.c:5438:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_file ("Written ", file_name); ^ textfile.c:5463:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fstatus ("Wrote", bytes_written, chars_written); ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) ^ textfile.c:5116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_text_pos (force_write, force_savepos, keep_screenmode) ^ textfile.c:5487:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (True); ^ textfile.c:5497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_text_load_file (fn) ^ In file included from textfile.c:31: ./textfile.h:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int save_text_load_file _((char * filename)); ^ textfile.c:5549:22: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] c = status2_prompt (do_recover ? "ynr" : "yn", ^ textfile.c:5556:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ask_save_recover_keepscreenmode (do_recover, keep_screenmode) ^ textfile.c:5613:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_filename (prompt, new_file, False) == ERRORS) { ^ textfile.c:5602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] edit_file (prompt, vomode) ^ textfile.c:5631:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("No recovery file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5638:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 ("", "<U+001F>Aborted<U+0018> file recovery"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5647:21: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) delete_file (rn); ^ textfile.c:5690:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 ("", "File is still view-only because it is locked; Unlock from File menu"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5693:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status_fmt2 ("", "File is still view-only after read error"); ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); ^ textfile.c:5708:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Cannot view only - already modified"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5743:14: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_string (save_file_name, file_name); ^ textfile.c:5757:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_for (searchstring, FORWARD, True); ^ textfile.c:5723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] view_help (helpfile, item) ^ In file included from textfile.c:31: ./textfile.h:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void view_help _((char * helpfile, char * item)); ^ textfile.c:5793:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ textfile.c:5794:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ textfile.c:5795:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putchar ('\n'); /* purpose unclear, causes visual distraction */ ^ ./mined.h:876:30: note: expanded from macro 'putchar' #define putchar(c) __putchar ((character) c) ^ textfile.c:5806:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] raw_mode (False); ^ textfile.c:5807:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_cursor (0, YMAX); ^ textfile.c:5811:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debuglog (0, 0, "close"); ^ textfile.c:5849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_get (i) ^ In file included from textfile.c:31: ./textfile.h:32:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * filelist_get _((int i)); ^ textfile.c:5869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_set_coord (line, left, right) ^ In file included from textfile.c:31: ./textfile.h:33:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void filelist_set_coord _((short line, int left, int right)); ^ textfile.c:5885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_search (line, col) ^ In file included from textfile.c:31: ./textfile.h:34:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * filelist_search _((short line, int col)); ^ textfile.c:5924:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] * flpoi = alloc (sizeof (struct fileentry)); ^ textfile.c:5905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_append (flpoi, fn, allowdups, versionbase, prevfl) ^ textfile.c:5939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_delete_next (flpoi, fn) ^ textfile.c:5965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_next (fl, fn) ^ textfile.c:5987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_prev (fl, fn) ^ textfile.c:6033:23: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] afterver = scan_int (suffix, & ver); ^ textfile.c:6008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backup_suffix (fn) ^ textfile.c:6048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filelist_add (fn, allowdups) ^ In file included from textfile.c:31: ./textfile.h:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void filelist_add _((char * fn, FLAG allowdups)); ^ textfile.c:6078:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("No files opened"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6083:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filemenu = alloc (filelist_count () * sizeof (menuitemtype)); ^ textfile.c:6085:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Cannot allocate memory for file menu"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6090:16: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fill_menuitem (& filemenu [fi ++], fl->fn, NIL_PTR); ^ textfile.c:6094:19: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fi = popup_menu (filemenu, filelist_count (), 0, 4, "Switch to file", True, False, "*"); ^ textfile.c:6171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] edit_this_file (fn) ^ textfile.c:6203:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Already at last file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6220:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("Already at first file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6233:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("No such file"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] edit_nth_file (n) ^ In file included from textfile.c:31: ./textfile.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void edit_nth_file _((int)); ^ textfile.c:6297:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error2 ("Identifier not found in tags file: ", idf); ^ ./mined.h:1167:21: note: expanded from macro 'error2' (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") ^ textfile.c:6303:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("No tags file present; apply the ctags command to your source files"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_tagline (idf, filename, search) ^ textfile.c:6320:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_string ("Enter identifier (to locate definition):", idf_buf, True, "") != FINE) { ^ ./mined.h:1171:14: note: expanded from macro 'get_string' bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) ^ textfile.c:6355:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error ("No include file name"); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6360:14: warning: passing arguments to 'get_idf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_idf (idf_buf, cur_text, cur_line->text) == ERRORS) { ^ textfile.c:6387:18: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) scan_int (search, & lineno); ^ textfile.c:6401:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clear_status (); ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") ^ textfile.c:6402:17: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_y (find_y (line)); ^ textfile.c:6402:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_y (find_y (line)); ^ textfile.c:6404:13: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_for (search, FORWARD, False); ^ textfile.c:6430:23: warning: passing arguments to 'systemcall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysres = systemcall (NIL_PTR, syscommand, 1); ^ textfile.c:6433:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error (err); ^ ./mined.h:1165:21: note: expanded from macro 'error' (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") ^ 402 warnings and 1 error generated. gmake[1]: *** [mkinclud.mak:555: ../bin/Darwin.x86_64/textfile.o] Error 1 gmake[1]: Leaving directory '/Users/pbulk/build/editors/mined/work/mined-2022.27/src' gmake: *** [makefile:9: mined] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/mined *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/editors/mined