>>> Building on exopi-1 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 1735056090.60 ===> japanese/less ===> Building from scratch ja-less-382.262.03.b.01p1 ===> Verifying specs: c curses ===> found c.100.3 curses.15.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] public void quit (); ^ 45 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe screen.c 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *tgetstr(); ^ /usr/include/termcap.h:63:31: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *tgoto(); ^ /usr/include/termcap.h:64:31: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] putchr(CONTROL('G')); ^ 32 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe brac.c brac.c:46:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (badmark(c)) ^ command.c:1570:27: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *popen(); ^ /usr/include/stdio.h:316:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] !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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] public void backward (); ^ 31 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe help.c 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] public void set_filestate (); ^ 42 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe input.c 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] public void jump_loc (); ^ 48 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe line.c line.c:79:26: warning: passing arguments to 'lgetenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern FILE *popen(); ^ /usr/include/stdio.h:316:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ungetsc("/"); ^ optfunc.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *(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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *(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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *(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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *(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 C2x [-Wdeprecated-non-prototype] *(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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*(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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] public char * pr_expand (); ^ prompt.c:553:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 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] prompt = pr_expand((ch_getflags() & CH_HELPFILE) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prompt.c:580:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] quit(QUIT_ERROR); ^ 2 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe version.c 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void chconvert_cs(); ^ unify.c:4644:35: warning: too few arguments in call to 'chconvert_cs' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static int convKANJI(ok, map, cs, c0, c1) ^ unify.c:4792:24: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] && (c0 == 0x74 & (c1 == 0x25 || c1 == 0x26))) { ~~~~~~~~~~~^ unify.c:4792:24: note: place parentheses around the '==' expression to silence this warning && (c0 == 0x74 & (c1 == 0x25 || c1 == 0x26))) { ^ ( ) unify.c:4792:24: note: place parentheses around the & expression to evaluate it first && (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int chisvalid_cs(); ^ 21 warnings generated. cc -I. -c -DBINDIR=\"/usr/local/bin\" -DSYSDIR=\"/etc\" -O2 -pipe kanji_map.c 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void make_unicode_map(); ^ unicode_map.c:42:1: note: conflicting prototype is here 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: line.c(line.o:(plinenum)): 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 3 warnings generated. cc -o lessecho lessecho.o version.o >>> Running package in japanese/less at 1735056111.55 ===> 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% Link to /exopi-cvs/ports/packages/amd64/ftp/ja-less-382.262.03.b.01p1.tgz >>> Running clean in japanese/less at 1735056113.89 ===> japanese/less ===> Cleaning for ja-less-382.262.03.b.01p1 >>> Ended at 1735056114.15 max_stuck=0.00/build=20.94/package=2.36/clean=0.28