>>> Building on exopi-4 under japanese/less DIST = [japanese/less:less-382.262.03.b.01.tar.gz] FULLPKGNAME = ja-less-382.262.03.b.01p1 distfiles size=412100 >>> Running build in japanese/less at 1752821106.51 ===> japanese/less ===> Building from scratch ja-less-382.262.03.b.01p1 ===> Verifying specs: c curses ===> found c.101.0 curses.16.0 ===> Checking files for ja-less-382.262.03.b.01p1 `/exopi-cvs/ports/distfiles/less-382.262.03.b.01.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for ja-less-382.262.03.b.01p1 ===> Patching for ja-less-382.262.03.b.01p1 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for ja-less-382.262.03.b.01p1 ===> Configuring for ja-less-382.262.03.b.01p1 Using /exopi-obj/pobj/ja-less-382.262.03.b.01/config.site (generated) configure: loading site script /exopi-obj/pobj/ja-less-382.262.03.b.01/config.site checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... none needed checking for library containing strerror... none required checking how to run the C preprocessor... cc -E checking for egrep... (cached) grep -E checking whether cc needs -traditional... no checking for a BSD-compatible install... /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for initscr in -lxcurses... no checking for initscr in -lncurses... yes checking for initscr in -lcurses... yes checking for tgetent in -ltermcap... yes checking for tgetent in -ltermlib... yes checking for regcmp in -lgen... no checking for regcmp in -lintl... no checking for regcmp in -lPW... no checking for working terminal libraries... using -lncurses checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for ctype.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for termio.h... (cached) no checking for termios.h... (cached) yes checking for time.h... (cached) yes checking for unistd.h... (cached) yes checking for values.h... (cached) no checking for sys/ioctl.h... (cached) yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/ptem.h usability... no checking sys/ptem.h presence... no checking for sys/ptem.h... no checking whether stat file-mode macros are broken... no checking for an ANSI C-conforming const... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for off_t... (cached) yes checking for void... yes checking for const... yes checking for time_t... yes checking return type of signal handlers... (cached) void checking for fsync... (cached) yes checking for memcpy... (cached) yes checking for popen... (cached) yes checking for _setjmp... yes checking for sigprocmask... (cached) yes checking for sigsetmask... (cached) yes checking for stat... (cached) yes checking for strchr... (cached) yes checking for strstr... (cached) yes checking for system... (cached) yes checking for tcgetattr... (cached) yes checking for fileno... yes checking for strerror... yes checking for sys_errlist... yes checking for sigset_t... yes checking for sigemptyset... yes checking for errno... yes - in errno.h checking for locale... yes checking for ctype functions... yes checking termcap for ospeed... yes - in termcap.h checking for regcomp... using POSIX regcomp decide to enable the MSB of non ASCII characters configure: creating ./config.status config.status: creating Makefile config.status: creating defines.h ===> Building for ja-less-382.262.03.b.01p1 test ! -f stamp-h || CONFIG_FILES= CONFIG_HEADERS=defines.h ./config.status touch stamp-h cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe main.c main.c:87:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | s = lgetenv("LESSSECURE"); | ^ main.c:125:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | s = lgetenv("LESS"); | ^ main.c:127:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | scan_option(save(s)); | ^ main.c:127:14: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | scan_option(save(s)); | ^ main.c:129:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | s = lgetenv("JLESS"); | ^ main.c:131:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | scan_option(save(s)); | ^ main.c:131:14: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | scan_option(save(s)); | ^ main.c:141:14: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | scan_option(s); | ^ main.c:152:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | quit(QUIT_OK); | ^ main.c:156:18: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | editor = lgetenv("VISUAL"); | ^ main.c:159:19: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | editor = lgetenv("EDITOR"); | ^ main.c:163:21: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | editproto = lgetenv("LESSEDIT"); | ^ main.c:174:20: warning: passing arguments to 'get_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | ifile = get_ifile(FAKE_HELPFILE, ifile); | ^ main.c:198:25: warning: passing arguments to 'shell_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | filename = shell_quote(*argv); | ^ main.c:202:19: warning: passing arguments to 'get_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | (void) get_ifile(filename, ifile); | ^ main.c:203:21: warning: passing arguments to 'prev_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | ifile = prev_ifile(NULL_IFILE); | ^ main.c:224:22: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | } while (edit_next(1) == 0); | ^ main.c:226:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | quit(QUIT_OK); | ^ main.c:230:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | error("WARNING: terminal is not fully functional", NULL_PARG); | ^ main.c:233:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | raw_mode(1); | ^ main.c:234:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | init_signals(1); | ^ main.c:250:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | error("No filenames allowed with -t option", NULL_PARG); | ^ main.c:251:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | quit(QUIT_ERROR); | ^ main.c:253:10: warning: passing arguments to 'findtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | findtag(tagoption); | ^ main.c:255:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | quit(QUIT_ERROR); | ^ main.c:262:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | quit(QUIT_ERROR); | ^ main.c:269:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | quit(QUIT_ERROR); | ^ main.c:273:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | quit(QUIT_ERROR); | ^ main.c:278:6: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | quit(QUIT_OK); | ^ main.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | main(argc, argv) | ^ main.c:293:22: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | p = (char *) ecalloc(strlen(s)+1, sizeof(char)); | ^ main.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | save(s) | ^ In file included from main.c:22: In file included from ./less.h:424: ./funcs.h:1:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1 | public char * save (); | ^ main.c:312:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | error("Cannot allocate memory", NULL_PARG); | ^ main.c:313:6: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | quit(QUIT_ERROR); | ^ main.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | ecalloc(count, size) | ^ In file included from main.c:22: In file included from ./less.h:424: ./funcs.h:2:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | public VOID_POINTER ecalloc (); | ^ main.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | skipsp(s) | ^ In file included from main.c:22: In file included from ./less.h:424: ./funcs.h:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | public char * skipsp (); | ^ main.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | sprefix(ps, s, uppercase) | ^ In file included from main.c:22: In file included from ./less.h:424: ./funcs.h:4:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | public int sprefix (); | ^ main.c:383:6: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | edit((char*)NULL); | ^ main.c:388:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | raw_mode(0); | ^ main.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | quit(status) | ^ In file included from main.c:22: In file included from ./less.h:424: ./funcs.h:5:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | public void quit (); | ^ cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe screen.c 45 warnings generated. screen.c:239:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 239 | extern char *tgetstr(); | ^ /usr/include/termcap.h:63:31: note: conflicting prototype is here 63 | extern NCURSES_EXPORT(char *) tgetstr (const char *, char **); | ^ screen.c:240:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 240 | extern char *tgoto(); | ^ /usr/include/termcap.h:64:31: note: conflicting prototype is here 64 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^ screen.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | raw_mode(on) | ^ In file included from screen.c:17: In file included from ./less.h:424: ./funcs.h:6:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | public void raw_mode (); | ^ screen.c:623:17: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | return (lgetenv(name)); | ^ screen.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | ltget_env(capname) | ^ screen.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | ltgetflag(capname) | ^ screen.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | ltgetnum(capname) | ^ screen.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | ltgetstr(capname, pp) | ^ screen.c:746:7: warning: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 746 | if (ioctl(2, TIOCGWINSZ, &w) == 0) | ^ screen.c:775:23: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | else if ((s = lgetenv("LINES")) != NULL) | ^ screen.c:786:23: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | else if ((s = lgetenv("COLUMNS")) != NULL) | ^ screen.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | special_key_str(key) | ^ In file included from screen.c:17: In file included from ./less.h:424: ./funcs.h:8:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | public char * special_key_str (); | ^ screen.c:1123:22: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | if ((term = lgetenv("TERM")) == NULL) | ^ screen.c:1229:8: warning: passing arguments to 'tmodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | tmodes("so", "se", &sc_s_in, &sc_s_out, "", "", &sp); | ^ screen.c:1230:8: warning: passing arguments to 'tmodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | tmodes("us", "ue", &sc_u_in, &sc_u_out, sc_s_in, sc_s_out, &sp); | ^ screen.c:1231:8: warning: passing arguments to 'tmodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | tmodes("md", "me", &sc_b_in, &sc_b_out, sc_s_in, sc_s_out, &sp); | ^ screen.c:1232:8: warning: passing arguments to 'tmodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | tmodes("mb", "me", &sc_bl_in, &sc_bl_out, sc_s_in, sc_s_out, &sp); | ^ screen.c:1262:19: warning: passing arguments to 'cheaper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | sc_home = cheaper(t1, t2, "|\b^"); | ^ screen.c:1279:25: warning: passing arguments to 'cheaper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | sc_lower_left = cheaper(t1, t2, "\r"); | ^ screen.c:1306:23: warning: passing arguments to 'cheaper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | sc_addline = cheaper(t1, t2, ""); | ^ screen.c:1329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | inc_costcount(c) | ^ screen.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | cost(t) | ^ screen.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | cheaper(t1, t2, def) | ^ screen.c:208:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 208 | static char *cheaper(); | ^ screen.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | tmodes(incap, outcap, instr, outstr, def_instr, def_outstr, spp) | ^ screen.c:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | static void tmodes(); | ^ screen.c:1559:10: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | putchr('\n'); | ^ screen.c:1873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1873 | goto_line(slinenum) | ^ In file included from screen.c:17: In file included from ./less.h:424: ./funcs.h:18:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | public void goto_line (); | ^ screen.c:2018:8: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | putchr(CONTROL('G')); | ^ cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe brac.c 32 warnings generated. brac.c:46:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | pos = position((forwdir) ? TOP : BOTTOM); | ^ brac.c:47:37: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (pos == NULL_POSITION || ch_seek(pos)) | ^ brac.c:50:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | error("Nothing in top line", NULL_PARG); | ^ brac.c:52:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | error("Nothing in bottom line", NULL_PARG); | ^ brac.c:64:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | error("No bracket in top line", NULL_PARG); | ^ brac.c:66:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | error("No bracket in bottom line", NULL_PARG); | ^ brac.c:96:17: warning: passing arguments to 'jump_line_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | jump_line_loc(ch_tell(), forwdir ? -1 : 1); | ^ brac.c:100:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | error("No matching bracket", NULL_PARG); | ^ brac.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | match_brac(obrac, cbrac, forwdir, n) | ^ In file included from brac.c:16: In file included from ./less.h:424: ./funcs.h:35:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | public void match_brac (); | ^ 10 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe ch.c ch.c:244:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | error("seek error", NULL_PARG); | ^ ch.c:267:12: warning: passing arguments to 'iread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | n = iread(ch_file, &bp->data[bp->datasize], | ^ ch.c:279:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | error("read error", NULL_PARG); | ^ ch.c:313:11: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | ierror("%s", &parg); | ^ ch.c:383:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | error("ch_ungetchar overrun", NULL_PARG); | ^ ch.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | ch_ungetchar(c) | ^ In file included from ch.c:18: In file included from ./less.h:424: ./funcs.h:36:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | public void ch_ungetchar (); | ^ ch.c:402:9: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | ierror("Finishing logfile", NULL_PARG); | ^ ch.c:442:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | error("Warning: log file is incomplete", | ^ ch.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | buffered(block) | ^ ch.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | ch_seek(pos) | ^ In file included from ch.c:18: In file included from ./less.h:424: ./funcs.h:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | public int ch_seek (); | ^ ch.c:524:22: warning: passing arguments to 'filesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | ch_fsize = filesize(ch_file); | ^ ch.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | ch_setbufspace(bufspace) | ^ In file included from ch.c:18: In file included from ./less.h:424: ./funcs.h:46:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | public void ch_setbufspace (); | ^ ch.c:694:21: warning: passing arguments to 'filesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | ch_fsize = filesize(ch_file); | ^ ch.c:724:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | error("seek error to 0", NULL_PARG); | ^ ch.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | seekable(f) | ^ In file included from ch.c:18: In file included from ./less.h:424: ./funcs.h:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | public int seekable (); | ^ ch.c:819:47: warning: passing arguments to 'get_filestate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | thisfile = (struct filestate *) get_filestate(curr_ifile); | ^ ch.c:842:16: warning: passing arguments to 'set_filestate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | set_filestate(curr_ifile, (void *) thisfile); | ^ ch.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | ch_init(f, flags) | ^ In file included from ch.c:18: In file included from ./less.h:424: ./funcs.h:49:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | public void ch_init (); | ^ ch.c:888:16: warning: passing arguments to 'set_filestate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | set_filestate(curr_ifile, (void *) NULL); | ^ 24 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe charset.c charset.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | search_charset(name) | ^ charset.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | left_codeset_of_charset(name) | ^ In file included from charset.c:23: In file included from ./less.h:424: ./funcs.h:53:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | public ENCSET left_codeset_of_charset (); | ^ charset.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | right_codeset_of_charset(name) | ^ In file included from charset.c:23: In file included from ./less.h:424: ./funcs.h:54:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | public ENCSET right_codeset_of_charset (); | ^ charset.c:595:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | error("invalid chardef", NULL_PARG); | ^ charset.c:596:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | quit(QUIT_ERROR); | ^ charset.c:604:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | error("chardef longer than 256", NULL_PARG); | ^ charset.c:605:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | quit(QUIT_ERROR); | ^ charset.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | ichardef(s) | ^ charset.c:648:18: warning: passing arguments to 'init_def_scs_es' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | init_def_scs_es(p->scs, p->input, p->inputr, p->output); | ^ charset.c:653:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | error("invalid charset name", NULL_PARG); | ^ charset.c:654:6: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | quit(QUIT_ERROR); | ^ charset.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | icharset(name) | ^ charset.c:714:17: warning: passing arguments to 'init_def_scs_es' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | init_def_scs_es(SCSASCII, ESNOCONV, ESNOCONV, ESNOCONV); | ^ charset.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | setbinfmt(s, fmtvarptr, default_fmt) | ^ charset.c:778:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | s = lgetenv("JLESSPLANESET"); | ^ charset.c:781:18: warning: passing arguments to 'set_planeset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | if (set_planeset(s) < 0) | ^ charset.c:783:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | error("invalid plane set", NULL_PARG); | ^ charset.c:784:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | quit(1); | ^ charset.c:818:16: warning: passing arguments to 'set_utfwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | set_utfwidth(p->uw); | ^ charset.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | init_utfwidth(s) | ^ charset.c:834:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | s = lgetenv("LESSBINFMT"); | ^ charset.c:837:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | s = lgetenv("LESSUTFBINFMT"); | ^ charset.c:840:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | s = lgetenv("JLESSUTFWIDTH"); | ^ charset.c:855:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | s = lgetenv("JLESSCHARSET"); | ^ charset.c:862:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | s = lgetenv("LESSCHARSET"); | ^ charset.c:868:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | s = lgetenv("LESSCHARDEF"); | ^ charset.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | binary_char(c) | ^ In file included from charset.c:23: In file included from ./less.h:424: ./funcs.h:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | public int binary_char (); | ^ charset.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | control_char(c) | ^ In file included from charset.c:23: In file included from ./less.h:424: ./funcs.h:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | public int control_char (); | ^ charset.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | change_control_char(c, flag) | ^ In file included from charset.c:23: In file included from ./less.h:424: ./funcs.h:59:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | public void change_control_char (); | ^ charset.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | prchar(c, cs) | ^ In file included from charset.c:23: In file included from ./less.h:424: ./funcs.h:60:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | public char * prchar (); | ^ 36 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe cmdbuf.c cmdbuf.c:121:14: warning: passing arguments to 'mwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | w += mwidth(*s++, cs); | ^ cmdbuf.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | strwidth(s, cs) | ^ cmdbuf.c:149:43: warning: passing arguments to 'left_codeset_of_charset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | set_codesets(mp, left_codeset_of_charset(s), | ^ cmdbuf.c:150:33: warning: passing arguments to 'right_codeset_of_charset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | right_codeset_of_charset(s)); | ^ cmdbuf.c:149:15: warning: passing arguments to 'set_codesets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | set_codesets(mp, left_codeset_of_charset(s), | ^ cmdbuf.c:151:16: warning: passing arguments to 'init_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | init_priority(mp); | ^ cmdbuf.c:153:15: warning: passing arguments to 'init_multibuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | init_multibuf(mp); | ^ cmdbuf.c:174:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | putstr(s); | ^ cmdbuf.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | cmd_putstr(s) | ^ In file included from cmdbuf.c:23: In file included from ./less.h:424: ./funcs.h:63:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | public void cmd_putstr (); | ^ cmdbuf.c:185:19: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | return (strlen_cs(cmdbuf, cmdcs)); | ^ cmdbuf.c:204:13: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | p = prchar(*cp, *csp); | ^ cmdbuf.c:207:11: warning: passing arguments to 'putmchrs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | putmchrs(p, *csp); | ^ cmdbuf.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | cmd_repaint(old_cp) | ^ cmdbuf.c:254:26: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | cols += strwidth(prchar(*s, *t), *t); | ^ cmdbuf.c:284:13: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | p = prchar(*--s, *--t); | ^ cmdbuf.c:312:12: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | p = prchar(*cp, *csp); | ^ cmdbuf.c:317:10: warning: passing arguments to 'putmchrs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | putmchrs(p, *csp); | ^ cmdbuf.c:343:12: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | p = prchar(cp[-1], csp[-1]); | ^ cmdbuf.c:368:15: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | if (strlen_cs(cmdbuf, cmdcs) >= (int)sizeof(cmdbuf)-5) | ^ cmdbuf.c:390:14: warning: passing arguments to 'multi_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | multi_parse(mp, c, NULL_POSITION, &mbd, NULL); | ^ cmdbuf.c:393:31: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | for ((s = &cmdbuf[strlen_cs(cmdbuf, cmdcs)]), | ^ cmdbuf.c:394:29: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | t = &cmdcs[strlen_cs(cmdbuf, cmdcs)]; | ^ cmdbuf.c:415:29: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | for ((s = &cmdbuf[strlen_cs(cmdbuf, cmdcs)]), | ^ cmdbuf.c:416:27: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | t = &cmdcs[strlen_cs(cmdbuf, cmdcs)]; | ^ cmdbuf.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | cmd_ichar(c) | ^ cmdbuf.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | set_mlist(mlist, cmdflags) | ^ In file included from cmdbuf.c:23: In file included from ./less.h:424: ./funcs.h:65:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | public void set_mlist (); | ^ cmdbuf.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | cmd_updown(action) | ^ cmdbuf.c:655:15: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | if (strlen_cs(cmd, cs) == 0) | ^ cmdbuf.c:673:32: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | ml = (struct mlist *) ecalloc(1, sizeof(struct mlist)); | ^ cmdbuf.c:674:25: warning: passing arguments to 'strdup_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | ml->string = strdup_cs(cmd, cs, &ml->charset); | ^ cmdbuf.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | cmd_addhist(mlist, cmd, cs) | ^ In file included from cmdbuf.c:23: In file included from ./less.h:424: ./funcs.h:66:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | public void cmd_addhist (); | ^ cmdbuf.c:745:19: warning: passing arguments to 'editchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | action = editchar(c, flags); | ^ cmdbuf.c:815:23: warning: passing arguments to 'cmd_complete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | return (cmd_complete(action)); | ^ cmdbuf.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | cmd_edit(c) | ^ cmdbuf.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | cmd_istr(str) | ^ cmdbuf.c:971:32: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | tk_original = (char *) ecalloc(cp-word+1, sizeof(char)); | ^ cmdbuf.c:982:22: warning: passing arguments to 'fcomplete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | tk_text = fcomplete(word); | ^ cmdbuf.c:985:28: warning: passing arguments to 'shell_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | char *qword = shell_quote(word+1); | ^ cmdbuf.c:987:23: warning: passing arguments to 'fcomplete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | tk_text = fcomplete(word+1); | ^ cmdbuf.c:990:23: warning: passing arguments to 'fcomplete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | tk_text = fcomplete(qword); | ^ cmdbuf.c:1008:24: warning: passing arguments to 'forw_textlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | return (forw_textlist(&tk_tlist, prev)); | ^ cmdbuf.c:1010:24: warning: passing arguments to 'back_textlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | return (back_textlist(&tk_tlist, prev)); | ^ cmdbuf.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | next_compl(action, prev) | ^ cmdbuf.c:1053:17: warning: passing arguments to 'init_textlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | init_textlist(&tk_tlist, tk_text); | ^ cmdbuf.c:1090:13: warning: passing arguments to 'is_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | if (is_dir(tk_trial)) | ^ cmdbuf.c:1094:15: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | s = lgetenv("LESSSEPARATOR"); | ^ cmdbuf.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | cmd_complete(action) | ^ cmdbuf.c:41:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static int cmd_complete(); | ^ cmdbuf.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | cmd_char(c) | ^ In file included from cmdbuf.c:23: In file included from ./less.h:424: ./funcs.h:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | public int cmd_char (); | ^ 53 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe command.c command.c:107:12: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | cmd_putstr(prompt); | ^ command.c:108:11: warning: passing arguments to 'set_mlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | set_mlist(mlist, cmdflags); | ^ command.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | start_mca(action, prompt, mlist, cmdflags) | ^ command.c:131:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | cmd_putstr("Non-match "); | ^ command.c:133:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | cmd_putstr("First-file "); | ^ command.c:135:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | cmd_putstr("EOF-ignore "); | ^ command.c:137:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | cmd_putstr("Keep-pos "); | ^ command.c:139:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | cmd_putstr("Regex-off "); | ^ command.c:142:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | cmd_putstr("/"); | ^ command.c:144:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | cmd_putstr("?"); | ^ command.c:145:11: warning: passing arguments to 'set_mlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | set_mlist(ml_search, 0); | ^ command.c:164:12: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | cmd_putstr(dash); | ^ command.c:166:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | cmd_putstr(dash); | ^ command.c:168:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | cmd_putstr("(P)"); | ^ command.c:172:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | cmd_putstr("+"); | ^ command.c:175:13: warning: passing arguments to 'cmd_putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | cmd_putstr("!"); | ^ command.c:178:11: warning: passing arguments to 'set_mlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | set_mlist(NULL, 0); | ^ command.c:198:15: warning: passing arguments to 'multi_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | multi_search(cbuf, csbuf, (int) number); | ^ command.c:211:26: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | every_first_cmd = save(cbuf); | ^ command.c:214:16: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | toggle_option(optchar, cbuf, optflag); | ^ command.c:218:13: warning: passing arguments to 'match_brac' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | match_brac(cbuf[0], cbuf[1], 1, (int) number); | ^ command.c:221:13: warning: passing arguments to 'match_brac' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | match_brac(cbuf[1], cbuf[0], 0, (int) number); | ^ command.c:227:12: warning: passing arguments to 'edit_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | edit_list(cbuf); | ^ command.c:245:22: warning: passing arguments to 'fexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | shellcmd = fexpand(cbuf); | ^ command.c:251:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | lsystem("", "!done"); | ^ command.c:253:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | lsystem(shellcmd, "!done"); | ^ command.c:260:19: warning: passing arguments to 'pipe_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | (void) pipe_mark(pipec, cbuf); | ^ command.c:261:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | error("|done", NULL_PARG); | ^ command.c:302:13: warning: passing arguments to 'editchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | editchar(c, EC_PEEK|EC_NOHISTORY|EC_NOCOMPLETE|EC_NORIGHTLEFT) == A_INVALID) | ^ command.c:389:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | error("There is no --%s option", &parg); | ^ command.c:411:17: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if (cmd_char(c) == CC_QUIT) | ^ command.c:415:21: warning: passing arguments to 'findopt_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | o = findopt_name(&p, &oname, NULL); | ^ command.c:433:19: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | if (cmd_char(c) != CC_OK) | ^ command.c:450:25: warning: passing arguments to 'single_char_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | single_char_option(c)) | ^ command.c:452:17: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | toggle_option(c, "", optflag); | ^ command.c:458:22: warning: passing arguments to 'opt_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | if ((p = opt_prompt(c)) == NULL) | ^ command.c:531:14: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | if (cmd_char(c) == CC_QUIT) | ^ command.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | mca_char(c) | ^ command.c:572:12: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | jump_loc(ch_zero(), 1); | ^ command.c:574:12: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | jump_loc(initial_scrpos.pos, initial_scrpos.ln); | ^ command.c:606:22: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | bottompos = position(BOTTOM_PLUS_ONE); | ^ command.c:613:16: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | next_ifile(curr_ifile) == NULL_IFILE) | ^ command.c:614:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | quit(QUIT_OK); | ^ command.c:639:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | putchr(':'); | ^ command.c:643:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | putstr(p); | ^ command.c:657:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | error("less %s", &parg); | ^ command.c:725:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | error("ungetcc overflow", NULL_PARG); | ^ command.c:726:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | quit(QUIT_ERROR); | ^ command.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | ungetcc(c) | ^ In file included from command.c:22: In file included from ./less.h:424: ./funcs.h:75:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | public void ungetcc (); | ^ command.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | ungetsc(s) | ^ In file included from command.c:22: In file included from ./less.h:424: ./funcs.h:76:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | public void ungetsc (); | ^ command.c:775:16: warning: passing arguments to 'unsave_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | unsave_ifile(save_ifile); | ^ command.c:784:13: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | n = search(search_type, pattern, charset, n); | ^ command.c:796:16: warning: passing arguments to 'unsave_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | unsave_ifile(save_ifile); | ^ command.c:817:22: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | nomore = edit_next(1); | ^ command.c:819:22: warning: passing arguments to 'edit_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | nomore = edit_prev(1); | ^ command.c:830:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | error("Pattern not found", NULL_PARG); | ^ command.c:837:15: warning: passing arguments to 'reedit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | reedit_ifile(save_ifile); | ^ command.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | multi_search(pattern, charset, n) | ^ command.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void multi_search(); | ^ command.c:878:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | quit(QUIT_SAVED_STATUS); | ^ command.c:947:17: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | if (cmd_char(c) == CC_QUIT || len_cmdbuf() == 0) | ^ command.c:965:24: warning: passing arguments to 'fcmd_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | action = fcmd_decode(cbuf, &extra); | ^ command.c:1005:16: warning: passing arguments to 'set_attnpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | set_attnpos(bottompos); | ^ command.c:1006:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | forward((int) number, 0, 1); | ^ command.c:1023:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | backward((int) number, 0, 1); | ^ command.c:1034:16: warning: passing arguments to 'set_attnpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | set_attnpos(bottompos); | ^ command.c:1035:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | forward((int) number, 0, 0); | ^ command.c:1045:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | backward((int) number, 0, 0); | ^ command.c:1056:16: warning: passing arguments to 'set_attnpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | set_attnpos(bottompos); | ^ command.c:1057:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | forward((int) number, 1, 0); | ^ command.c:1067:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | backward((int) number, 1, 0); | ^ command.c:1078:16: warning: passing arguments to 'set_attnpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | set_attnpos(bottompos); | ^ command.c:1079:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | forward((int) number, 1, 0); | ^ command.c:1093:12: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | forward(1, 0, 0); | ^ command.c:1112:16: warning: passing arguments to 'set_attnpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | set_attnpos(bottompos); | ^ command.c:1113:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | forward(wscroll, 0, 0); | ^ command.c:1124:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | backward(wscroll, 0, 0); | ^ command.c:1156:13: warning: passing arguments to 'jump_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | jump_back(number); | ^ command.c:1168:16: warning: passing arguments to 'jump_percent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | jump_percent((int) number); | ^ command.c:1179:14: warning: passing arguments to 'jump_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | jump_back(number); | ^ command.c:1189:17: warning: passing arguments to 'jump_line_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | jump_line_loc((POSITION) number, jump_sline); | ^ command.c:1200:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | error("%s", &parg); | ^ command.c:1223:18: warning: passing arguments to 'edit_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | if (edit_prev(1) == 0) | ^ command.c:1227:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | quit(*extra); | ^ command.c:1228:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | quit(QUIT_OK); | ^ command.c:1312:15: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | (void) edit(FAKE_HELPFILE); | ^ command.c:1322:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | error("Command not available", NULL_PARG); | ^ command.c:1325:38: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1325 | start_mca(A_EXAMINE, "Examine: ", ml_examine, 0); | ^~~~~~~~~~ command.c:1340:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | error("Command not available", NULL_PARG); | ^ command.c:1345:27: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | if (strcmp(get_filename(curr_ifile), "-") == 0) | ^ command.c:1347:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | error("Cannot edit standard input", NULL_PARG); | ^ command.c:1352:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | error("Cannot edit file processed with LESSOPEN", | ^ command.c:1356:28: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1356 | start_mca(A_SHELL, "!", ml_shell, 0); | ^~~~~~~~ command.c:1365:21: warning: passing arguments to 'pr_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | lsystem(pr_expand(editproto, 0), (char*)NULL); | ^ command.c:1365:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | lsystem(pr_expand(editproto, 0), (char*)NULL); | ^ command.c:1379:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | error("No next file", NULL_PARG); | ^ command.c:1385:17: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | if (edit_next((int) number)) | ^ command.c:1389:10: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | quit(QUIT_OK); | ^ command.c:1391:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | error("No %snext file", &parg); | ^ command.c:1402:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | error("No previous file", NULL_PARG); | ^ command.c:1408:17: warning: passing arguments to 'edit_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | if (edit_prev((int) number)) | ^ command.c:1411:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | error("No %sprevious file", &parg); | ^ command.c:1419:21: warning: passing arguments to 'nexttag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | tagfile = nexttag((int) number); | ^ command.c:1422:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | error("No next tag", NULL_PARG); | ^ command.c:1425:12: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | if (edit(tagfile) == 0) | ^ command.c:1429:14: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | jump_loc(pos, jump_sline); | ^ command.c:1440:21: warning: passing arguments to 'prevtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | tagfile = prevtag((int) number); | ^ command.c:1443:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | error("No previous tag", NULL_PARG); | ^ command.c:1446:12: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | if (edit(tagfile) == 0) | ^ command.c:1450:14: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | jump_loc(pos, jump_sline); | ^ command.c:1463:18: warning: passing arguments to 'edit_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | if (edit_index((int) number)) | ^ command.c:1464:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | error("No such file", NULL_PARG); | ^ command.c:1471:28: warning: passing arguments to 'getoff_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | new_ifile = getoff_ifile(curr_ifile); | ^ command.c:1477:18: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | if (edit_ifile(new_ifile) != 0) | ^ command.c:1479:17: warning: passing arguments to 'reedit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | reedit_ifile(old_ifile); | ^ command.c:1482:13: warning: passing arguments to 'del_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | del_ifile(old_ifile); | ^ command.c:1517:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | error("Command not available", NULL_PARG); | ^ command.c:1520:28: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1520 | start_mca(A_SHELL, "!", ml_shell, 0); | ^~~~~~~~ command.c:1539:11: warning: passing arguments to 'setmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | setmark(c); | ^ command.c:1551:10: warning: passing arguments to 'gomark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1551 | gomark(c); | ^ command.c:1558:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1558 | error("Command not available", NULL_PARG); | ^ command.c:1567:15: warning: passing arguments to 'badmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | if (badmark(c)) | ^ command.c:1570:27: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1570 | start_mca(A_PIPE, "!", ml_shell, 0); | ^~~~~~~~ command.c:1617:20: warning: passing arguments to 'cmd_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | (void) cmd_char(c); | ^ command.c:1625:36: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | rotate_right_codeset(get_mulbuf(curr_ifile)); | ^ command.c:1625:25: warning: passing arguments to 'rotate_right_codeset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | rotate_right_codeset(get_mulbuf(curr_ifile)); | ^ command.c:1628:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | error("%s codeset is used in right plane", &parg); | ^ 129 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe decode.c decode.c:271:26: warning: passing arguments to 'special_key_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | repl = special_key_str(fm[1]); | ^ decode.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | expand_special_keys(table, len) | ^ decode.c:305:16: warning: passing arguments to 'add_fcmd_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | add_fcmd_table((char*)cmdtable, sizeof(cmdtable)); | ^ decode.c:306:16: warning: passing arguments to 'add_ecmd_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | add_ecmd_table((char*)edittable, sizeof(edittable)); | ^ decode.c:313:15: warning: passing arguments to 'add_hometable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | add_hometable(NULL, BINDIR "/.sysless", 1); | ^ decode.c:318:15: warning: passing arguments to 'add_hometable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | add_hometable("LESSKEY_SYSTEM", LESSKEYFILE_SYS, 1); | ^ decode.c:322:15: warning: passing arguments to 'add_hometable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | add_hometable("LESSKEY", LESSKEYFILE, 0); | ^ decode.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | add_cmd_table(tlist, buf, len) | ^ decode.c:365:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | error("Warning: some commands disabled", NULL_PARG); | ^ decode.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | add_fcmd_table(buf, len) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:79:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | public void add_fcmd_table (); | ^ decode.c:377:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | error("Warning: some edit commands disabled", NULL_PARG); | ^ decode.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | add_ecmd_table(buf, len) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:80:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | public void add_ecmd_table (); | ^ decode.c:390:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | error("Warning: environment variables from lesskey file unavailable", NULL_PARG); | ^ decode.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | add_var_table(tlist, buf, len) | ^ decode.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | cmd_search(cmd, table, endtable, sp) | ^ decode.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | cmd_decode(tlist, cmd, sp) | ^ decode.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | fcmd_decode(cmd, sp) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | public int fcmd_decode (); | ^ decode.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | ecmd_decode(cmd, sp) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | public int ecmd_decode (); | ^ decode.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | lgetenv(var) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:83:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | public char * lgetenv (); | ^ decode.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | gint(sp) | ^ decode.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | old_lesskey(buf, len) | ^ decode.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | new_lesskey(buf, len, sysvar) | ^ decode.c:667:26: warning: passing arguments to 'shell_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | filename = shell_unquote(filename); | ^ decode.c:681:16: warning: passing arguments to 'filesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | len = filesize(f); | ^ decode.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | lesskey(filename, sysvar) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | public int lesskey (); | ^ decode.c:732:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | filename = save(filename); | ^ decode.c:734:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | filename = save(def_filename); | ^ decode.c:736:22: warning: passing arguments to 'homefile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | filename = homefile(def_filename); | ^ decode.c:742:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | error("Cannot use lesskey file \"%s\"", &parg); | ^ decode.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | add_hometable(envname, def_filename, sysvar) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | public void add_hometable (); | ^ decode.c:840:11: warning: passing arguments to 'ungetcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | ungetcc(usercmd[--nch]); | ^ decode.c:845:11: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | ungetsc(s); | ^ decode.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | editchar(c, flags) | ^ In file included from decode.c:39: In file included from ./less.h:424: ./funcs.h:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | public int editchar (); | ^ 41 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe edit.c edit.c:63:24: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | tlist->string = skipsp(str); | ^ edit.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | init_textlist(tlist, str) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:87:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | public void init_textlist (); | ^ edit.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | forw_textlist(tlist, prev) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:88:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | public char * forw_textlist (); | ^ edit.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | back_textlist(tlist, prev) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:89:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | public char * back_textlist (); | ^ edit.c:159:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | get_scrpos(&scrpos); | ^ edit.c:162:12: warning: passing arguments to 'store_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | store_pos(curr_ifile, &scrpos); | ^ edit.c:175:47: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | close_altfile(curr_altfilename, get_filename(curr_ifile), | ^ edit.c:175:16: warning: passing arguments to 'close_altfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | close_altfile(curr_altfilename, get_filename(curr_ifile), | ^ edit.c:193:21: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | return (edit_ifile(NULL_IFILE)); | ^ edit.c:194:30: warning: passing arguments to 'get_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | return (edit_ifile(get_ifile(filename, curr_ifile))); | ^ edit.c:194:20: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | return (edit_ifile(get_ifile(filename, curr_ifile))); | ^ edit.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | edit(filename) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | public int edit (); | ^ edit.c:240:44: warning: passing arguments to 'held_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | if ((chflags & CH_HELPFILE) && held_ifile(was_curr_ifile) <= 1) | ^ edit.c:245:13: warning: passing arguments to 'del_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | del_ifile(was_curr_ifile); | ^ edit.c:258:15: warning: passing arguments to 'unsave_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | unsave_ifile(was_curr_ifile); | ^ edit.c:262:30: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | filename = save(get_filename(ifile)); | ^ edit.c:262:17: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | filename = save(get_filename(ifile)); | ^ edit.c:267:29: warning: passing arguments to 'open_altfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | alt_filename = open_altfile(filename, &f, &alt_pipe); | ^ edit.c:269:32: warning: passing arguments to 'shell_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | qopen_filename = shell_unquote(open_filename); | ^ edit.c:306:38: warning: passing arguments to 'bad_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | } else if ((parg.p_string = bad_file(open_filename)) != NULL) | ^ edit.c:311:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | error("%s", &parg); | ^ edit.c:316:17: warning: passing arguments to 'close_altfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | close_altfile(alt_filename, filename, alt_pipe); | ^ edit.c:319:12: warning: passing arguments to 'del_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | del_ifile(ifile); | ^ edit.c:325:15: warning: passing arguments to 'reedit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | reedit_ifile(was_curr_ifile); | ^ edit.c:332:32: warning: passing arguments to 'errno_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | parg.p_string = errno_message(filename); | ^ edit.c:333:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | error("%s", &parg); | ^ edit.c:339:29: warning: passing arguments to 'opened' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | if (!force_open && !opened(ifile) && bin_file(f)) | ^ edit.c:339:48: warning: passing arguments to 'bin_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | if (!force_open && !opened(ifile) && bin_file(f)) | ^ edit.c:346:18: warning: passing arguments to 'query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | answer = query("\"%s\" may be a binary file. See it anyway? ", | ^ edit.c:364:15: warning: passing arguments to 'unsave_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | unsave_ifile(was_curr_ifile); | ^ edit.c:369:10: warning: passing arguments to 'set_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | set_open(curr_ifile); /* File has been opened */ | ^ edit.c:370:9: warning: passing arguments to 'get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | get_pos(curr_ifile, &initial_scrpos); | ^ edit.c:372:26: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | init_multibuf(get_mulbuf(curr_ifile)); | ^ edit.c:372:15: warning: passing arguments to 'init_multibuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | init_multibuf(get_mulbuf(curr_ifile)); | ^ edit.c:375:9: warning: passing arguments to 'ch_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | ch_init(f, chflags); | ^ edit.c:381:15: warning: passing arguments to 'use_logfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | use_logfile(namelogfile); | ^ edit.c:384:11: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | ungetsc(every_first_cmd); | ^ edit.c:405:14: warning: passing arguments to 'cmd_addhist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | cmd_addhist(ml_examine, filename, NULL); | ^ edit.c:415:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | error("%s", &parg); | ^ edit.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | edit_ifile(ifile) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | public int edit_ifile (); | ^ edit.c:452:20: warning: passing arguments to 'lglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | gfilelist = lglob(filename); | ^ edit.c:458:33: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | good_filename = get_filename(curr_ifile); | ^ edit.c:467:15: warning: passing arguments to 'unsave_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | unsave_ifile(save_ifile); | ^ edit.c:470:15: warning: passing arguments to 'get_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | if (get_ifile(good_filename, curr_ifile) == curr_ifile) | ^ edit.c:475:15: warning: passing arguments to 'unsave_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | unsave_ifile(save_ifile); | ^ edit.c:478:14: warning: passing arguments to 'reedit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | reedit_ifile(save_ifile); | ^ edit.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | edit_list(filelist) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | public int edit_list (); | ^ edit.c:489:19: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | return (edit_next(1)); | ^ edit.c:499:19: warning: passing arguments to 'edit_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | return (edit_prev(1)); | ^ edit.c:519:32: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | next = (dir > 0) ? next_ifile(h) : prev_ifile(h); | ^ edit.c:519:48: warning: passing arguments to 'prev_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | next = (dir > 0) ? next_ifile(h) : prev_ifile(h); | ^ edit.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | edit_istep(h, n, dir) | ^ edit.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | edit_inext(h, n) | ^ edit.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | edit_next(n) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | public int edit_next (); | ^ edit.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | edit_iprev(h, n) | ^ edit.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | edit_prev(n) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | public int edit_prev (); | ^ edit.c:590:22: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | if ((h = next_ifile(h)) == NULL_IFILE) | ^ edit.c:597:20: warning: passing arguments to 'get_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | } while (get_index(h) != n); | ^ edit.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | edit_index(n) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | public int edit_index (); | ^ edit.c:606:13: warning: passing arguments to 'hold_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | hold_ifile(curr_ifile, 1); | ^ edit.c:615:13: warning: passing arguments to 'hold_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | hold_ifile(save_ifile, -1); | ^ edit.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | unsave_ifile(save_ifile) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:99:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | public void unsave_ifile (); | ^ edit.c:635:19: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | next = next_ifile(save_ifile); | ^ edit.c:636:19: warning: passing arguments to 'prev_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | prev = prev_ifile(save_ifile); | ^ edit.c:652:6: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | quit(QUIT_ERROR); | ^ edit.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | reedit_ifile(save_ifile) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:100:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | public void reedit_ifile (); | ^ edit.c:663:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | error("Missing filename (\"less --help\" for help)", NULL_PARG); | ^ edit.c:664:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | quit(QUIT_OK); | ^ edit.c:679:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | putchr(c); | ^ edit.c:707:26: warning: passing arguments to 'shell_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | filename = shell_unquote(filename); | ^ edit.c:728:17: warning: passing arguments to 'query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | answer = query("Warning: \"%s\" exists; Overwrite, Append or Don't log? ", &parg); | ^ edit.c:758:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | quit(QUIT_OK); | ^ edit.c:764:17: warning: passing arguments to 'query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | answer = query("Overwrite, Append, or Don't log? (Type \"O\", \"A\", \"D\" or \"q\") ", NULL_PARG); | ^ edit.c:774:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | error("Cannot write to \"%s\"", &parg); | ^ edit.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | use_logfile(filename) | ^ In file included from edit.c:12: In file included from ./less.h:424: ./funcs.h:103:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | public void use_logfile (); | ^ 87 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe filename.c filename.c:77:29: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | name = p = (char *) ecalloc(strlen(str)+1, sizeof(char)); | ^ filename.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | shell_unquote(str) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:104:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | public char * shell_unquote (); | ^ filename.c:114:13: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | s = lgetenv("LESSMETAESCAPE"); | ^ filename.c:130:19: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | mchars = lgetenv("LESSMETACHARS"); | ^ filename.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | metachar(c) | ^ filename.c:201:31: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | newstr = p = (char *) ecalloc(len, sizeof(char)); | ^ filename.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | shell_quote(s) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:106:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | public char * shell_quote (); | ^ filename.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | dirfile(dirname, filename) | ^ filename.c:277:28: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | pathname = dirfile(lgetenv("HOME"), filename); | ^ filename.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | homefile(filename) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:107:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | public char * homefile (); | ^ filename.c:358:30: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | n += strlen(get_filename(ifile)); | ^ filename.c:371:22: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | e = (char *) ecalloc(n+1, sizeof(char)); | ^ filename.c:393:29: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | strcpy(to, get_filename(ifile)); | ^ filename.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | fexpand(s) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:108:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | public char * fexpand (); | ^ filename.c:449:25: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | fpat = (char *) ecalloc(len, sizeof(char)); | ^ filename.c:453:12: warning: passing arguments to 'lglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | qs = lglob(fpat); | ^ filename.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | fcomplete(s) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:109:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | public char * fcomplete (); | ^ filename.c:481:15: warning: passing arguments to 'seekable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | if (!seekable(f)) | ^ filename.c:487:18: warning: passing arguments to 'binary_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | if (binary_char(data[i])) | ^ filename.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | bin_file(f) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | public int bin_file (); | ^ filename.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | seek_filesize(f) | ^ filename.c:525:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | buf = (char *) ecalloc(len, sizeof(char)); | ^ filename.c:538:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | p = (char *) ecalloc(len, sizeof(char)); | ^ filename.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | readfd(fd) | ^ filename.c:554:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 554 | FILE *popen(); | ^ /usr/include/stdio.h:236:7: note: conflicting prototype is here 236 | FILE *popen(const char *, const char *); | ^ filename.c:569:17: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | shell = lgetenv("SHELL"); | ^ filename.c:586:27: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | scmd = (char *) ecalloc(len + 5, sizeof(char)); | ^ filename.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | shellcmd(cmd) | ^ filename.c:752:20: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | lessecho = lgetenv("LESSECHO"); | ^ filename.c:759:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | cmd = (char *) ecalloc(len, sizeof(char)); | ^ filename.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | lglob(filename) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:111:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | public char * lglob (); | ^ filename.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | easy_lessopen_for_compressedfile(filename) | ^ filename.c:851:14: warning: passing arguments to 'ch_ungetchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | ch_ungetchar(-1); | ^ filename.c:852:25: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | if ((lessopen = lgetenv("LESSOPEN")) == NULL) | ^ filename.c:875:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | cmd = (char *) ecalloc(len, sizeof(char)); | ^ filename.c:906:15: warning: passing arguments to 'ch_ungetchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | ch_ungetchar(c); | ^ filename.c:909:15: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | return (save("-")); | ^ filename.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | open_altfile(filename, pf, pfd) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:112:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | public char * open_altfile (); | ^ filename.c:951:26: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if ((lessclose = lgetenv("LESSCLOSE")) == NULL) | ^ filename.c:953:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | cmd = (char *) ecalloc(strlen(lessclose) + strlen(filename) + | ^ filename.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | close_altfile(altfilename, filename, pipefd) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:113:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | public void close_altfile (); | ^ filename.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | is_dir(filename) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | public int is_dir (); | ^ filename.c:1013:23: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | m = (char *) ecalloc(strlen(filename) + sizeof(is_a_dir), | ^ filename.c:1026:21: warning: passing arguments to 'errno_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | m = errno_message(filename); | ^ filename.c:1033:24: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | m = (char *) ecalloc(strlen(filename) + sizeof(not_reg), | ^ filename.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | bad_file(filename) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:115:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | public char * bad_file (); | ^ filename.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | filesize(f) | ^ In file included from filename.c:23: In file included from ./less.h:424: ./funcs.h:116:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | public POSITION filesize (); | ^ 59 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe forwback.c forwback.c:69:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | pos = position(BOTTOM_PLUS_ONE); | ^ forwback.c:143:16: warning: passing arguments to 'add_forw_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | add_forw_pos(pos); | ^ forwback.c:153:22: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | if (pos != position(BOTTOM_PLUS_ONE) || empty_screen()) | ^ forwback.c:161:16: warning: passing arguments to 'add_forw_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | add_forw_pos(pos); | ^ forwback.c:170:11: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | putstr("...skipping...\n"); | ^ forwback.c:195:19: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | pos = forw_line(pos); | ^ forwback.c:205:27: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | if (!force && position(TOP) != NULL_POSITION) | ^ forwback.c:207:21: warning: passing arguments to 'empty_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if (!empty_lines(0, 0) && | ^ forwback.c:208:21: warning: passing arguments to 'empty_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | !empty_lines(1, 1) && | ^ forwback.c:209:21: warning: passing arguments to 'empty_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | empty_lines(2, sc_height-1)) | ^ forwback.c:217:15: warning: passing arguments to 'add_forw_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | add_forw_pos(pos); | ^ forwback.c:267:17: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | (void) currline(BOTTOM); | ^ forwback.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | forw(n, pos, force, only_last, nblank) | ^ In file included from forwback.c:17: In file included from ./less.h:424: ./funcs.h:118:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | public void forw (); | ^ forwback.c:291:18: warning: passing arguments to 'back_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | pos = back_line(pos); | ^ forwback.c:304:15: warning: passing arguments to 'add_back_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | add_back_pos(pos); | ^ forwback.c:319:17: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | (void) currline(BOTTOM); | ^ forwback.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | back(n, pos, force, only_last) | ^ In file included from forwback.c:17: In file included from ./less.h:424: ./funcs.h:119:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | public void back (); | ^ forwback.c:340:16: warning: passing arguments to 'edit_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | if (edit_next(1)) | ^ forwback.c:341:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | quit(QUIT_OK); | ^ forwback.c:345:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | pos = position(BOTTOM_PLUS_ONE); | ^ forwback.c:346:52: warning: passing arguments to 'empty_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | if (pos == NULL_POSITION && (!force || empty_lines(2, sc_height-1))) | ^ forwback.c:361:22: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | back(1, position(TOP), 1, 0); | ^ forwback.c:362:20: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | pos = position(BOTTOM_PLUS_ONE); | ^ forwback.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | forward(n, force, only_last) | ^ In file included from forwback.c:17: In file included from ./less.h:424: ./funcs.h:120:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | public void forward (); | ^ forwback.c:387:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | pos = position(TOP); | ^ forwback.c:388:49: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | if (pos == NULL_POSITION && (!force || position(BOTTOM) == 0)) | ^ forwback.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | backward(n, force, only_last) | ^ In file included from forwback.c:17: In file included from ./less.h:424: ./funcs.h:121:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | public void backward (); | ^ cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe help.c 31 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe ifile.c ifile.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | incr_index(p, incr) | ^ ifile.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | link_ifile(p, prev) | ^ ifile.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | unlink_ifile(p) | ^ ifile.c:129:30: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | p = (struct ifile *) ecalloc(1, sizeof(struct ifile)); | ^ ifile.c:130:22: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | p->h_filename = save(filename); | ^ ifile.c:137:15: warning: passing arguments to 'init_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | init_priority(p->h_mp); | ^ ifile.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | new_ifile(filename, prev) | ^ ifile.c:158:8: warning: passing arguments to 'unmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | unmark(h); | ^ ifile.c:160:28: warning: passing arguments to 'getoff_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | curr_ifile = getoff_ifile(curr_ifile); | ^ ifile.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | del_ifile(h) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:123:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | public void del_ifile (); | ^ ifile.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | next_ifile(h) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:124:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | public IFILE next_ifile (); | ^ ifile.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | prev_ifile(h) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:125:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | public IFILE prev_ifile (); | ^ ifile.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | getoff_ifile(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:126:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | public IFILE getoff_ifile (); | ^ ifile.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | find_ifile(filename) | ^ ifile.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | get_ifile(filename, prev) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:128:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | public IFILE get_ifile (); | ^ ifile.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | get_filename(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:129:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | public char * get_filename (); | ^ ifile.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | get_index(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:130:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | public int get_index (); | ^ ifile.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | store_pos(ifile, scrpos) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:131:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | public void store_pos (); | ^ ifile.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | get_pos(ifile, scrpos) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:132:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | public void get_pos (); | ^ ifile.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | get_mulbuf(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:134:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | public MULBUF * get_mulbuf (); | ^ ifile.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | set_open(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:133:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | public void set_open (); | ^ ifile.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | opened(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | public int opened (); | ^ ifile.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | hold_ifile(ifile, incr) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:136:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | public void hold_ifile (); | ^ ifile.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | held_ifile(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | public int held_ifile (); | ^ ifile.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | get_filestate(ifile) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:138:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | public void * get_filestate (); | ^ ifile.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | set_filestate(ifile, filestate) | ^ In file included from ifile.c:29: In file included from ./less.h:424: ./funcs.h:139:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | public void set_filestate (); | ^ cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe input.c 42 warnings generated. input.c:60:25: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | MULBUF* mp = get_mulbuf(curr_ifile); | ^ input.c:80:14: warning: passing arguments to 'prep_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | prep_hilite(curr_pos, curr_pos + 3*size_linebuf, | ^ input.c:83:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (ch_seek(curr_pos)) | ^ input.c:90:10: warning: passing arguments to 'plinenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | plinenum(curr_pos); | ^ input.c:92:2: warning: call to undeclared function 'multi_start_buffering'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | multi_start_buffering(mp, curr_pos); | ^ input.c:94:16: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | (void) ch_seek(curr_pos); | ^ input.c:114:15: warning: passing arguments to 'multi_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | multi_flush(mp, &mbd, &mpos); | ^ input.c:115:24: warning: passing arguments to 'pappend_multi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | (void) pappend_multi(&mbd, &mpos); | ^ input.c:129:14: warning: passing arguments to 'multi_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | multi_parse(mp, c, ch_tell()-1, &mbd, &mpos); | ^ input.c:130:22: warning: passing arguments to 'pappend_multi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | ret = pappend_multi(&mbd, &mpos); | ^ input.c:147:17: warning: passing arguments to 'multi_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | multi_parse(mp, c, NULL_POSITION, | ^ input.c:151:18: warning: passing arguments to 'multi_discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | multi_discard(mp); | ^ input.c:164:18: warning: passing arguments to 'multi_discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | multi_discard(mp); | ^ input.c:175:7: warning: passing arguments to 'pdone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | pdone(endline); | ^ input.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | forw_line(curr_pos) | ^ In file included from input.c:28: In file included from ./less.h:424: ./funcs.h:141:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | public POSITION forw_line (); | ^ input.c:213:25: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | MULBUF* mp = get_mulbuf(curr_ifile); | ^ input.c:226:14: warning: passing arguments to 'prep_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | prep_hilite((curr_pos < 3*size_linebuf) ? | ^ input.c:229:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (ch_seek(curr_pos-1)) | ^ input.c:308:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | if (ch_seek(new_pos)) | ^ input.c:317:10: warning: passing arguments to 'plinenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | plinenum(new_pos); | ^ input.c:319:2: warning: call to undeclared function 'multi_start_buffering'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | multi_start_buffering(mp, new_pos); | ^ input.c:321:16: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | (void) ch_seek(new_pos); | ^ input.c:335:15: warning: passing arguments to 'multi_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | multi_flush(mp, &mbd, &mpos); | ^ input.c:336:24: warning: passing arguments to 'pappend_multi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | (void) pappend_multi(&mbd, &mpos); | ^ input.c:342:14: warning: passing arguments to 'multi_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | multi_parse(mp, c, ch_tell()-1, &mbd, &mpos); | ^ input.c:343:22: warning: passing arguments to 'pappend_multi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | ret = pappend_multi(&mbd, &mpos); | ^ input.c:350:17: warning: passing arguments to 'multi_discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | multi_discard(mp); | ^ input.c:364:9: warning: passing arguments to 'pdone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | pdone(0); | ^ input.c:378:15: warning: passing arguments to 'multi_discard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | multi_discard(mp); | ^ input.c:381:7: warning: passing arguments to 'pdone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | pdone(endline); | ^ input.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | back_line(curr_pos) | ^ In file included from input.c:28: In file included from ./less.h:424: ./funcs.h:142:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | public POSITION back_line (); | ^ input.c:397:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | if (ch_seek(pos)) | ^ input.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | set_attnpos(pos) | ^ In file included from input.c:28: In file included from ./less.h:424: ./funcs.h:143:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | public void set_attnpos (); | ^ 36 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe jump.c jump.c:37:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | error("Cannot seek to end of file", NULL_PARG); | ^ jump.c:45:17: warning: passing arguments to 'back_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | pos = back_line(ch_tell()); | ^ jump.c:47:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | jump_loc((POSITION)0, sc_height-1); | ^ jump.c:49:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | jump_loc(pos, sc_height-1); | ^ jump.c:68:16: warning: passing arguments to 'find_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | pos = find_pos(linenum); | ^ jump.c:69:37: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (pos != NULL_POSITION && ch_seek(pos) == 0) | ^ jump.c:72:15: warning: passing arguments to 'set_attnpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | set_attnpos(pos); | ^ jump.c:73:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | jump_loc(pos, jump_sline); | ^ jump.c:76:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | jump_loc(ch_tell(), jump_sline); | ^ jump.c:77:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | error("Cannot seek to beginning of file", NULL_PARG); | ^ jump.c:81:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | error("Cannot seek to line number %n", &parg); | ^ jump.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | jump_back(linenum) | ^ In file included from jump.c:16: In file included from ./less.h:424: ./funcs.h:145:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | public void jump_back (); | ^ jump.c:96:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | get_scrpos(&scrpos); | ^ jump.c:98:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | jump_loc(scrpos.pos, scrpos.ln); | ^ jump.c:116:9: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | ierror("Determining length of file", NULL_PARG); | ^ jump.c:121:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | error("Don't know length of file", NULL_PARG); | ^ jump.c:124:19: warning: passing arguments to 'percent_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | pos = percent_pos(len, percent); | ^ jump.c:128:15: warning: passing arguments to 'jump_line_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | jump_line_loc(pos, jump_sline); | ^ jump.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | jump_percent(percent) | ^ In file included from jump.c:16: In file included from ./less.h:424: ./funcs.h:147:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | public void jump_percent (); | ^ jump.c:143:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if (ch_seek(pos) == 0) | ^ jump.c:155:14: warning: passing arguments to 'set_attnpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | set_attnpos(pos); | ^ jump.c:156:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | jump_loc(pos, sline); | ^ jump.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | jump_line_loc(pos, sline) | ^ In file included from jump.c:16: In file included from ./less.h:424: ./funcs.h:148:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | public void jump_line_loc (); | ^ jump.c:176:18: warning: passing arguments to 'adjsline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | sline = adjsline(sline); | ^ jump.c:178:23: warning: passing arguments to 'onscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | if ((nline = onscreen(pos)) >= 0) | ^ jump.c:186:24: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | forw(nline, position(BOTTOM_PLUS_ONE), 1, 0, 0); | ^ jump.c:186:8: warning: passing arguments to 'forw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | forw(nline, position(BOTTOM_PLUS_ONE), 1, 0, 0); | ^ jump.c:188:25: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | back(-nline, position(TOP), 1, 0); | ^ jump.c:188:8: warning: passing arguments to 'back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | back(-nline, position(TOP), 1, 0); | ^ jump.c:190:18: warning: passing arguments to 'repaint_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | repaint_hilite(1); | ^ jump.c:198:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if (ch_seek(pos)) | ^ jump.c:200:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | error("Cannot seek to that file position", NULL_PARG); | ^ jump.c:208:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | tpos = position(TOP); | ^ jump.c:209:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | bpos = position(BOTTOM_PLUS_ONE); | ^ jump.c:227:9: warning: passing arguments to 'forw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | forw(sc_height-sline+nline-1, bpos, 1, 0, 0); | ^ jump.c:229:20: warning: passing arguments to 'repaint_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | repaint_hilite(1); | ^ jump.c:232:19: warning: passing arguments to 'back_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | pos = back_line(pos); | ^ jump.c:248:7: warning: passing arguments to 'forw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | forw(sc_height-1, pos, 1, 0, sline-nline); | ^ jump.c:259:19: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | pos = forw_line(pos); | ^ jump.c:276:9: warning: passing arguments to 'back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | back(nline+1, tpos, 1, 0); | ^ jump.c:278:20: warning: passing arguments to 'repaint_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | repaint_hilite(1); | ^ jump.c:288:15: warning: passing arguments to 'add_back_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | add_back_pos(pos); | ^ jump.c:289:7: warning: passing arguments to 'back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | back(sc_height-1, pos, 1, 0); | ^ jump.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | jump_loc(pos, sline) | ^ In file included from jump.c:16: In file included from ./less.h:424: ./funcs.h:149:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | public void jump_loc (); | ^ cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe line.c 48 warnings generated. line.c:79:26: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | end_ansi_chars = lgetenv("LESSANSIENDCHARS"); | ^ line.c:83:26: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | mid_ansi_chars = lgetenv("LESSANSIMIDCHARS"); | ^ line.c:91:28: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | linebuf = (char *) ecalloc(LINEBUF_SIZE, sizeof(char)); | ^ line.c:92:31: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | charset = (CHARSET *) ecalloc(LINEBUF_SIZE, sizeof(CHARSET)); | ^ line.c:93:25: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | attr = (char *) ecalloc(LINEBUF_SIZE, sizeof(char)); | ^ line.c:169:25: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | linenum = find_linenum(pos); | ^ line.c:196:13: warning: passing arguments to 'linenumtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | linenumtoa(linenum, buf); | ^ line.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | plinenum(pos) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:152:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | public void plinenum (); | ^ line.c:246:20: warning: passing arguments to 'is_ansi_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | if (is_ansi_end(*p++)) | ^ line.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | shift_chars(s, len) | ^ line.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | utf_shift_chars(s, len) | ^ line.c:314:38: warning: passing arguments to 'pwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | for (j = lmargin; j < curr && pwidth(linebuf[j], charset[j], attr[j]) == 0; j++) | ^ line.c:324:23: warning: passing arguments to 'pwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | real_shift += pwidth(linebuf[j], charset[j], attr[j]); | ^ line.c:330:27: warning: passing arguments to 'pwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | for (; j < curr && pwidth(linebuf[j], charset[j], attr[j]) == 0; j++) | ^ line.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | pshift(shift) | ^ line.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | attr_swidth(a) | ^ line.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | attr_ewidth(a) | ^ line.c:431:18: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | if (control_char(c)) | ^ line.c:444:12: warning: passing arguments to 'mwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | w = mwidth(c, cs); | ^ line.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | pwidth(c, cs, a) | ^ line.c:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int pwidth(); | ^ line.c:488:22: warning: passing arguments to 'is_ansi_middle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (!is_ansi_middle(linebuf[i])) | ^ line.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | is_ansi_end(c) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | public int is_ansi_end (); | ^ line.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | is_ansi_middle(c) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:154:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | public int is_ansi_middle (); | ^ line.c:535:16: warning: passing arguments to 'is_hilited' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | if (is_hilited(pos, pos+n, 0)) | ^ line.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | store_char(c, cs, n, a, pos) | ^ line.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | store_tab(attr, pos) | ^ line.c:665:36: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | if (do_append(pendc, control_char(pendc) ? WRONGCS : | ^ line.c:665:16: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | if (do_append(pendc, control_char(pendc) ? WRONGCS : | ^ line.c:699:16: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | r = do_append(cbuf[i], csbuf[i], byte - i, pos); | ^ line.c:714:16: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | r = do_append(cbuf[i], csbuf[i], byte - i, pos); | ^ line.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | pappend_multi(mbd, mpos) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:156:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | public int pappend_multi (); | ^ line.c:747:36: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | if (do_append(pendc, control_char(pendc) ? WRONGCS : | ^ line.c:747:16: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | if (do_append(pendc, control_char(pendc) ? WRONGCS : | ^ line.c:769:15: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | r = do_append(c, cs, i, pos); | ^ line.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | pappend(c, cs, i, pos) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:155:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | public int pappend (); | ^ line.c:913:43: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | } else if (CSISWRONG(cs) && control_char(c)) | ^ line.c:931:42: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | } else if (CSISWRONG(cs) && control_char(c)) | ^ line.c:946:14: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | s = prchar(c, cs); | ^ line.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | do_append(c, cs, n, pos) | ^ line.c:53:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static int do_append(); | ^ line.c:986:39: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | (void) do_append(pendc, control_char(pendc) ? WRONGCS : | ^ line.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | pdone(endline) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:157:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | public void pdone (); | ^ line.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | gline(i, csp, ap) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:158:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | public int gline (); | ^ line.c:1079:42: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | if (curr_pos == NULL_POSITION || ch_seek(curr_pos) || | ^ line.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | forw_raw_line(curr_pos, linep) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:160:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | public POSITION forw_raw_line (); | ^ line.c:1126:10: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | ch_seek(curr_pos-1)) | ^ line.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | back_raw_line(curr_pos, linep) | ^ In file included from line.c:24: In file included from ./less.h:424: ./funcs.h:161:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | public POSITION back_raw_line (); | ^ 57 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe linenum.c linenum.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | calcgap(p) | ^ linenum.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | add_lnum(linenum, pos) | ^ In file included from linenum.c:36: In file included from ./less.h:424: ./funcs.h:163:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | public void add_lnum (); | ^ linenum.c:216:8: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | ierror("Calculating line numbers", NULL_PARG); | ^ linenum.c:309:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | if (ch_seek(p->pos)) | ^ linenum.c:317:24: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | cpos = forw_raw_line(cpos, (char **)NULL); | ^ linenum.c:338:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (ch_seek(p->pos)) | ^ linenum.c:346:24: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | cpos = back_raw_line(cpos, (char **)NULL); | ^ linenum.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | find_linenum(pos) | ^ In file included from linenum.c:36: In file included from ./less.h:424: ./funcs.h:164:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | public LINENUM find_linenum (); | ^ linenum.c:394:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | if (ch_seek(p->pos)) | ^ linenum.c:401:24: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | cpos = forw_raw_line(cpos, (char **)NULL); | ^ linenum.c:410:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | if (ch_seek(p->pos)) | ^ linenum.c:417:24: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | cpos = back_raw_line(cpos, (char **)NULL); | ^ linenum.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | find_pos(linenum) | ^ In file included from linenum.c:36: In file included from ./less.h:424: ./funcs.h:165:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | public POSITION find_pos (); | ^ linenum.c:442:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | pos = position(where); | ^ linenum.c:445:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | pos = position(++where); | ^ linenum.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | currline(where) | ^ In file included from linenum.c:36: In file included from ./less.h:424: ./funcs.h:166:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | public LINENUM currline (); | ^ 20 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe lsystem.c lsystem.c:65:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | putstr("!"); | ^ lsystem.c:66:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | putstr(cmd); | ^ lsystem.c:67:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | putstr("\n"); | ^ lsystem.c:85:19: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | (void) edit_ifile(NULL_IFILE); | ^ lsystem.c:92:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | raw_mode(0); | ^ lsystem.c:100:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | init_signals(0); | ^ lsystem.c:127:22: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') | ^ lsystem.c:130:12: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | p = save(shell); | ^ lsystem.c:133:30: warning: passing arguments to 'shell_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | char *esccmd = shell_quote(cmd); | ^ lsystem.c:137:25: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | p = (char *) ecalloc(len, sizeof(char)); | ^ lsystem.c:146:12: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | p = save("sh"); | ^ lsystem.c:148:12: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | p = save(cmd); | ^ lsystem.c:182:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | init_signals(1); | ^ lsystem.c:183:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | raw_mode(1); | ^ lsystem.c:186:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | putstr(donemsg); | ^ lsystem.c:187:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | putstr(" (press RETURN)"); | ^ lsystem.c:189:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | putchr('\n'); | ^ lsystem.c:219:14: warning: passing arguments to 'reedit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | reedit_ifile(save_ifile); | ^ lsystem.c:228:7: warning: passing arguments to 'winch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | winch(0); | ^ lsystem.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | lsystem(cmd, donemsg) | ^ In file included from lsystem.c:17: In file included from ./less.h:424: ./funcs.h:167:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | public void lsystem (); | ^ lsystem.c:260:16: warning: passing arguments to 'markpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | mpos = markpos(c); | ^ lsystem.c:263:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | tpos = position(TOP); | ^ lsystem.c:266:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | bpos = position(BOTTOM); | ^ lsystem.c:269:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | return (pipe_data(cmd, tpos, bpos)); | ^ lsystem.c:271:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | return (pipe_data(cmd, mpos, bpos)); | ^ lsystem.c:273:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | return (pipe_data(cmd, tpos, bpos)); | ^ lsystem.c:275:21: warning: passing arguments to 'pipe_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | return (pipe_data(cmd, tpos, mpos)); | ^ lsystem.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | pipe_mark(c, cmd) | ^ In file included from lsystem.c:17: In file included from ./less.h:424: ./funcs.h:168:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | public int pipe_mark (); | ^ lsystem.c:290:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 290 | extern FILE *popen(); | ^ /usr/include/stdio.h:236:7: note: conflicting prototype is here 236 | FILE *popen(const char *, const char *); | ^ lsystem.c:298:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (ch_seek(spos) != 0) | ^ lsystem.c:300:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | error("Cannot seek to start position", NULL_PARG); | ^ lsystem.c:306:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | error("Cannot create pipe", NULL_PARG); | ^ lsystem.c:310:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | putstr("!"); | ^ lsystem.c:311:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | putstr(cmd); | ^ lsystem.c:312:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | putstr("\n"); | ^ lsystem.c:316:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | raw_mode(0); | ^ lsystem.c:317:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | init_signals(0); | ^ lsystem.c:358:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | init_signals(1); | ^ lsystem.c:359:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | raw_mode(1); | ^ lsystem.c:364:7: warning: passing arguments to 'winch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | winch(0); | ^ lsystem.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | pipe_data(cmd, spos, epos) | ^ In file included from lsystem.c:17: In file included from ./less.h:424: ./funcs.h:169:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | public int pipe_data (); | ^ 44 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe mark.c mark.c:60:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | error("Invalid mark letter", NULL_PARG); | ^ mark.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | getumark(c) | ^ mark.c:93:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | error("Cannot seek to end of file", NULL_PARG); | ^ mark.c:106:13: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | get_scrpos(&m->m_scrpos); | ^ mark.c:124:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | error("Mark not set", NULL_PARG); | ^ mark.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | getmark(c) | ^ mark.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | badmark(c) | ^ In file included from mark.c:12: In file included from ./less.h:424: ./funcs.h:171:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | public int badmark (); | ^ mark.c:155:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | get_scrpos(&scrpos); | ^ mark.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | setmark(c) | ^ In file included from mark.c:12: In file included from ./less.h:424: ./funcs.h:172:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | public void setmark (); | ^ mark.c:170:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | get_scrpos(&scrpos); | ^ mark.c:214:17: warning: passing arguments to 'edit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (edit_ifile(m->m_ifile)) | ^ mark.c:218:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | jump_loc(scrpos.pos, scrpos.ln); | ^ mark.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | gomark(c) | ^ In file included from mark.c:12: In file included from ./less.h:424: ./funcs.h:174:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 174 | public void gomark (); | ^ mark.c:240:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | error("Mark not in current file", NULL_PARG); | ^ mark.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | markpos(c) | ^ In file included from mark.c:12: In file included from ./less.h:424: ./funcs.h:175:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | public POSITION markpos (); | ^ mark.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | unmark(ifile) | ^ In file included from mark.c:12: In file included from ./less.h:424: ./funcs.h:176:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | public void unmark (); | ^ 21 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe optfunc.c optfunc.c:90:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | error("log file support is not available", NULL_PARG); | ^ optfunc.c:101:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | error("Input is not a pipe", NULL_PARG); | ^ optfunc.c:106:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | error("Log file is already in use", NULL_PARG); | ^ optfunc.c:109:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | s = skipsp(s); | ^ optfunc.c:110:22: warning: passing arguments to 'lglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | namelogfile = lglob(s); | ^ optfunc.c:111:14: warning: passing arguments to 'use_logfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | use_logfile(namelogfile); | ^ optfunc.c:116:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | error("No log file", NULL_PARG); | ^ optfunc.c:120:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | error("Log file \"%s\"", &parg); | ^ optfunc.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | opt_o(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:177:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 177 | public void opt_o (); | ^ optfunc.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | opt__O(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:178:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 178 | public void opt__O (); | ^ optfunc.c:155:13: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | n = getnum(&t, "l", &err); | ^ optfunc.c:158:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | error("Line number is required after -l", NULL_PARG); | ^ optfunc.c:162:10: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | ungetsc(s); | ^ optfunc.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | opt_l(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:179:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 179 | public void opt_l (); | ^ optfunc.c:178:14: warning: passing arguments to 'lesskey' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | if (lesskey(s, 0)) | ^ optfunc.c:181:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | error("Cannot use lesskey file \"%s\"", &parg); | ^ optfunc.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | opt_k(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:180:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | public void opt_k (); | ^ optfunc.c:209:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | error("tags support is not available", NULL_PARG); | ^ optfunc.c:212:17: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | findtag(skipsp(s)); | ^ optfunc.c:212:10: warning: passing arguments to 'findtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | findtag(skipsp(s)); | ^ optfunc.c:218:16: warning: passing arguments to 'reedit_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | reedit_ifile(save_ifile); | ^ optfunc.c:221:15: warning: passing arguments to 'unsave_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | unsave_ifile(save_ifile); | ^ optfunc.c:222:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | jump_loc(pos, jump_sline); | ^ optfunc.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | opt_t(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:182:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | public void opt_t (); | ^ optfunc.c:243:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | s = skipsp(s); | ^ optfunc.c:244:15: warning: passing arguments to 'lglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | tags = lglob(s); | ^ optfunc.c:248:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | error("Tags file \"%s\"", &parg); | ^ optfunc.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | opt__T(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:183:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | public void opt__T (); | ^ optfunc.c:271:10: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | ungetsc(s); | ^ optfunc.c:272:10: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | ungetsc("/"); | ^ optfunc.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | opt_p(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:184:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | public void opt_p (); | ^ optfunc.c:306:16: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | *proto = save(s); | ^ optfunc.c:310:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | error("%s", &parg); | ^ optfunc.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | opt__P(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:185:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | public void opt__P (); | ^ optfunc.c:331:17: warning: passing arguments to 'ch_setbufspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | ch_setbufspace(bufspace); | ^ optfunc.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | opt_b(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:186:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | public void opt_b (); | ^ optfunc.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | opt_i(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:187:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | public void opt_i (); | ^ optfunc.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | opt_K(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:181:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | public void opt_K (); | ^ optfunc.c:389:21: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | init_def_priority(PUTF8); | ^ optfunc.c:391:21: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | init_def_priority(PUJIS); | ^ optfunc.c:393:21: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | init_def_priority(PSJIS); | ^ optfunc.c:398:34: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | switch (get_priority(get_mulbuf(curr_ifile))) { | ^ optfunc.c:398:23: warning: passing arguments to 'get_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | switch (get_priority(get_mulbuf(curr_ifile))) { | ^ optfunc.c:413:21: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | init_def_priority(PUTF8); | ^ optfunc.c:415:21: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | init_def_priority(PUJIS); | ^ optfunc.c:417:21: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | init_def_priority(PSJIS); | ^ optfunc.c:418:27: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | init_priority(get_mulbuf(curr_ifile)); | ^ optfunc.c:418:16: warning: passing arguments to 'init_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | init_priority(get_mulbuf(curr_ifile)); | ^ optfunc.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | opt_Z(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:188:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | public void opt_Z (); | ^ optfunc.c:444:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | putstr("less "); | ^ optfunc.c:445:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | putstr(version); | ^ optfunc.c:446:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | putstr("\nCopyright (C) 2002 Mark Nudelman\n\n"); | ^ optfunc.c:447:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | putstr("less comes with NO WARRANTY, to the extent permitted by law.\n"); | ^ optfunc.c:448:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | putstr("For information about the terms of redistribution,\n"); | ^ optfunc.c:449:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | putstr("see the file named README in the less distribution.\n"); | ^ optfunc.c:450:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | putstr("Homepage: http://www.greenwoodsoftware.com/less\n"); | ^ optfunc.c:451:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | putstr("\nJapanized part of Less\n"); | ^ optfunc.c:452:14: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | putstr("Copyright (c) 1994-2005 Kazushi (Jam) Marukawa\n"); | ^ optfunc.c:453:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | quit(QUIT_OK); | ^ optfunc.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | opt__V(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:189:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | public void opt__V (); | ^ optfunc.c:564:14: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | s = skipsp(s); | ^ optfunc.c:569:14: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | s = skipsp(s); | ^ optfunc.c:593:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | error("%s", &p); | ^ optfunc.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | opt_x(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:191:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | public void opt_x (); | ^ optfunc.c:621:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | error("-\" must be followed by 1 or 2 chars", NULL_PARG); | ^ optfunc.c:635:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | error("quotes %s", &parg); | ^ optfunc.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | opt_quote(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:192:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | public void opt_quote (); | ^ optfunc.c:654:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | error("Use \"h\" for help", NULL_PARG); | ^ optfunc.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | opt_query(type, s) | ^ In file included from optfunc.c:34: In file included from ./less.h:424: ./funcs.h:193:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | public void opt_query (); | ^ 85 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe option.c option.c:73:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | (*pendopt->ofunc)(INIT, s); | ^ option.c:76:20: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | printopt = propt(pendopt->oletter); | ^ option.c:77:29: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | *(pendopt->ovar) = getnum(&s, printopt, (int*)NULL); | ^ option.c:125:32: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | s = optstring(s, &str, propt('+'), NULL); | ^ option.c:125:17: warning: passing arguments to 'optstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | s = optstring(s, &str, propt('+'), NULL); | ^ option.c:127:27: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | every_first_cmd = save(++str); | ^ option.c:129:12: warning: passing arguments to 'ungetsc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | ungetsc(str); | ^ option.c:150:20: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | printopt = propt(optc); | ^ option.c:152:15: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | o = findopt(optc); | ^ option.c:157:20: warning: passing arguments to 'findopt_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | o = findopt_name(&optname, NULL, &err); | ^ option.c:176:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | error("The %s option should not be followed by =", | ^ option.c:178:10: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | quit(QUIT_ERROR); | ^ option.c:194:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | error("%s is an ambiguous abbreviation (\"less --help\" for help)", | ^ option.c:197:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | error("There is no %s option (\"less --help\" for help)", | ^ option.c:199:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | quit(QUIT_ERROR); | ^ option.c:215:29: warning: passing arguments to 'flip_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | *(o->ovar) = flip_triple(o->odefault, lc); | ^ option.c:235:17: warning: passing arguments to 'optstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | s = optstring(s, &str, printopt, o->odesc[1]); | ^ option.c:243:23: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | *(o->ovar) = getnum(&s, printopt, (int*)NULL); | ^ option.c:250:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | (*o->ofunc)(INIT, str); | ^ option.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | scan_option(s) | ^ In file included from option.c:27: In file included from ./less.h:424: ./funcs.h:195:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | public void scan_option (); | ^ option.c:281:13: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | o = findopt(c); | ^ option.c:284:24: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | parg.p_string = propt(c); | ^ option.c:285:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | error("There is no %s option", &parg); | ^ option.c:291:24: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | parg.p_string = propt(c); | ^ option.c:292:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | error("Cannot change the %s option", &parg); | ^ option.c:298:24: warning: passing arguments to 'propt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | parg.p_string = propt(c); | ^ option.c:299:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | error("Cannot query the %s option", &parg); | ^ option.c:320:17: warning: passing arguments to 'repaint_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | repaint_hilite(0); | ^ option.c:358:29: warning: passing arguments to 'flip_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | *(o->ovar) = flip_triple(*(o->ovar), | ^ option.c:365:29: warning: passing arguments to 'flip_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | *(o->ovar) = flip_triple(o->odefault, | ^ option.c:379:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | error("Cannot use \"-+\" or \"--\" for a string option", | ^ option.c:391:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | num = getnum(&s, NULL, &err); | ^ option.c:399:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | error("Can't use \"-!\" for a numeric option", | ^ option.c:412:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | (*o->ofunc)((how_toggle==OPT_NO_TOGGLE) ? QUERY : TOGGLE, s); | ^ option.c:431:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | error(o->odesc[*(o->ovar)], NULL_PARG); | ^ option.c:439:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | error(o->odesc[1], &parg); | ^ option.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | toggle_option(c, s, how_toggle) | ^ In file included from option.c:27: In file included from ./less.h:424: ./funcs.h:196:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | public void toggle_option (); | ^ option.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | flip_triple(val, lc) | ^ option.c:35:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static int flip_triple(); | ^ option.c:477:28: warning: passing arguments to 'prchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | sprintf(buf, "-%s", prchar(c, ASCII)); | ^ option.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | propt(c) | ^ option.c:33:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | static char *propt(); | ^ option.c:491:13: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | o = findopt(c); | ^ option.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | single_char_option(c) | ^ In file included from option.c:27: In file included from ./less.h:424: ./funcs.h:197:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | public int single_char_option (); | ^ option.c:507:13: warning: passing arguments to 'findopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | o = findopt(c); | ^ option.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | opt_prompt(c) | ^ In file included from option.c:27: In file included from ./less.h:424: ./funcs.h:198:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | public char * opt_prompt (); | ^ option.c:535:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | error("Value is required after %s", &parg); | ^ option.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | nostring(printopt) | ^ option.c:564:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | quit(QUIT_ERROR); | ^ option.c:581:30: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | *p_str = (char *) ecalloc(p-s+1, sizeof(char)); | ^ option.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | optstring(s, p_str, printopt, validchars) | ^ option.c:34:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static char *optstring(); | ^ option.c:608:12: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | s = skipsp(*sp); | ^ option.c:625:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | error("Number is required after %s", &parg); | ^ option.c:627:7: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | quit(QUIT_ERROR); | ^ option.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | getnum(sp, printopt, errp) | ^ In file included from option.c:27: In file included from ./less.h:424: ./funcs.h:201:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 201 | public int getnum (); | ^ 61 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe opttbl.c opttbl.c:487:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | (*(o->ofunc))(INIT, (char *) NULL); | ^ opttbl.c:491:20: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | init_def_priority(PUTF8); | ^ opttbl.c:493:20: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | init_def_priority(PUJIS); | ^ opttbl.c:495:20: warning: passing arguments to 'init_def_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | init_def_priority(PSJIS); | ^ opttbl.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | findopt(c) | ^ In file included from opttbl.c:22: In file included from ./less.h:424: ./funcs.h:203:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | public struct loption * findopt (); | ^ opttbl.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | is_optchar(c) | ^ opttbl.c:575:18: warning: passing arguments to 'sprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | len = sprefix(optname, oname->oname, uppercase); | ^ opttbl.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | findopt_name(p_optname, p_oname, p_err) | ^ In file included from opttbl.c:22: In file included from ./less.h:424: ./funcs.h:204:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | public struct loption * findopt_name (); | ^ 10 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe os.c os.c:153:9: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | quit(QUIT_ERROR); | ^ os.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | iread(fd, buf, len) | ^ In file included from os.c:24: In file included from ./less.h:424: ./funcs.h:205:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | public int iread (); | ^ os.c:229:22: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | m = (char *) ecalloc(len, sizeof(char)); | ^ os.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | errno_message(filename) | ^ In file included from os.c:24: In file included from ./less.h:424: ./funcs.h:208:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 208 | public char * errno_message (); | ^ os.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | percentage(num, den) | ^ In file included from os.c:24: In file included from ./less.h:424: ./funcs.h:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | public int percentage (); | ^ os.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | percent_pos(pos, percent) | ^ In file included from os.c:24: In file included from ./less.h:424: ./funcs.h:210:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | public POSITION percent_pos (); | ^ 10 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe output.c output.c:70:25: warning: passing arguments to 'gline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | for (i = 0; (c = gline(i, &cs, &a)) != '\0'; i++) | ^ output.c:101:11: warning: passing arguments to 'putmchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | putmchr(c, cs); | ^ output.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | putchr_raw(c) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:214:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | public int putchr_raw (); | ^ output.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | putstr_raw(s) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:215:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | public void putstr_raw (); | ^ output.c:420:19: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | char *p = outchar(c & 0377, ASCII); | ^ output.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | putchr(c) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:216:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | public int putchr (); | ^ output.c:436:18: warning: passing arguments to 'outbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | char *p = outbuf(s, ASCII); | ^ output.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | putstr(s) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:217:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | public void putstr (); | ^ output.c:452:19: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | char *p = outchar(c & 0377, cs); | ^ output.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | putmchr(c, cs) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:218:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | public int putmchr (); | ^ output.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | putmchrs(s, cs) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:219:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | public int putmchrs (); | ^ output.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | putmstr(s, cs) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:220:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | public void putmstr (); | ^ output.c:507:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | TYPE_TO_A_FUNC(postoa, POSITION) | ^ In file included from output.c:22: ./less.h:427:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 427 | void postoa(); | ^ output.c:508:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | TYPE_TO_A_FUNC(linenumtoa, LINENUM) | ^ In file included from output.c:22: ./less.h:428:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 428 | void linenumtoa(); | ^ output.c:509:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | TYPE_TO_A_FUNC(inttoa, int) | ^ In file included from output.c:22: ./less.h:429:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 429 | void inttoa(); | ^ output.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | iprint_int(num) | ^ output.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | iprint_linenum(num) | ^ output.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | less_printf(fmt, parg) | ^ output.c:602:10: warning: passing arguments to 'ungetcc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | ungetcc(c); | ^ output.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | error(fmt, parg) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:222:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | public void error (); | ^ output.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | ierror(fmt, parg) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:223:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | public void ierror (); | ^ output.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | query(fmt, parg) | ^ In file included from output.c:22: In file included from ./less.h:424: ./funcs.h:224:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 224 | public int query (); | ^ 35 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe position.c position.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | position(where) | ^ In file included from position.c:22: In file included from ./less.h:424: ./funcs.h:225:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 225 | public POSITION position (); | ^ position.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | add_forw_pos(pos) | ^ In file included from position.c:22: In file included from ./less.h:424: ./funcs.h:226:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 226 | public void add_forw_pos (); | ^ position.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | add_back_pos(pos) | ^ In file included from position.c:22: In file included from ./less.h:424: ./funcs.h:227:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 227 | public void add_back_pos (); | ^ position.c:119:13: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | get_scrpos(&scrpos); | ^ position.c:123:30: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | table = (POSITION *) ecalloc(sc_height, sizeof(POSITION)); | ^ position.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | onscreen(pos) | ^ In file included from position.c:22: In file included from ./less.h:424: ./funcs.h:230:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 230 | public int onscreen (); | ^ position.c:155:21: warning: passing arguments to 'empty_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | return (empty_lines(0, sc_height-1)); | ^ position.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | empty_lines(s, e) | ^ In file included from position.c:22: In file included from ./less.h:424: ./funcs.h:232:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 232 | public int empty_lines (); | ^ position.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | get_scrpos(scrpos) | ^ In file included from position.c:22: In file included from ./less.h:424: ./funcs.h:233:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 233 | public void get_scrpos (); | ^ position.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | adjsline(sline) | ^ In file included from position.c:22: In file included from ./less.h:424: ./funcs.h:234:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 234 | public int adjsline (); | ^ 17 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe prompt.c prompt.c:76:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | prproto[0] = save(s_proto); | ^ prompt.c:77:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | prproto[1] = save(m_proto); | ^ prompt.c:78:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | prproto[2] = save(M_proto); | ^ prompt.c:79:16: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | eqproto = save(e_proto); | ^ prompt.c:80:15: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | hproto = save(h_proto); | ^ prompt.c:81:15: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | wproto = save(w_proto); | ^ prompt.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | ap_str(s) | ^ prompt.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | ap_char(c) | ^ prompt.c:124:8: warning: passing arguments to 'postoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | postoa(pos, buf); | ^ prompt.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | ap_pos(pos) | ^ prompt.c:137:12: warning: passing arguments to 'linenumtoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | linenumtoa(linenum, buf); | ^ prompt.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | ap_linenum(linenum) | ^ prompt.c:150:8: warning: passing arguments to 'inttoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | inttoa(num, buf); | ^ prompt.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | ap_int(num) | ^ prompt.c:172:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | pos = position(where); | ^ prompt.c:174:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | pos = position(++where); | ^ prompt.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | curr_byte(where) | ^ prompt.c:204:30: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | return (strcmp(get_filename(curr_ifile), "-") != 0); | ^ prompt.c:227:19: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | return (currline(where) != 0 && | ^ prompt.c:229:17: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | find_linenum(len) != 0); | ^ prompt.c:238:21: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | return (next_ifile(curr_ifile) != NULL_IFILE); | ^ prompt.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | cond(c, where) | ^ prompt.c:276:21: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | linenum = currline(where); | ^ prompt.c:285:30: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | (linenum = find_linenum(len)) <= 0) | ^ prompt.c:296:22: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | ap_str(get_filename(curr_ifile)); | ^ prompt.c:304:20: warning: passing arguments to 'get_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | ap_int(get_index(curr_ifile)); | ^ prompt.c:307:21: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | linenum = currline(where); | ^ prompt.c:316:30: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | (linenum = find_linenum(len)) <= 0) | ^ prompt.c:334:21: warning: passing arguments to 'percentage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | ap_int(percentage(pos,len)); | ^ prompt.c:339:21: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | linenum = currline(where); | ^ prompt.c:342:35: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | (last_linenum = find_linenum(len)) <= 0) | ^ prompt.c:345:21: warning: passing arguments to 'percentage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | ap_int(percentage(linenum, last_linenum)); | ^ prompt.c:369:17: warning: passing arguments to 'next_ifile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | h = next_ifile(curr_ifile); | ^ prompt.c:371:23: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | ap_str(get_filename(h)); | ^ prompt.c:377:40: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | ap_str(get_icharset_string(get_mulbuf(curr_ifile))); | ^ prompt.c:377:29: warning: passing arguments to 'get_icharset_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | ap_str(get_icharset_string(get_mulbuf(curr_ifile))); | ^ prompt.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | protochar(c, where, iseditproto) | ^ prompt.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | skipcond(p) | ^ prompt.c:464:29: warning: passing arguments to 'adjsline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | case 'j': *wp = adjsline(jump_sline); break; | ^ prompt.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | wherechar(p, wp) | ^ prompt.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | pr_expand(proto, maxwidth) | ^ In file included from prompt.c:27: In file included from ./less.h:424: ./funcs.h:236:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 236 | public char * pr_expand (); | ^ prompt.c:553:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 553 | return (pr_expand(eqproto, 0)); | ^~~~~~~ prompt.c:567:21: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 567 | prompt = pr_expand((ch_getflags() & CH_HELPFILE) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 568 | hproto : prproto[pr_type], | ~~~~~~~~~~~~~~~~~~~~~~~~~ prompt.c:580:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 580 | return (pr_expand(wproto, sc_width-so_s_width-so_e_width-2)); | ^~~~~~ 45 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe search.c search.c:125:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 125 | static multibyte_search = 0; | ~~~~~~ ^ | int search.c:141:21: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | int len = strlen_cs(src, cs) * 2; | ^ search.c:149:25: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | buf = (char *) ecalloc(size, sizeof(char)); | ^ search.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | normalize_text(src, cs, search_type) | ^ search.c:248:20: warning: passing arguments to 'is_ansi_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | if (is_ansi_end(*++src)) | ^ search.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | cvt_text_ascii(odst, osrc, ops) | ^ search.c:280:25: warning: passing arguments to 'get_mulbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | MULBUF* mp = get_mulbuf(curr_ifile); | ^ search.c:293:2: warning: call to undeclared function 'multi_start_buffering'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | multi_start_buffering(mp, pos); | ^ search.c:305:17: warning: passing arguments to 'multi_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | multi_flush(mp, &mbd, NULL); | ^ search.c:313:17: warning: passing arguments to 'multi_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | multi_parse(mp, (unsigned char) *src, | ^ search.c:341:16: warning: passing arguments to 'chunify_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | chunify_cs(&cbuf[i], &csbuf[i], | ^ search.c:343:19: warning: passing arguments to 'chlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | i += chlen_cs(&cbuf[i], &csbuf[i]); | ^ search.c:344:19: warning: passing arguments to 'chlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | j += chlen_cs(&cbuffer[j], | ^ search.c:355:15: warning: passing arguments to 'chunify_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | chunify_cs(src, srccs, cbuf, csbuf); | ^ search.c:356:24: warning: passing arguments to 'chlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | bufcount = chlen_cs(src, srccs); | ^ search.c:365:24: warning: passing arguments to 'chlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | bufcount = chlen_cs(cbuf, csbuf); | ^ search.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | cvt_text(odst, odstcs, osrc, osrccs, pos, ops) | ^ search.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | is_ucase(s, cs) | ^ search.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | to_lcase(s, cs) | ^ search.c:583:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | pos = position(slinenum); | ^ search.c:586:18: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | epos = position(slinenum+1); | ^ search.c:591:17: warning: passing arguments to 'is_hilited' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | if (is_hilited(pos, epos, 1)) | ^ search.c:593:20: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | (void) forw_line(pos); | ^ search.c:594:13: warning: passing arguments to 'goto_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | goto_line(slinenum); | ^ search.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | repaint_hilite(on) | ^ In file included from search.c:22: In file included from ./less.h:424: ./funcs.h:240:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 240 | public void repaint_hilite (); | ^ search.c:629:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | pos = position(slinenum); | ^ search.c:632:18: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | epos = position(slinenum+1); | ^ search.c:636:20: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | (void) forw_line(pos); | ^ search.c:637:13: warning: passing arguments to 'goto_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | goto_line(slinenum); | ^ search.c:652:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | error("No previous regular expression", NULL_PARG); | ^ search.c:670:21: warning: passing arguments to 'strlen_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | int len = strlen_cs(pattern, charset); | ^ search.c:691:35: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | regex_t *s = (regex_t *) ecalloc(1, sizeof(regex_t)); | ^ search.c:695:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | error("Invalid pattern", NULL_PARG); | ^ search.c:772:26: warning: passing arguments to 'strdup_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | last_pattern = strdup_cs(pattern, charset, &last_charset); | ^ search.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | compile_pattern(pattern, charset, search_type) | ^ search.c:838:16: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | return (match(last_pattern, last_charset, line, charset, | ^ search.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | match_pattern(line, charset, sp, ep, notbol) | ^ search.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | is_hilited(pos, epos, nohide) | ^ In file included from search.c:22: In file included from ./less.h:424: ./funcs.h:244:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 244 | public int is_hilited (); | ^ search.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | add_hilite(anchor, hl) | ^ search.c:1043:22: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | (void) forw_raw_line(linepos, &line); | ^ search.c:1089:21: warning: passing arguments to 'is_ansi_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | if (is_ansi_end(*line++)) | ^ search.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | adj_hilite(anchor, linepos, cvt_ops) | ^ search.c:1156:34: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | hl = (struct hilite *) ecalloc(1, sizeof(struct hilite)); | ^ search.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | hilite_line(linepos, line, charset, sp, ep, cvt_ops) | ^ search.c:1238:12: warning: passing arguments to 'get_scrpos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | get_scrpos(&scrpos); | ^ search.c:1241:34: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | prep_hilite(scrpos.pos, position(BOTTOM_PLUS_ONE), -1); | ^ search.c:1241:13: warning: passing arguments to 'prep_hilite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | prep_hilite(scrpos.pos, position(BOTTOM_PLUS_ONE), -1); | ^ search.c:1307:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | pos = position(linenum); | ^ search.c:1315:21: warning: passing arguments to 'adjsline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | linenum = adjsline(jump_sline); | ^ search.c:1316:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | pos = position(linenum); | ^ search.c:1319:23: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | pos = forw_raw_line(pos, (char **)NULL); | ^ search.c:1324:19: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | pos = position(linenum); | ^ search.c:1332:19: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | pos = position(linenum); | ^ search.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | search_pos(search_type) | ^ search.c:1364:24: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | linenum = find_linenum(pos); | ^ search.c:1400:23: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | pos = forw_raw_line(pos, &line); | ^ search.c:1409:23: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | pos = back_raw_line(pos, &line); | ^ search.c:1434:12: warning: passing arguments to 'add_lnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | add_lnum(linenum, pos); | ^ search.c:1475:13: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | ecalloc(len, sizeof(CHARSET)); | ^ search.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | search_range(pos, endpos, search_type, matches, maxlines, plinepos, pendpos) | ^ search.c:1565:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | error("No previous regular expression", NULL_PARG); | ^ search.c:1571:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | error("Please re-enter search pattern", NULL_PARG); | ^ search.c:1601:27: warning: passing arguments to 'strdup_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | save_pattern = strdup_cs(pattern, charset, &save_charset); | ^ search.c:1684:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | error("Nothing to search", NULL_PARG); | ^ search.c:1710:11: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | jump_loc(pos, jump_sline); | ^ search.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | search(search_type, pattern, charset, n) | ^ In file included from search.c:22: In file included from ./less.h:424: ./funcs.h:247:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 247 | public int search (); | ^ search.c:1766:28: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | max_epos = forw_raw_line(max_epos, (char **)NULL); | ^ search.c:1736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | prep_hilite(spos, epos, maxlines) | ^ In file included from search.c:22: In file included from ./less.h:424: ./funcs.h:248:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 248 | public void prep_hilite (); | ^ search.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | match(pattern, charset, buf, bufcharset, pfound, pend) | ^ search.c:65:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static int match(); | ^ 74 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe signal.c signal.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | u_interrupt(type) | ^ signal.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | stop(type) | ^ signal.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | winch(type) | ^ In file included from signal.c:22: In file included from ./less.h:424: ./funcs.h:250:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 250 | public RETSIGTYPE winch (); | ^ signal.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | init_signals(on) | ^ In file included from signal.c:22: In file included from ./less.h:424: ./funcs.h:251:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 251 | public void init_signals (); | ^ signal.c:212:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | raw_mode(0); | ^ signal.c:225:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | raw_mode(1); | ^ signal.c:266:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | error("Line numbers turned off", NULL_PARG); | ^ 9 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe tags.c tags.c:122:29: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | tp = (struct tag *) ecalloc(sizeof(struct tag), 1); | ^ tags.c:123:33: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | tp->tag_file = (char *) ecalloc(strlen(file) + 1, sizeof(char)); | ^ tags.c:131:37: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | tp->tag_pattern = (char *) ecalloc(strlen(pattern) + 1, sizeof(char)); | ^ tags.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | maketagent(name, file, linenum, pattern, endline) | ^ tags.c:179:20: warning: passing arguments to 'findctag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | result = findctag(tag); | ^ tags.c:181:20: warning: passing arguments to 'findgtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | result = findgtag(tag, type); | ^ tags.c:188:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | error("No tags file", NULL_PARG); | ^ tags.c:191:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | error("No such tag in tags file", NULL_PARG); | ^ tags.c:194:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | error("unknown tag type", NULL_PARG); | ^ tags.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | findtag(tag) | ^ In file included from tags.c:12: In file included from ./less.h:424: ./funcs.h:255:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 255 | public void findtag (); | ^ tags.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | nexttag(n) | ^ In file included from tags.c:12: In file included from ./less.h:424: ./funcs.h:257:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 257 | public char * nexttag (); | ^ tags.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | prevtag(n) | ^ In file included from tags.c:12: In file included from ./less.h:424: ./funcs.h:258:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 258 | public char * prevtag (); | ^ tags.c:283:19: warning: passing arguments to 'shell_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | p = shell_unquote(tags); | ^ tags.c:317:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | p = skipsp(tline+taglen); | ^ tags.c:330:13: warning: passing arguments to 'skipsp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | p = skipsp(p); | ^ tags.c:339:22: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | taglinenum = getnum(&p, 0, &err); | ^ tags.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | findctag(tag) | ^ tags.c:46:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static enum tag_result findctag(); | ^ tags.c:384:14: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | return (edit(curtag->tag_file)); | ^ tags.c:405:24: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | linenum = find_linenum(pos); | ^ tags.c:421:22: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | pos = forw_raw_line(pos, &line); | ^ tags.c:430:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | error("Tag not found", NULL_PARG); | ^ tags.c:440:12: warning: passing arguments to 'add_lnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | add_lnum(linenum, pos); | ^ tags.c:453:38: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | curtag->tag_linenum = find_linenum(linepos); | ^ tags.c:504:22: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | char *cmd = lgetenv("LESSGLOBALTAGS"); | ^ tags.c:528:21: warning: passing arguments to 'shell_quote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | qtag = shell_quote(tag); | ^ tags.c:563:17: warning: passing arguments to 'getentry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | if (getentry(buf, &name, &file, &line)) | ^ tags.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | findgtag(tag, type) | ^ tags.c:47:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static enum tag_result findgtag(); | ^ tags.c:669:18: warning: passing arguments to 'find_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | return (find_pos(curtag->tag_linenum)); | ^ tags.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | getentry(buf, tag, file, line) | ^ tags.c:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int getentry(); | ^ 35 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe ttyin.c ttyin.c:123:17: warning: passing arguments to 'iread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | result = iread(tty, &c, sizeof(char)); | ^ ttyin.c:132:8: warning: passing arguments to 'quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | quit(QUIT_ERROR); | ^ cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe version.c 2 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe multi.c multi.c:265:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | static int unicode_type(c) | ^ multi.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | get_utfwidth(uc) | ^ multi.c:324:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | static int code_length(mp, cs) | ^ multi.c:390:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | static void noconv1(mp) | ^ multi.c:403:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | static void wrongcs1(mp) | ^ multi.c:415:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | static void put_wrongmark(mp) | ^ multi.c:430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | static void wrongucs(mp, uc) | ^ multi.c:504:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | static void wrongchar(mp) | ^ multi.c:587:16: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | multi_reparse(mp); | ^ multi.c:599:16: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | multi_reparse(mp); | ^ multi.c:640:21: warning: passing arguments to 'chisvalid_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | if (chisvalid_cs(mp->io.scs, | ^ multi.c:558:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | static void internalize_iso(mp) | ^ multi.c:679:25: warning: passing arguments to 'checkKANJI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | int ch = checkKANJI(mp->io.scs, | ^ multi.c:707:25: warning: passing arguments to 'checkKANJI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | int ch = checkKANJI(mp->io.scs, | ^ multi.c:661:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | static int internalize_ujis(mp) | ^ multi.c:767:22: warning: passing arguments to 'checkKANJI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | int ch = checkKANJI(mp->io.scs, | ^ multi.c:803:22: warning: passing arguments to 'checkKANJI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | int ch = checkKANJI(mp->io.scs, SCSJISX0213_2ND, c0, c1); | ^ multi.c:736:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | static int internalize_sjis(mp) | ^ multi.c:866:22: warning: passing arguments to 'checkKANJI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | int ch = checkKANJI(mp->io.scs, | ^ multi.c:885:22: warning: passing arguments to 'checkKANJI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | int ch = checkKANJI(mp->io.scs, SCSCP932EX, c0, c1); | ^ multi.c:833:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | static int internalize_cp932(mp) | ^ multi.c:915:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | static int ucs2codeset(mp, uc) | ^ multi.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | flush_pending_ucs(mp) | ^ multi.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | ucs2codeset_combind(mp, uc) | ^ multi.c:1077:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | static int internalize_utf8(mp) | ^ multi.c:1279:22: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | if (control_char(c)) { | ^ multi.c:1330:16: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | multi_reparse(mp); | ^ multi.c:1347:16: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | multi_reparse(mp); | ^ multi.c:1363:16: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | multi_reparse(mp); | ^ multi.c:1381:16: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | multi_reparse(mp); | ^ multi.c:1390:25: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | } else if (control_char(c)) { | ^ multi.c:1437:15: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | multi_reparse(mp); | ^ multi.c:1448:19: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | multi_reparse(mp); | ^ multi.c:1453:28: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | } else if (control_char(c)) { | ^ multi.c:1456:15: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | multi_reparse(mp); | ^ multi.c:1544:18: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | multi_reparse(mp); | ^ multi.c:1267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | static void internalize(mp) | ^ multi.c:1550:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | static int check_ft(mp, c, type, plane) | ^ multi.c:62:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static int check_ft(); | ^ multi.c:1598:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | static int check_irr(mp, c) | ^ multi.c:1618:25: warning: passing arguments to 'change_control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | change_control_char(0177, 0); | ^ multi.c:1622:25: warning: passing arguments to 'change_control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | change_control_char(0177, 1); | ^ multi.c:1629:25: warning: passing arguments to 'change_control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | change_control_char(0377, 0); | ^ multi.c:1633:25: warning: passing arguments to 'change_control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | change_control_char(0377, 1); | ^ multi.c:1610:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | static void fix_status_for_escape_sequence(mp) | ^ multi.c:1738:17: warning: passing arguments to 'is_ansi_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | if (is_ansi_end(c)) | ^ multi.c:1740:21: warning: passing arguments to 'is_ansi_middle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1740 | if (!is_ansi_middle(c)) | ^ multi.c:1794:18: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | multi_reparse(mp); | ^ multi.c:1805:18: warning: passing arguments to 'multi_reparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | multi_reparse(mp); | ^ multi.c:1639:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | static int check_escape_sequence(mp) | ^ multi.c:1874:18: warning: passing arguments to 'init_priority' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | init_priority(mp); | ^ multi.c:1856:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1856 | int set_planeset(name) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:394:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 394 | extern int set_planeset (); | ^ multi.c:1912:22: warning: passing arguments to 'make_unicode_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | make_unicode_map(scs, output & ESUTF8); | ^ multi.c:1900:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | void init_def_scs_es(scs, input, inputr, out) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:395:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 395 | extern void init_def_scs_es (); | ^ multi.c:1915:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | void init_def_priority(pri) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:396:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 396 | extern void init_def_priority (); | ^ multi.c:1924:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | void init_priority(mp) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:397:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 397 | extern void init_priority (); | ^ multi.c:1942:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | J_PRIORITY get_priority(mp) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:398:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 398 | extern J_PRIORITY get_priority (); | ^ multi.c:1952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | void set_priority(mp, pri) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:399:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 399 | extern void set_priority (); | ^ multi.c:1962:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | void set_utfwidth(u) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:400:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 400 | extern void set_utfwidth(); | ^ multi.c:1971:35: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | MULBUF *mp = (MULBUF*) ecalloc(1, sizeof(MULBUF)); | ^ multi.c:1978:40: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | mp->ms = (struct m_status*) ecalloc(1, sizeof(struct m_status)); | ^ multi.c:1979:18: warning: passing arguments to 'init_multibuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1979 | init_multibuf(mp); | ^ multi.c:1983:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1983 | void clear_multibuf(mp) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:402:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 402 | extern void clear_multibuf (); | ^ multi.c:1993:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | static void init_ms(ms) | ^ multi.c:2006:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | void init_multibuf(mp) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:403:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 403 | extern void init_multibuf (); | ^ multi.c:2025:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | static void check_new_buffered_byte(mp) | ^ multi.c:2059:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | static void multi_reparse(mp) | ^ multi.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void multi_reparse(); | ^ multi.c:2110:16: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2110 | if (ch_seek(pos) == 0) { | ^ multi.c:2125:14: warning: passing arguments to 'multi_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2125 | multi_parse(mp, c, NULL_POSITION, NULL, NULL); | ^ multi.c:2128:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | ch_seek(pos); | ^ multi.c:2103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | void multi_find_cs(mp, pos) | ^ multi.c:2142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | void multi_start_buffering(mp, pos) | ^ multi.c:2192:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | void multi_parse(mp, c, pos, mbd, mpos) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:405:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 405 | extern void multi_parse (); | ^ multi.c:2258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2258 | void multi_flush(mp, mbd, mpos) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:406:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 406 | extern void multi_flush (); | ^ multi.c:2269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | void multi_discard(mp) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:407:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 407 | extern void multi_discard (); | ^ multi.c:2283:22: warning: passing arguments to 'make_unicode_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | make_unicode_map(mp->io.scs, output & ESUTF8); | ^ multi.c:2275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2275 | void set_codesets(mp, input, inputr) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:408:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 408 | extern void set_codesets (); | ^ multi.c:2290:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2290 | char *get_icharset_string(mp) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:409:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 409 | extern char * get_icharset_string (); | ^ multi.c:2377:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | static unsigned char *make_escape_sequence(charset) | ^ multi.c:2480:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2480 | static char *convert_to_iso(c, cs) | ^ multi.c:2570:12: warning: passing arguments to 'jis78to90' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2570 | jis78to90(buffer2); | ^ multi.c:2534:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2534 | static char *convert_to_jis(c, cs) | ^ multi.c:2663:13: warning: passing arguments to 'jis78to90' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2663 | jis78to90(cvbuffer); | ^ multi.c:2623:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2623 | static char *convert_to_ujis(c, cs) | ^ multi.c:2745:13: warning: passing arguments to 'jis78to90' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2745 | jis78to90(cvbuffer); | ^ multi.c:2695:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | static char *convert_to_sjis(c, cs) | ^ multi.c:2799:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2799 | static char *convert_to_cp932(c, cs) | ^ multi.c:2871:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2871 | static char *convUTF8(buf, c) | ^ multi.c:2918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2918 | need_combining_utf8(c, cs) | ^ multi.c:3026:12: warning: passing arguments to 'jis78to90' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3026 | jis78to90(cvbuffer); | ^ multi.c:2941:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2941 | static char *convert_to_utf8(c, cs) | ^ multi.c:3074:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | char *outchar(c, cs) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:410:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 410 | extern char * outchar(); | ^ multi.c:3103:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3103 | char *outbuf(p, cs) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:411:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 411 | extern char * outbuf(); | ^ multi.c:3122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3122 | int mwidth(c, cs) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:412:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 412 | extern int mwidth(); | ^ multi.c:3163:19: warning: passing arguments to 'make_unicode_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3163 | make_unicode_map(mp->io.scs, output & ESUTF8); break; | ^ multi.c:3153:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3153 | char *rotate_right_codeset(mp) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:413:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 413 | extern char * rotate_right_codeset (); | ^ multi.c:3178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3178 | int strlen_cs(str, cs) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:414:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 414 | extern int strlen_cs(); | ^ multi.c:3193:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3193 | int chlen_cs(chstr, cs) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:415:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 415 | extern int chlen_cs(); | ^ multi.c:3221:34: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3221 | char* save_str = (char *)ecalloc(len + 1, 1); | ^ multi.c:3222:39: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | CHARSET* save_cs = (CHARSET *)ecalloc(len + 1, sizeof(CHARSET)); | ^ multi.c:3215:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3215 | char* strdup_cs(str, cs, csout) | ^ In file included from multi.c:35: In file included from ./less.h:309: ./multi.h:416:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 416 | extern char* strdup_cs(); | ^ 123 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe unify.c unify.c:60:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | static int comp_convtab(p, q) | ^ unify.c:67:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | static sortedconvtab* make_sortedconvtab(tab) | ^ unify.c:86:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | static convtab* find_convtab_from_sctab(sctab, input) | ^ unify.c:115:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | static void init_convtable(ctable) | ^ unify.c:122:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | static convtab* find_convtab(ctable, input) | ^ unify.c:4444:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4444 | static int iso646p(cs) | ^ unify.c:4487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4487 | void jis78to90(str) | ^ In file included from unify.c:33: In file included from ./less.h:309: ./multi.h:421:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 421 | extern void jis78to90(); | ^ unify.c:4500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4500 | void chconvert_cs(istr, ics, ostr, ocs, flag) | ^ In file included from unify.c:33: In file included from ./less.h:309: ./multi.h:422:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 422 | extern void chconvert_cs(); | ^ unify.c:4644:35: warning: too few arguments in call to 'chconvert_cs' 4644 | chconvert_cs(istr, ics, ostr, ocs); | ~~~~~~~~~~~~ ^ unify.c:4635:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4635 | void chunify_cs(istr, ics, ostr, ocs) | ^ In file included from unify.c:33: In file included from ./less.h:309: ./multi.h:423:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 423 | extern void chunify_cs(); | ^ unify.c:4668:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4668 | int chcmp_cs(str1, cs1, str2, cs2) | ^ In file included from unify.c:33: In file included from ./less.h:309: ./multi.h:424:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 424 | extern int chcmp_cs(); | ^ unify.c:4714:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4714 | static int convKANJI(ok, map, cs, c0, c1) | ^ unify.c:4792:24: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 4792 | && (c0 == 0x74 & (c1 == 0x25 || c1 == 0x26))) { | ~~~~~~~~~~~^ unify.c:4792:24: note: place parentheses around the '==' expression to silence this warning 4792 | && (c0 == 0x74 & (c1 == 0x25 || c1 == 0x26))) { | ^ | ( ) unify.c:4792:24: note: place parentheses around the & expression to evaluate it first 4792 | && (c0 == 0x74 & (c1 == 0x25 || c1 == 0x26))) { | ^ | ( ) unify.c:4763:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4763 | int checkKANJI(out, in, c0, c1) | ^ In file included from unify.c:33: In file included from ./less.h:309: ./multi.h:425:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 425 | extern int checkKANJI(); | ^ unify.c:4819:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4819 | int chisvalid_cs(scs, istr, ics) | ^ In file included from unify.c:33: In file included from ./less.h:309: ./multi.h:426:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 426 | extern int chisvalid_cs(); | ^ cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe kanji_map.c 21 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe unicode_map.c In file included from unicode_map.c:8: ./unicode_map.h:37:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | void make_unicode_map(); | ^ unicode_map.c:42:1: note: conflicting prototype is here 42 | make_unicode_map(SETCHARSET scs, int round_trip) | ^ 1 warning generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe unicode_type.c cc -o less main.o screen.o brac.o ch.o charset.o cmdbuf.o command.o decode.o edit.o filename.o forwback.o help.o ifile.o input.o jump.o line.o linenum.o lsystem.o mark.o optfunc.o option.o opttbl.o os.o output.o position.o prompt.o search.o signal.o tags.o ttyin.o version.o multi.o unify.o kanji_map.o unicode_map.o unicode_type.o -lncurses ld: warning: main.c(main.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: multi.c(multi.o:(get_icharset_string)): warning: sprintf() is often misused, please use snprintf() ld: warning: multi.c(multi.o:(get_icharset_string)): warning: strcat() is almost always misused, please use strlcat() cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe lesskey.c lesskey.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | mkpathname(dirname, filename) | ^ lesskey.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | homefile(filename) | ^ In file included from lesskey.c:90: In file included from ./less.h:424: ./funcs.h:107:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | public char * homefile (); | ^ lesskey.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | parse_args(argc, argv) | ^ lesskey.c:431:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | error("illegal char after \\k"); | ^ lesskey.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | tstr(pp, xlate) | ^ lesskey.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | skipsp(s) | ^ In file included from lesskey.c:90: In file included from ./less.h:424: ./funcs.h:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | public char * skipsp (); | ^ lesskey.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | skipnsp(s) | ^ lesskey.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | clean_line(s) | ^ lesskey.c:528:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | error("too many commands"); | ^ lesskey.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | add_cmd_char(c) | ^ lesskey.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | add_cmd_str(s) | ^ lesskey.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | control_line(s) | ^ lesskey.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | fputbytes(fd, buf, len) | ^ lesskey.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | fputint(fd, val) | ^ lesskey.c:628:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | error("unknown action"); | ^ lesskey.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | findaction(actname) | ^ lesskey.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | error(s) | ^ In file included from lesskey.c:90: In file included from ./less.h:424: ./funcs.h:222:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | public void error (); | ^ lesskey.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | parse_cmdline(p) | ^ lesskey.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | parse_varline(p) | ^ lesskey.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | parse_line(line) | ^ lesskey.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | main(argc, argv) | ^ 24 warnings generated. cc -o lesskey lesskey.o version.o ld: warning: lesskey.c(lesskey.o:(mkpathname)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lesskey.c(lesskey.o:(mkpathname)): warning: strcat() is almost always misused, please use strlcat() cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe lessecho.c lessecho.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | pr_error(s) | ^ lessecho.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | lstrtol(s, radix, pend) | ^ lessecho.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | main(argc, argv) | ^ 3 warnings generated. cc -o lessecho lessecho.o version.o >>> Running package in japanese/less at 1752821125.65 ===> japanese/less ===> Faking installation for ja-less-382.262.03.b.01p1 ./mkinstalldirs /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/bin /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -s -m 755 less /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/bin/jless /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -s -m 755 lesskey /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/bin/jlesskey /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -s -m 755 lessecho /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/bin/jlessecho /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -m 644 ./less.nro /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/man/man1/jless.1 /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -m 644 ./lesskey.nro /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/man/man1/jlesskey.1 /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -d -m 755 /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/share/doc/ja-less /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -m 644 /exopi-obj/pobj/ja-less-382.262.03.b.01/less-382.262.03.b.01/README.iso /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/share/doc/ja-less /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -m 644 /exopi-obj/pobj/ja-less-382.262.03.b.01/less-382.262.03.b.01/README.iso.jp /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/share/doc/ja-less /exopi-obj/pobj/ja-less-382.262.03.b.01/bin/install -c -m 644 /exopi-obj/pobj/ja-less-382.262.03.b.01/less-382.262.03.b.01/README.ext.jp /exopi-obj/pobj/ja-less-382.262.03.b.01/fake-amd64/usr/local/share/doc/ja-less ===> Building package for ja-less-382.262.03.b.01p1 Create /exopi-cvs/ports/packages/amd64/all/ja-less-382.262.03.b.01p1.tgz Creating package ja-less-382.262.03.b.01p1 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 5% checksumming|****** | 11% checksumming|********** | 16% checksumming|************* | 21% checksumming|**************** | 26% checksumming|******************* | 32% checksumming|********************** | 37% checksumming|************************** | 42% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|*********************************** | 58% checksumming|*************************************** | 63% checksumming|****************************************** | 68% checksumming|********************************************* | 74% checksumming|************************************************ | 79% checksumming|*************************************************** | 84% checksumming|******************************************************* | 89% checksumming|********************************************************** | 95% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************************************************* | 86% archiving|******************************************************** | 87% archiving|********************************************************* | 89% archiving|************************************************************* | 96% archiving|************************************************************** | 97% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************|100% /exopi-cvs/ports/plist/amd64/ja-less-382.262.03.b.01p1 was updated @wantlib c.100.3 -> @wantlib c.101.0 @wantlib curses.15.0 -> @wantlib curses.16.0 Link to /exopi-cvs/ports/packages/amd64/ftp/ja-less-382.262.03.b.01p1.tgz >>> Running clean in japanese/less at 1752821130.31 ===> japanese/less ===> Cleaning for ja-less-382.262.03.b.01p1 >>> Ended at 1752821132.97 max_stuck=0.21/build=19.00/package=3.95/clean=3.57