>>> Building on exopi-4 under editors/uemacs BDEPENDS = [archivers/unzip] DIST = [editors/uemacs:ue400dev.zip] FULLPKGNAME = uemacs-4.0p2 (Junk lock obtained for exopi-4 at 1764614192.14) >>> Running depends in editors/uemacs at 1764614192.17 /usr/sbin/pkg_add -aI -Drepair unzip-6.0p18 was: /usr/sbin/pkg_add -aI -Drepair unzip-6.0p18 /usr/sbin/pkg_add -aI -Drepair unzip-6.0p18 >>> Running show-prepare-results in editors/uemacs at 1764614193.13 ===> editors/uemacs ===> Building from scratch uemacs-4.0p2 ===> uemacs-4.0p2 depends on: unzip-* -> unzip-6.0p18 ===> Verifying specs: c curses ===> found c.102.2 curses.16.0 unzip-6.0p18 (Junk lock released for exopi-4 at 1764614193.84) distfiles size=1179949 >>> Running build in editors/uemacs at 1764614193.88 ===> editors/uemacs ===> Checking files for uemacs-4.0p2 `/exopi-cvs/ports/distfiles/ue400dev.zip' is up to date. >> (SHA256) all files: OK ===> Extracting for uemacs-4.0p2 ===> Patching for uemacs-4.0p2 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig 2004-01-06 04:20:22.000000000 +0100 |+++ Makefile 2004-01-06 04:20:22.000000000 +0100 -------------------------- (Creating file Makefile...) Patching file Makefile using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-freebsd_estruct_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- freebsd/estruct.h.orig 2004-01-06 04:20:22.000000000 +0100 |+++ freebsd/estruct.h 2004-01-06 04:20:22.000000000 +0100 -------------------------- (Creating file freebsd/estruct.h...) Patching file freebsd/estruct.h using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-freebsd_makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- freebsd/makefile.orig 1995-11-18 13:19:02.000000000 +0100 |+++ freebsd/makefile 2004-01-06 04:20:22.000000000 +0100 -------------------------- Patching file freebsd/makefile using Plan A... Hunk #1 succeeded at 14. done ===> Applying OpenBSD patch patch-h_ebind_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- h/ebind.h.orig 1995-12-31 15:04:34.000000000 +0100 |+++ h/ebind.h 2004-01-06 04:20:22.000000000 +0100 -------------------------- Patching file h/ebind.h using Plan A... Hunk #1 succeeded at 93. Hunk #2 succeeded at 155. done ===> Applying OpenBSD patch patch-h_epath_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- h/epath.h.orig 2004-01-06 04:20:22.000000000 +0100 |+++ h/epath.h 2004-01-06 04:20:22.000000000 +0100 -------------------------- Patching file h/epath.h using Plan A... Hunk #1 succeeded at 64. done ===> Applying OpenBSD patch patch-h_eproto_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: h/eproto.h |--- h/eproto.h.orig |+++ h/eproto.h -------------------------- Patching file h/eproto.h using Plan A... Hunk #1 succeeded at 422. Hunk #2 succeeded at 552. done ===> Applying OpenBSD patch patch-openbsd_estruct_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- openbsd/estruct.h.orig 2004-01-06 04:20:22.000000000 +0100 |+++ openbsd/estruct.h 2004-01-06 04:23:14.000000000 +0100 -------------------------- (Creating file openbsd/estruct.h...) Patching file openbsd/estruct.h using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-openbsd_makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- openbsd/makefile.orig 1995-11-18 13:19:02.000000000 +0100 |+++ openbsd/makefile 2004-01-06 04:20:22.000000000 +0100 -------------------------- Patching file openbsd/makefile using Plan A... Hunk #1 succeeded at 14. done ===> Applying OpenBSD patch patch-src_bind_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/bind.c |--- src/bind.c.orig |+++ src/bind.c -------------------------- Patching file src/bind.c using Plan A... Hunk #1 succeeded at 634. Hunk #2 succeeded at 690. done ===> Applying OpenBSD patch patch-src_char_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/char.c |--- src/char.c.orig |+++ src/char.c -------------------------- Patching file src/char.c using Plan A... Hunk #1 succeeded at 142. done ===> Applying OpenBSD patch patch-src_dolock_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/dolock.c.orig 1995-11-19 03:09:20.000000000 +0100 |+++ src/dolock.c 2004-01-06 04:20:22.000000000 +0100 -------------------------- Patching file src/dolock.c using Plan A... Hunk #1 succeeded at 53. done ===> Applying OpenBSD patch patch-src_eval_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/eval.c |--- src/eval.c.orig |+++ src/eval.c -------------------------- Patching file src/eval.c using Plan A... Hunk #1 succeeded at 1470. done ===> Applying OpenBSD patch patch-src_file_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/file.c |--- src/file.c.orig |+++ src/file.c -------------------------- Patching file src/file.c using Plan A... Hunk #1 succeeded at 11. Hunk #2 succeeded at 323. Hunk #3 succeeded at 428. Hunk #4 succeeded at 600. Hunk #5 succeeded at 680. done ===> Applying OpenBSD patch patch-src_fileio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/fileio.c.orig 1995-11-19 03:09:22.000000000 +0100 |+++ src/fileio.c 2004-01-06 04:20:22.000000000 +0100 -------------------------- Patching file src/fileio.c using Plan A... Hunk #1 succeeded at 106. done ===> Applying OpenBSD patch patch-src_input_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/input.c |--- src/input.c.orig |+++ src/input.c -------------------------- Patching file src/input.c using Plan A... Hunk #1 succeeded at 47. Hunk #2 succeeded at 244. Hunk #3 succeeded at 353. done ===> Applying OpenBSD patch patch-src_keyboard_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/keyboard.c |--- src/keyboard.c.orig |+++ src/keyboard.c -------------------------- Patching file src/keyboard.c using Plan A... Hunk #1 succeeded at 224. done ===> Applying OpenBSD patch patch-src_lock_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/lock.c |--- src/lock.c.orig |+++ src/lock.c -------------------------- Patching file src/lock.c using Plan A... Hunk #1 succeeded at 10. Hunk #2 succeeded at 158. done ===> Applying OpenBSD patch patch-src_unix_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/unix.c |--- src/unix.c.orig |+++ src/unix.c -------------------------- Patching file src/unix.c using Plan A... Hunk #1 succeeded at 81. Hunk #2 succeeded at 98. Hunk #3 succeeded at 109. Hunk #4 succeeded at 126. Hunk #5 succeeded at 485. Hunk #6 succeeded at 1202. Hunk #7 succeeded at 1225. Hunk #8 succeeded at 1327. Hunk #9 succeeded at 1726. done ===> 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 uemacs-4.0p2 ===> Configuring for uemacs-4.0p2 ===> Building for uemacs-4.0p2 (cd openbsd; make emacs) cc -O2 -pipe -I. -I../h -c -o ./abbrev.o ../src/abbrev.c In file included from ../src/abbrev.c:8: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/abbrev.c:12:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | VOID PASCAL NEAR ab_save(c) | ^ ../src/abbrev.c:14:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 14 | char c; /* character to add to current word buffer */ | ^ ../h/eproto.h:481:38: note: previous declaration is here 481 | extern VOID PASCAL NEAR ab_save(char c); | ^ ../src/abbrev.c:86:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | int PASCAL NEAR add_abbrev(f, n) | ^ ../src/abbrev.c:117:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | int PASCAL NEAR del_abbrev(f, n) | ^ ../src/abbrev.c:137:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | int PASCAL NEAR kill_abbrevs(f, n) | ^ ../src/abbrev.c:146:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int PASCAL NEAR desc_abbrevs(f, n) | ^ ../src/abbrev.c:195:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | int PASCAL NEAR ins_abbrevs(f, n) | ^ ../src/abbrev.c:220:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | int PASCAL NEAR def_abbrevs(f, n) | ^ ../src/abbrev.c:227:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 227 | register llength; /* length of the current line being examined */ | ~~~~~~~~ ^ | int ../src/abbrev.c:267:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 267 | } | ^ ../src/abbrev.c:284:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | int PASCAL NEAR ab_insert(sym, expansion) | ^ ../src/abbrev.c:356:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | char *PASCAL NEAR ab_lookup(sym) | ^ ../src/abbrev.c:381:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | int PASCAL NEAR ab_delete(sym) | ^ 14 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./basic.o ../src/basic.c In file included from ../src/basic.c:13: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/basic.c:22:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | PASCAL NEAR gotobol(f, n) | ^ | int ../src/basic.c:22:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:37:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 37 | PASCAL NEAR backchar(f, n) | ^ | int ../src/basic.c:37:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:66:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | PASCAL NEAR gotoeol(f, n) | ^ | int ../src/basic.c:66:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:81:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | PASCAL NEAR forwchar(f, n) | ^ | int ../src/basic.c:81:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:105:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | PASCAL NEAR gotoline(f, n) /* move to a particular line. | ^ | int ../src/basic.c:105:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:140:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | PASCAL NEAR gotobob(f, n) | ^ | int ../src/basic.c:140:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:156:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | PASCAL NEAR gotoeob(f, n) | ^ | int ../src/basic.c:156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:173:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 173 | PASCAL NEAR forwline(f, n) | ^ | int ../src/basic.c:173:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:217:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | PASCAL NEAR backline(f, n) | ^ | int ../src/basic.c:217:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:256:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | PASCAL NEAR gotobop(f, n) /* go back to the beginning of the current paragraph | ^ | int ../src/basic.c:256:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:322:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 322 | PASCAL NEAR gotoeop(f, n) /* go forword to the end of the current paragraph | ^ | int ../src/basic.c:322:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:402:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | int PASCAL NEAR getgoal(dlp) | ^ ../src/basic.c:436:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 436 | PASCAL NEAR forwpage(f, n) | ^ | int ../src/basic.c:436:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:469:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 469 | PASCAL NEAR backpage(f, n) | ^ | int ../src/basic.c:469:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:501:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 501 | PASCAL NEAR setmark(f, n) | ^ | int ../src/basic.c:501:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:522:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 522 | PASCAL NEAR remmark(f, n) | ^ | int ../src/basic.c:522:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:545:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 545 | PASCAL NEAR swapmark(f, n) | ^ | int ../src/basic.c:545:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/basic.c:578:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 578 | PASCAL NEAR gotomark(f, n) | ^ | int ../src/basic.c:578:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./bind.o ../src/bind.c In file included from ../src/bind.c:9: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/bind.c:14:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | PASCAL NEAR help(f, n) /* give me some help!!!! | ^ | int ../src/bind.c:14:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:28:17: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 28 | fname = flook(pathname[1], FALSE); | ^~~~~~~~~~~ ../h/eproto.h:89:38: note: passing argument to parameter 'fname' here 89 | extern char *PASCAL NEAR flook(char *fname, int hflag); | ^ ../src/bind.c:54:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | PASCAL NEAR deskey(f, n) /* describe the command for a certain key */ | ^ | int ../src/bind.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:84:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | PASCAL NEAR bindtokey(f, n) | ^ | int ../src/bind.c:84:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:183:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | PASCAL NEAR macrotokey(f, n) | ^ | int ../src/bind.c:183:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:261:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 261 | PASCAL NEAR unbindkey(f, n) | ^ | int ../src/bind.c:261:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:289:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 289 | PASCAL NEAR unbindchar(c) | ^ | int ../src/bind.c:289:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:336:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | VOID PASCAL NEAR unbind_buf(bp) | ^ ../src/bind.c:362:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | PASCAL NEAR desbind(f, n) | ^ | int ../src/bind.c:362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:370:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | PASCAL NEAR apro(f, n) /* Apropos (List functions that match a substring) */ | ^ | int ../src/bind.c:370:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:386:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | PASCAL NEAR buildlist(type, mstring) /* build a binding list (limited or full) */ | ^ | int ../src/bind.c:386:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:522:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 522 | PASCAL NEAR strinc(source, sub) /* does source include sub? */ | ^ | int ../src/bind.c:522:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:558:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | unsigned int PASCAL NEAR getckey(mflag) | ^ ../src/bind.c:582:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 582 | PASCAL NEAR startup(sfname) | ^ | int ../src/bind.c:582:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/bind.c:600:17: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 600 | fname = flook(pathname[0], TRUE); | ^~~~~~~~~~~ ../h/eproto.h:89:38: note: passing argument to parameter 'fname' here 89 | extern char *PASCAL NEAR flook(char *fname, int hflag); | ^ ../src/bind.c:626:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | char *PASCAL NEAR flook(fname, hflag) | ^ ../src/bind.c:749:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | char *PASCAL NEAR cmdstr(c, seq) | ^ ../src/bind.c:815:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | KEYTAB *getbind(c) | ^ ../src/bind.c:838:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | char *PASCAL NEAR getfname(key) | ^ ../src/bind.c:884:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | int (PASCAL NEAR *PASCAL NEAR fncmatch(fname))() | ^ ../src/bind.c:898:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | char *PASCAL NEAR namval(index) | ^ ../src/bind.c:924:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | unsigned int PASCAL NEAR stock(keyname) | ^ ../src/bind.c:996:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | char *PASCAL NEAR transbind(skey) /* string key name to binding name.... */ | ^ ../src/bind.c:1005:12: warning: assigning to 'char *' from 'const char[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1005 | bindname = errorm; | ^ ~~~~~~ ../src/bind.c:1010:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | int PASCAL NEAR execkey(key, f, n) /* execute a function bound to a key */ | ^ ../src/bind.c:1020:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | return((*(key->k_ptr.fp))(f, n)); | ^ 38 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./buffer.o ../src/buffer.c In file included from ../src/buffer.c:12: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/buffer.c:22:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | PASCAL NEAR usebuffer(f, n) | ^ | int ../src/buffer.c:22:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:44:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | PASCAL NEAR nextbuffer(f, n) /* switch to the next buffer in the buffer list */ | ^ | int ../src/buffer.c:44:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:69:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | PASCAL NEAR swbuffer(bp) /* make buffer BP current */ | ^ | int ../src/buffer.c:69:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:154:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 154 | PASCAL NEAR killbuffer(f, n) | ^ | int ../src/buffer.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:173:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 173 | PASCAL NEAR popbuffer(f, n) | ^ | int ../src/buffer.c:173:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:218:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 218 | PASCAL NEAR zotbuf(bp) /* kill the buffer pointed to by bp */ | ^ | int ../src/buffer.c:218:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:274:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 274 | PASCAL NEAR namebuffer(f,n) /* Rename the current buffer */ | ^ | int ../src/buffer.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:309:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 309 | PASCAL NEAR listbuffers(f, n) | ^ | int ../src/buffer.c:309:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:330:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 330 | PASCAL NEAR makelist(iflag) | ^ | int ../src/buffer.c:330:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:464:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | VOID PASCAL NEAR flong_asc(buf, width, num) | ^ ../src/buffer.c:491:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | PASCAL NEAR anycb() | ^ | int ../src/buffer.c:511:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | BUFFER *PASCAL NEAR bfind(bname, cflag, bflag) | ^ ../src/buffer.c:601:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 601 | PASCAL NEAR bclear(bp) | ^ | int ../src/buffer.c:601:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/buffer.c:627:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 627 | PASCAL NEAR unmark(f, n) /* unmark the current buffers change flag */ | ^ | int ../src/buffer.c:627:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./char.o ../src/char.c In file included from ../src/char.c:11: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/char.c:21:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int PASCAL NEAR is_letter(ch) | ^ ../src/char.c:23:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 23 | register char ch; | ^ ../h/eproto.h:182:39: note: previous declaration is here 182 | extern int PASCAL NEAR is_letter(char ch); | ^ ../src/char.c:34:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | int PASCAL NEAR is_lower(ch) | ^ ../src/char.c:36:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 36 | register char ch; | ^ ../h/eproto.h:183:38: note: previous declaration is here 183 | extern int PASCAL NEAR is_lower(char ch); | ^ ../src/char.c:47:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | int PASCAL NEAR is_upper(ch) | ^ ../src/char.c:49:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 49 | register char ch; | ^ ../h/eproto.h:186:38: note: previous declaration is here 186 | extern int PASCAL NEAR is_upper(char ch); | ^ ../src/char.c:62:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | unsigned int PASCAL NEAR chcase(ch) | ^ ../src/char.c:79:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | VOID PASCAL NEAR uppercase(cp) | ^ ../src/char.c:91:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | VOID PASCAL NEAR lowercase(cp) | ^ ../src/char.c:259:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | int PASCAL NEAR setlower(ch, val) | ^ ../src/char.c:270:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | int PASCAL NEAR setupper(ch, val) | ^ ../src/char.c:284:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | char *strrev(our_str) | ^ 13 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./crypt.o ../src/crypt.c In file included from ../src/crypt.c:7: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/crypt.c:19:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 19 | PASCAL NEAR setekey(f, n) /* reset encryption key of current buffer */ | ^ | int ../src/crypt.c:19:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/crypt.c:143:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | VOID PASCAL NEAR ecrypt(bptr, len) | ^ ../src/crypt.c:205:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | static int PASCAL NEAR mod95(val) | ^ 5 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./display.o ../src/display.c In file included from ../src/display.c:11: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/display.c:253:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | PASCAL NEAR vttidy() | ^ | int ../src/display.c:260:1: warning: non-void function does not return a value [-Wreturn-type] 260 | } | ^ ../src/display.c:267:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | PASCAL NEAR vtmove(row, col) | ^ | int ../src/display.c:267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/display.c:274:1: warning: non-void function does not return a value [-Wreturn-type] 274 | } | ^ ../src/display.c:283:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 283 | PASCAL NEAR vtputc(c) | ^ | int ../src/display.c:283:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/display.c:335:1: warning: non-void function does not return a value [-Wreturn-type] 335 | } | ^ ../src/display.c:341:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 341 | PASCAL NEAR vteeol() | ^ | int ../src/display.c:351:1: warning: non-void function does not return a value [-Wreturn-type] 351 | } | ^ ../src/display.c:356:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | int PASCAL NEAR upscreen(f, n) | ^ ../src/display.c:372:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | VOID PASCAL NEAR update(force) | ^ ../src/display.c:486:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 486 | else | ^ ../src/display.c:513:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | VOID PASCAL NEAR reframe(wp) | ^ ../src/display.c:749:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | VOID PASCAL NEAR updone(wp) | ^ ../src/display.c:784:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | VOID PASCAL NEAR updall(wp) | ^ ../src/display.c:1097:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | VOID PASCAL NEAR updupd(force) | ^ ../src/display.c:1187:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | VOID PASCAL NEAR update_line(row, vp, pp) | ^ ../src/display.c:1394:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | VOID PASCAL NEAR modeline(wp) | ^ ../src/display.c:1584:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | VOID PASCAL NEAR getdtime(ts) /* get the current display time string */ | ^ ../src/display.c:1661:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | VOID PASCAL NEAR movecursor(row, col) | ^ ../src/display.c:1746:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | VOID PASCAL NEAR mlout(c) | ^ ../src/display.c:2042:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | VOID PASCAL NEAR mlforce(s) | ^ ../src/display.c:2061:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | VOID PASCAL NEAR mlabort(s) | ^ ../src/display.c:2074:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | VOID PASCAL NEAR mlputs(s) | ^ ../src/display.c:2091:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | VOID PASCAL NEAR mlputi(i, r) | ^ ../src/display.c:2117:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2117 | VOID PASCAL NEAR mlputli(l, r) | ^ ../src/display.c:2144:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | VOID PASCAL NEAR mlputf(s) | ^ ../src/display.c:2165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2165 | winch_vtresize(rows, cols) | ^ | int ../src/display.c:2165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/display.c:2224:1: warning: non-void function does not return a value [-Wreturn-type] 2224 | } | ^ 32 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./dolock.o ../src/dolock.c In file included from ../src/dolock.c:8: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/dolock.c:458:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 458 | dolhello() | ^ | int ../src/dolock.c:460:1: warning: non-void function does not return a value [-Wreturn-type] 460 | } | ^ 3 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./eval.o ../src/eval.c In file included from ../src/eval.c:8: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/eval.c:15:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | VOID PASCAL NEAR uv_init(ut) | ^ ../src/eval.c:42:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | VOID PASCAL NEAR uv_clean(ut) /* discard the contents of a user variable table */ | ^ ../src/eval.c:55:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | VOID PASCAL NEAR varclean(ut) /* discard and clear all user variable tables */ | ^ ../src/eval.c:71:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | char *PASCAL NEAR gtfun(fname) /* evaluate a function */ | ^ ../src/eval.c:92:9: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 92 | return(errorm); | ^~~~~~~~ ../src/eval.c:98:10: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 98 | return(errorm); | ^~~~~~~~ ../src/eval.c:103:11: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 103 | return(errorm); | ^~~~~~~~ ../src/eval.c:108:12: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 108 | return(errorm); | ^~~~~~~~ ../src/eval.c:133:12: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 133 | return(errorm); | ^~~~~~~~ ../src/eval.c:151:12: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 151 | return(errorm); | ^~~~~~~~ ../src/eval.c:168:30: warning: passing 'const char[]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 168 | return(bytecopy(result, errorm, NSTRING * 2)); | ^~~~~~ ../h/eproto.h:83:52: note: passing argument to parameter 'src' here 83 | extern char *PASCAL NEAR bytecopy(char *dst, char *src, int maxlen); | ^ ../src/eval.c:213:12: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 213 | return(errorm); | ^~~~~~~~ ../src/eval.c:240:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 240 | } | ^ ../src/eval.c:242:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | char *PASCAL NEAR gtusr(vname) /* look up a user var's value */ | ^ ../src/eval.c:275:12: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 275 | return(errorm); | ^~~~~~~~ ../src/eval.c:283:8: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 283 | return(errorm); | ^~~~~~~~ ../src/eval.c:286:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | char *PASCAL NEAR funval(i) | ^ ../src/eval.c:294:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | char *PASCAL NEAR envval(i) | ^ ../src/eval.c:302:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | PASCAL NEAR binary(key, tval, tlength, klength) | ^ | int ../src/eval.c:302:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/eval.c:323:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | cresult = strncmp(key, (*tval)(i), klength); | ^ ../src/eval.c:334:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | char *PASCAL NEAR gtenv(vname) | ^ ../src/eval.c:347:9: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 347 | return(errorm); | ^~~~~~~~ ../src/eval.c:372:25: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 372 | case EVDESKCLR: return(cname[deskcolor]); | ^~~~~~~~~~~~~~~~~~ ../src/eval.c:454:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 454 | } | ^ ../src/eval.c:456:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | char *PASCAL NEAR fixnull(s) /* Don't return NULL pointers! */ | ^ ../src/eval.c:534:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | char *PASCAL NEAR trimstr(s) /* trim whitespace off the end of a string */ | ^ ../src/eval.c:548:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | int PASCAL NEAR setvar(f, n) /* set a variable */ | ^ ../src/eval.c:622:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | int PASCAL NEAR global_var(f, n) /* declare a global variable */ | ^ ../src/eval.c:681:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | int PASCAL NEAR local_var(f, n) /* declare a local variable */ | ^ ../src/eval.c:742:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | VOID PASCAL NEAR findvar(var, vd, size, scope) | ^ ../src/eval.c:819:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | int PASCAL NEAR svar(var, value) /* set a variable */ | ^ ../src/eval.c:1101:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | int PASCAL NEAR asc_int(st) | ^ ../src/eval.c:1138:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | char *PASCAL NEAR int_asc(i) | ^ ../src/eval.c:1181:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | char *PASCAL NEAR long_asc(num) | ^ ../src/eval.c:1215:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | int PASCAL NEAR gettyp(token) /* find the type of a passed token */ | ^ ../src/eval.c:1248:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | char *PASCAL NEAR getval(token) /* find the value of a token */ | ^ ../src/eval.c:1319:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1319 | } | ^ ../src/eval.c:1321:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | int PASCAL NEAR stol(val) /* convert a string to a numeric logical */ | ^ ../src/eval.c:1336:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | char *PASCAL NEAR ltos(val) /* numeric logical to string logical */ | ^ ../src/eval.c:1342:9: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1342 | return(truem); | ^~~~~~~ ../src/eval.c:1344:9: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1344 | return(falsem); | ^~~~~~~~ ../src/eval.c:1347:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | char *PASCAL NEAR mkupper(str) /* make a string upper case */ | ^ ../src/eval.c:1360:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | char *PASCAL NEAR mklower(str) /* make a string lower case */ | ^ ../src/eval.c:1373:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | int PASCAL NEAR absv(x) /* take the absolute value of an integer */ | ^ ../src/eval.c:1398:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | int PASCAL NEAR sindex(source, pattern) /* find pattern within source */ | ^ ../src/eval.c:1433:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | char *PASCAL NEAR xlat(source, lookup, trans) | ^ ../src/eval.c:1473:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | void PASCAL NEAR setwlist(wclist) | ^ ../src/eval.c:1501:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | char *PASCAL NEAR getwlist(buf) | ^ ../src/eval.c:1525:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | int PASCAL NEAR is_num(st) | ^ ../src/eval.c:1558:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1558 | int PASCAL NEAR dispvar(f, n) /* display a variable's value */ | ^ ../src/eval.c:1608:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1608 | PASCAL NEAR desvars(f, n) | ^ | int ../src/eval.c:1608:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/eval.c:1711:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | int PASCAL NEAR desfunc(f, n) | ^ ../src/eval.c:1754:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | VOID PASCAL NEAR pad(s, len) /* pad a string to indicated length */ | ^ 56 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./exec.o ../src/exec.c In file included from ../src/exec.c:8: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/exec.c:14:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | PASCAL NEAR namedcmd(f, n) | ^ | int ../src/exec.c:14:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:43:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | status = (*kfunc)(f, n); /* call the function */ | ^ ../src/exec.c:58:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | return((*kfunc)(f, n)); | ^ ../src/exec.c:64:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | PASCAL NEAR execcmd(f, n) | ^ | int ../src/exec.c:64:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:91:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | PASCAL NEAR docmd(cline) | ^ | int ../src/exec.c:91:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:168:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | status = (*fnc)(f, n); /* call the function */ | ^ ../src/exec.c:179:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | char *PASCAL NEAR token(src, tok, size) | ^ ../src/exec.c:241:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | PASCAL NEAR macarg(tok) /* get a macro line argument */ | ^ | int ../src/exec.c:241:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:258:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 258 | PASCAL NEAR nextarg(prompt, buffer, size, terminator) | ^ | int ../src/exec.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:293:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 293 | PASCAL NEAR storeproc(f, n) | ^ | int ../src/exec.c:293:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:364:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 364 | PASCAL NEAR execproc(f, n) | ^ | int ../src/exec.c:364:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:398:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 398 | PASCAL NEAR execbuf(f, n) | ^ | int ../src/exec.c:398:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:439:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 439 | PASCAL NEAR dobuf(bp) | ^ | int ../src/exec.c:439:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:946:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | VOID PASCAL NEAR errormesg(mesg, bp, lp) | ^ ../src/exec.c:974:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 974 | PASCAL NEAR debug(bp, eline, skipflag) | ^ | int ../src/exec.c:974:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:1102:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | VOID PASCAL NEAR freewhile(wp) /* free a list of while block pointers */ | ^ ../src/exec.c:1113:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1113 | PASCAL NEAR execfile(f, n) /* execute a series of commands in a file */ | ^ | int ../src/exec.c:1113:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/exec.c:1164:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1164 | PASCAL NEAR dofile(fname) | ^ | int ../src/exec.c:1164:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./file.o ../src/file.c In file included from ../src/file.c:11: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/file.c:26:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | PASCAL NEAR fileread(f, n) | ^ | int ../src/file.c:26:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:49:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | PASCAL NEAR insfile(f, n) | ^ | int ../src/file.c:49:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:92:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | PASCAL NEAR filefind(f, n) | ^ | int ../src/file.c:92:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:108:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | PASCAL NEAR viewfile(f, n) /* visit a file in VIEW mode */ | ^ | int ../src/file.c:108:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:131:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | PASCAL NEAR resetkey() /* reset the encryption key if needed */ | ^ | int ../src/file.c:164:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 164 | PASCAL NEAR getfile(fname, lockfl) | ^ | int ../src/file.c:164:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:255:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | PASCAL NEAR readin(fname, lockfl) | ^ | int ../src/file.c:255:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:329:7: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | if (access(fname, 2 /* W_OK*/) != 0) | ^ ../src/file.c:389:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | char *PASCAL NEAR makename(bname, fname) | ^ ../src/file.c:450:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | VOID PASCAL NEAR unqname(name) /* make sure a buffer name is unique */ | ^ ../src/file.c:483:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 483 | PASCAL NEAR filewrite(f, n) | ^ | int ../src/file.c:483:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:506:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 506 | PASCAL NEAR fileapp(f, n) /* append file */ | ^ | int ../src/file.c:506:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:535:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 535 | PASCAL NEAR filesave(f, n) | ^ | int ../src/file.c:535:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:591:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 591 | PASCAL NEAR writeout(fn, mode) | ^ | int ../src/file.c:591:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:689:8: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | if (unlink(fn) == 0 && rename(tname, fn) == 0) { | ^ ../src/file.c:691:5: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 691 | chown(fn, (int)st.st_uid, (int)st.st_gid); | ^ ../src/file.c:722:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 722 | PASCAL NEAR filename(f, n) | ^ | int ../src/file.c:722:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:750:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 750 | PASCAL NEAR ifile(fname) | ^ | int ../src/file.c:750:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/file.c:862:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 862 | PASCAL NEAR showfiles(f, n) | ^ | int ../src/file.c:862:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./fileio.o ../src/fileio.c In file included from ../src/fileio.c:10: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/fileio.c:31:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | PASCAL NEAR ffropen(fn) | ^ | int ../src/fileio.c:31:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/fileio.c:54:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | PASCAL NEAR ffwopen(fn, mode) | ^ | int ../src/fileio.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/fileio.c:94:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | PASCAL NEAR ffclose() | ^ | int ../src/fileio.c:127:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | PASCAL NEAR ffputline(buf, nbuf) | ^ | int ../src/fileio.c:127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/fileio.c:186:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 186 | PASCAL NEAR ffgetline(nbytes) | ^ | int ../src/fileio.c:186:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/fileio.c:259:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | int PASCAL NEAR fexist(fname) /* does exist on disk? */ | ^ 11 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./input.o ../src/input.c In file included from ../src/input.c:46: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/input.c:52:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 52 | extern struct passwd *getpwnam(); | ^ /usr/include/pwd.h:95:16: note: conflicting prototype is here 95 | struct passwd *getpwnam(const char *); | ^ ../src/input.c:62:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | PASCAL NEAR mlyesno(prompt) | ^ | int ../src/input.c:62:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/input.c:109:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | PASCAL NEAR mlreply(prompt, buf, nbuf) | ^ | int ../src/input.c:109:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/input.c:122:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | PASCAL NEAR ectoc(c) | ^ | int ../src/input.c:122:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/input.c:139:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 139 | PASCAL NEAR ctoec(c) | ^ | int ../src/input.c:139:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/input.c:159:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | int (PASCAL NEAR *PASCAL NEAR getname(prompt))() | ^ ../src/input.c:180:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | BUFFER *PASCAL NEAR getcbuf(prompt, defval, createflag) | ^ ../src/input.c:196:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | char *PASCAL NEAR gtfilename(prompt) | ^ ../src/input.c:213:22: warning: address of array 'curbp->b_fname' will always evaluate to 'true' [-Wpointer-bool-conversion] 213 | if (curbp && curbp->b_fname && strcmp(curbp->b_fname, "") != 0) | ~~ ~~~~~~~^~~~~~~ ../src/input.c:232:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | char *PASCAL NEAR complete(prompt, defval, type, maxlen) | ^ ../src/input.c:265:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 265 | else if (defval) | ^ ../src/input.c:495:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | VOID PASCAL NEAR comp_command(name, cpos) | ^ ../src/input.c:575:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | VOID PASCAL NEAR clist_command(name, cpos) | ^ ../src/input.c:611:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | VOID PASCAL NEAR comp_buffer(name, cpos) | ^ ../src/input.c:688:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | VOID PASCAL NEAR clist_buffer(name, cpos) | ^ ../src/input.c:727:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | VOID PASCAL NEAR comp_file(name, cpos) | ^ ../src/input.c:806:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | VOID PASCAL NEAR clist_file(name, cpos) | ^ ../src/input.c:989:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | int PASCAL NEAR getstring(buf, nbuf, eolchar) | ^ ../src/input.c:1139:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1139 | PASCAL NEAR outstring(s) /* output a string of input characters */ | ^ | int ../src/input.c:1139:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/input.c:1147:1: warning: non-void function does not return a value [-Wreturn-type] 1147 | } | ^ ../src/input.c:1149:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1149 | PASCAL NEAR ostring(s) /* output a string of output characters */ | ^ | int ../src/input.c:1149:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/input.c:1157:1: warning: non-void function does not return a value [-Wreturn-type] 1157 | } | ^ ../src/input.c:1163:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | int PASCAL NEAR mlprompt(prompt, dflt, iterm) | ^ ../src/input.c:1206:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | int PASCAL NEAR echostring(str, tcol, uptocol) | ^ ../src/input.c:1229:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | int PASCAL NEAR echochar(c) | ^ ../src/input.c:1231:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 1231 | unsigned char c; /* character to be echoed */ | ^ ../h/eproto.h:156:47: note: previous declaration is here 156 | extern int PASCAL NEAR echochar(unsigned char c); | ^ 33 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./isearch.o ../src/isearch.c In file included from ../src/isearch.c:33: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/isearch.c:57:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | int PASCAL NEAR risearch(f, n) | ^ ../src/isearch.c:67:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | if (status = isearch(REVERSE)) | ~~~~~~~^~~~~~~~~~~~~~~~~~ ../src/isearch.c:67:13: note: place parentheses around the assignment to silence this warning 67 | if (status = isearch(REVERSE)) | ^ | ( ) ../src/isearch.c:67:13: note: use '==' to turn this assignment into an equality comparison 67 | if (status = isearch(REVERSE)) | ^ | == ../src/isearch.c:77:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | int PASCAL NEAR fisearch(f, n) | ^ ../src/isearch.c:82:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | if (status = isearch(FORWARD)) | ~~~~~~~^~~~~~~~~~~~~~~~~~ ../src/isearch.c:82:13: note: place parentheses around the assignment to silence this warning 82 | if (status = isearch(FORWARD)) | ^ | ( ) ../src/isearch.c:82:13: note: use '==' to turn this assignment into an equality comparison 82 | if (status = isearch(FORWARD)) | ^ | == ../src/isearch.c:116:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | int PASCAL NEAR isearch(dir) | ^ ../src/isearch.c:317:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | int PASCAL NEAR scanmore(dir) | ^ ../src/isearch.c:351:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | int PASCAL NEAR checknext(chr, dir) | ^ ../src/isearch.c:367:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 367 | if (sts = !boundry(curline, curoff, FORWARD)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/isearch.c:367:11: note: place parentheses around the assignment to silence this warning 367 | if (sts = !boundry(curline, curoff, FORWARD)) | ^ | ( ) ../src/isearch.c:367:11: note: use '==' to turn this assignment into an equality comparison 367 | if (sts = !boundry(curline, curoff, FORWARD)) | ^ | == ../src/isearch.c:372:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 372 | if (sts = eq(nextch(&curline, &curoff, FORWARD), chr)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/isearch.c:372:12: note: place parentheses around the assignment to silence this warning 372 | if (sts = eq(nextch(&curline, &curoff, FORWARD), chr)) | ^ | ( ) ../src/isearch.c:372:12: note: use '==' to turn this assignment into an equality comparison 372 | if (sts = eq(nextch(&curline, &curoff, FORWARD), chr)) | ^ | == ../src/isearch.c:474:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | VOID PASCAL NEAR reeat(c) | ^ 11 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./keyboard.o ../src/keyboard.c In file included from ../src/keyboard.c:24: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/keyboard.c:486:11: warning: call to undeclared function 'grabwait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | qin(ch = grabwait()); /* Get first character untimed */ | ^ ../src/keyboard.c:521:10: warning: call to undeclared function 'grabnowait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | ch = grabnowait(); | ^ 3 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./line.o ../src/line.c In file included from ../src/line.c:16: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/line.c:31:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | LINE *PASCAL NEAR lalloc(used) | ^ ../src/line.c:63:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | PASCAL NEAR lfree(lp) | ^ | int ../src/line.c:63:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/line.c:123:1: warning: non-void function does not return a value [-Wreturn-type] 123 | } | ^ ../src/line.c:132:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | PASCAL NEAR lchange(flag) | ^ | int ../src/line.c:132:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/line.c:159:1: warning: non-void function does not return a value [-Wreturn-type] 159 | } | ^ ../src/line.c:161:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 161 | PASCAL NEAR insspace(f, n) /* insert spaces forward into text */ | ^ | int ../src/line.c:161:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/line.c:223:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | PASCAL NEAR linsert(int n, char c) | ^ | int ../src/line.c:344:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 344 | PASCAL NEAR lowrite(char c) | ^ | int ../src/line.c:363:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | int PASCAL NEAR lover(ostr) | ^ ../src/line.c:473:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 473 | PASCAL NEAR ldelete(n, kflag) | ^ | int ../src/line.c:473:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/line.c:731:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 731 | PASCAL NEAR putctext(iline) | ^ | int ../src/line.c:731:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/line.c:1058:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | int PASCAL NEAR yank(f, n) | ^ ../src/line.c:1140:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | int PASCAL NEAR cycle_ring(f, n) | ^ ../src/line.c:1163:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | int PASCAL NEAR yank_pop(f, n) | ^ ../src/line.c:1185:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | int PASCAL NEAR clear_ring(f, n) | ^ 21 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./lock.o ../src/lock.c In file included from ../src/lock.c:7: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/lock.c:175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 175 | lckhello() /* dummy function */ | ^ | int ../src/lock.c:177:1: warning: non-void function does not return a value [-Wreturn-type] 177 | } | ^ 3 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./main.o ../src/main.c In file included from ../src/main.c:22: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/main.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | main(argc, argv) | ^ | int ../src/main.c:104:18: warning: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] 104 | signal(SIGWINCH,winch_changed); | ^~~~~~~~~~~~~ /usr/include/sys/signal.h:199:27: note: passing argument to parameter here 199 | void (*signal(int, void (*)(int)))(int); | ^ ../src/main.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | main(argc, argv) | ^ ../src/main.c:219:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | VOID PASCAL NEAR dcline(argc, argv, firstflag) | ^ ../src/main.c:464:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 464 | PASCAL NEAR editloop() | ^ | int ../src/main.c:653:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | VOID PASCAL NEAR edinit(bname) | ^ ../src/main.c:713:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 713 | PASCAL NEAR execute(c, f, n) | ^ | int ../src/main.c:713:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:879:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 879 | PASCAL NEAR quickexit(f, n) | ^ | int ../src/main.c:879:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:918:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 918 | PASCAL NEAR quit(f, n) | ^ | int ../src/main.c:918:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:946:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 946 | PASCAL NEAR meexit(status) | ^ | int ../src/main.c:946:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:963:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 963 | PASCAL NEAR ctlxlp(f, n) | ^ | int ../src/main.c:963:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:986:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 986 | PASCAL NEAR ctlxrp(f, n) | ^ | int ../src/main.c:986:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:1010:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1010 | PASCAL NEAR ctlxe(f, n) | ^ | int ../src/main.c:1010:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:1034:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1034 | PASCAL NEAR ctrlg(f, n) | ^ | int ../src/main.c:1034:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:1049:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1049 | PASCAL NEAR rdonly() | ^ | int ../src/main.c:1058:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1058 | PASCAL NEAR resterr() | ^ | int ../src/main.c:1067:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | int PASCAL NEAR nullproc(f, n) /* user function that does NOTHING */ | ^ ../src/main.c:1075:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1075 | PASCAL NEAR meta(f, n) /* set META prefixing pending */ | ^ | int ../src/main.c:1075:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:1086:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1086 | PASCAL NEAR cex(f, n) /* set ^X prefixing pending */ | ^ | int ../src/main.c:1086:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/main.c:1106:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | char *PASCAL NEAR bytecopy(dst, src, maxlen) | ^ ../src/main.c:1126:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | char *PASCAL NEAR copystr(sp) | ^ 32 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./mouse.o ../src/mouse.c In file included from ../src/mouse.c:9: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/mouse.c:32:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | PASCAL NEAR movemd(f, n) | ^ | int ../src/mouse.c:32:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/mouse.c:89:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | PASCAL NEAR mmove(f, n) | ^ | int ../src/mouse.c:89:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/mouse.c:149:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | PASCAL NEAR mregdown(f, n) | ^ | int ../src/mouse.c:149:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/mouse.c:257:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 257 | PASCAL NEAR mregup(f, n) | ^ | int ../src/mouse.c:257:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/mouse.c:375:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 375 | PASCAL NEAR movemu(f, n) | ^ | int ../src/mouse.c:375:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/mouse.c:510:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | EWINDOW *PASCAL NEAR mousewindow(row) | ^ ../src/mouse.c:545:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | LINE *PASCAL NEAR mouseline(wp, row) | ^ ../src/mouse.c:571:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 571 | PASCAL NEAR mouseoffset(wp, lp, col) | ^ | int ../src/mouse.c:571:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/mouse.c:607:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 607 | PASCAL NEAR mouse_screen() | ^ | int ../src/mouse.c:638:1: warning: non-void function does not return a value [-Wreturn-type] 638 | } | ^ ../src/mouse.c:640:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | PASCAL NEAR ismodeline(wp, row) | ^ | int ../src/mouse.c:640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/mouse.c:662:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 662 | PASCAL NEAR resizm(f, n) | ^ | int ../src/mouse.c:662:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./screen.o ../src/screen.c In file included from ../src/screen.c:8: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/screen.c:35:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | VOID PASCAL NEAR refresh_screen(sp) | ^ ../src/screen.c:69:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | PASCAL NEAR cycle_screens(f, n) | ^ | int ../src/screen.c:69:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/screen.c:85:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | PASCAL NEAR find_screen(f, n) | ^ | int ../src/screen.c:85:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/screen.c:116:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | PASCAL NEAR free_screen(sp) /* free all resouces associated with a screen */ | ^ | int ../src/screen.c:116:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/screen.c:150:1: warning: non-void function does not return a value [-Wreturn-type] 150 | } | ^ ../src/screen.c:152:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | int PASCAL NEAR unlist_screen(sp) | ^ ../src/screen.c:165:1: warning: non-void function does not return a value [-Wreturn-type] 165 | } | ^ ../src/screen.c:167:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 167 | PASCAL NEAR delete_screen(f, n) | ^ | int ../src/screen.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/screen.c:205:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | SCREEN *PASCAL NEAR init_screen(scr_name, scr_buf) | ^ ../src/screen.c:297:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | SCREEN *PASCAL NEAR lookup_screen(scr_name) | ^ ../src/screen.c:320:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | int PASCAL NEAR select_screen(sp, announce) | ^ ../src/screen.c:399:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 399 | PASCAL NEAR list_screens(f, n) | ^ | int ../src/screen.c:399:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/screen.c:421:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 421 | PASCAL NEAR screenlist(iflag) | ^ | int ../src/screen.c:421:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/screen.c:495:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | int PASCAL NEAR rename_screen(f, n) | ^ 21 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./random.o ../src/random.c In file included from ../src/random.c:8: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/random.c:20:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | PASCAL NEAR showcpos(f, n) | ^ | int ../src/random.c:20:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:97:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | long PASCAL NEAR getlinenum(bp, sline) /* get the a line number */ | ^ ../src/random.c:127:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | PASCAL NEAR getccol(bflg) | ^ | int ../src/random.c:127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:156:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | int PASCAL NEAR findcol(lp, pos) | ^ ../src/random.c:185:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | PASCAL NEAR setccol(pos) | ^ | int ../src/random.c:185:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:235:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | PASCAL NEAR twiddle(f, n) | ^ | int ../src/random.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:290:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 290 | PASCAL NEAR quote(f, n) | ^ | int ../src/random.c:290:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:337:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | PASCAL NEAR tab(f, n) | ^ | int ../src/random.c:337:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:353:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 353 | PASCAL NEAR detab(f, n) /* change tabs to spaces */ | ^ | int ../src/random.c:353:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:398:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 398 | PASCAL NEAR entab(f, n) /* change spaces to tabs where posible */ | ^ | int ../src/random.c:398:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:431:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 431 | else { | ^ ../src/random.c:475:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | PASCAL NEAR trim(f, n) | ^ | int ../src/random.c:475:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:523:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 523 | PASCAL NEAR openline(f, n) | ^ | int ../src/random.c:523:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:551:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 551 | PASCAL NEAR newline(f, n) | ^ | int ../src/random.c:551:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:586:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 586 | PASCAL NEAR cinsert() /* insert a newline and indentation for C */ | ^ | int ../src/random.c:648:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 648 | PASCAL NEAR insbrace(n, c) /* insert a brace into the text here...we are in CMODE */ | ^ | int ../src/random.c:648:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:744:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 744 | PASCAL NEAR inspound() /* insert a # into the text here...we are in CMODE */ | ^ | int ../src/random.c:779:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 779 | PASCAL NEAR deblank(f, n) | ^ | int ../src/random.c:779:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:812:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 812 | PASCAL NEAR indent(f, n) | ^ | int ../src/random.c:812:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:835:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 835 | else | ^ ../src/random.c:860:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 860 | PASCAL NEAR forwdel(f, n) | ^ | int ../src/random.c:860:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:889:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 889 | PASCAL NEAR backdel(f, n) | ^ | int ../src/random.c:889:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:929:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 929 | PASCAL NEAR killtext(f, n) | ^ | int ../src/random.c:929:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:977:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 977 | PASCAL NEAR setmod(f, n) /* prompt and set an editor mode */ | ^ | int ../src/random.c:977:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:984:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 984 | PASCAL NEAR delmode(f, n) /* prompt and delete an editor mode */ | ^ | int ../src/random.c:984:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:991:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 991 | PASCAL NEAR setgmode(f, n) /* prompt and set a global editor mode */ | ^ | int ../src/random.c:991:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:998:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 998 | PASCAL NEAR delgmode(f, n) /* prompt and delete a global editor mode */ | ^ | int ../src/random.c:998:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:1005:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1005 | PASCAL NEAR adjustmode(kind, global) /* change the editor mode status */ | ^ | int ../src/random.c:1005:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:1121:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1121 | PASCAL NEAR clrmes(f, n) | ^ | int ../src/random.c:1121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:1132:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1132 | PASCAL NEAR writemsg(f, n) | ^ | int ../src/random.c:1132:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:1150:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1150 | PASCAL NEAR getfence(f, n) | ^ | int ../src/random.c:1150:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:1245:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1245 | PASCAL NEAR fmatch(char ch) | ^ | int ../src/random.c:1321:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1321 | PASCAL NEAR istring(f, n) | ^ | int ../src/random.c:1321:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:1347:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1347 | PASCAL NEAR ovstring(f, n) /* ask for and overwite a string into the current | ^ | int ../src/random.c:1347:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/random.c:1373:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | int PASCAL NEAR lookup_color(sp) | ^ 63 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./region.o ../src/region.c In file included from ../src/region.c:10: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/region.c:54:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | PASCAL NEAR killregion(f, n) | ^ | int ../src/region.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:90:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | PASCAL NEAR copyregion(f, n) | ^ | int ../src/region.c:90:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:132:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | PASCAL NEAR lowerregion(f, n) | ^ | int ../src/region.c:132:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:197:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | PASCAL NEAR upperregion(f, n) | ^ | int ../src/region.c:197:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:258:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 258 | PASCAL NEAR narrow(f, n) | ^ | int ../src/region.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:348:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 348 | PASCAL NEAR widen(f, n) | ^ | int ../src/region.c:348:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:441:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 441 | PASCAL NEAR getregion(rp) | ^ | int ../src/region.c:441:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:503:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | char *PASCAL NEAR regtostr(buf, region) | ^ ../src/region.c:533:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | char *PASCAL NEAR getreg(value) /* return some of the contents of the current region */ | ^ ../src/region.c:542:9: warning: returning 'const char[]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 542 | return(errorm); | ^~~~~~~~ ../src/region.c:551:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 551 | PASCAL NEAR indent_region(f, n) /* indent a region n tab-stops */ | ^ | int ../src/region.c:551:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/region.c:590:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 590 | PASCAL NEAR undent_region(f, n) /* undent a region n tab-stops */ | ^ | int ../src/region.c:590:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./search.o ../src/search.c In file included from ../src/search.c:10: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/search.c:413:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 413 | if (cl_type = (mcptr->mc_type & ALLCLOS)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/search.c:413:15: note: place parentheses around the assignment to silence this warning 413 | if (cl_type = (mcptr->mc_type & ALLCLOS)) { | ^ | ( ) ../src/search.c:413:15: note: use '==' to turn this assignment into an equality comparison 413 | if (cl_type = (mcptr->mc_type & ALLCLOS)) { | ^ | == In file included from ../src/search.c:10: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../src/search.c:716:17: note: conflicting prototype is here 716 | int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline) | ^ ../src/search.c:818:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | int PASCAL NEAR eq(bc, pc) | ^ ../src/search.c:819:24: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 819 | register unsigned char bc; | ^ ../h/eproto.h:158:50: note: previous declaration is here 158 | extern int PASCAL NEAR eq(register unsigned char bc, register unsigned char pc); | ^ ../src/search.c:820:24: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] 820 | register unsigned char pc; | ^ ../h/eproto.h:158:77: note: previous declaration is here 158 | extern int PASCAL NEAR eq(register unsigned char bc, register unsigned char pc); | ^ ../src/search.c:884:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 884 | else | ^ ../src/search.c:1503:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1503 | while (pchr = *++patptr) | ~~~~~^~~~~~~~~~~ ../src/search.c:1503:14: note: place parentheses around the assignment to silence this warning 1503 | while (pchr = *++patptr) | ^ | ( ) ../src/search.c:1503:14: note: use '==' to turn this assignment into an equality comparison 1503 | while (pchr = *++patptr) | ^ | == 8 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./replace.o ../src/replace.c In file included from ../src/replace.c:10: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/replace.c:20:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | int PASCAL NEAR sreplace(f, n) | ^ ../src/replace.c:30:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | int PASCAL NEAR qreplace(f, n) | ^ ../src/replace.c:41:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int PASCAL NEAR replaces(kind, f, n) | ^ ../src/replace.c:337:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | int PASCAL NEAR delins(dlength, instr, use_rmc) | ^ 5 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./tags.o ../src/tags.c In file included from ../src/tags.c:28: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/tags.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | newtags(path) | ^ | int ../src/tags.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/tags.c:108:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | lookup() | ^ | int ../src/tags.c:179:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 179 | restword(str, lmax) | ^ | int ../src/tags.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/tags.c:210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | backupword(f, n) | ^ | int ../src/tags.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/tags.c:235:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | alterpattern(pattern) | ^ | int ../src/tags.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/tags.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | VOID add_path(filename) | ^ ../src/tags.c:301:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 301 | tagger(errmsg, retag) | ^ | int ../src/tags.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/tags.c:403:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | extern int PASCAL NEAR tagword(f, n) | ^ ../src/tags.c:455:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | extern int PASCAL NEAR retagword(f, n) | ^ ../src/tags.c:476:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | extern int PASCAL NEAR backtagword(f, n) | ^ 16 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./undo.o ../src/undo.c In file included from ../src/undo.c:16: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/undo.c:179:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | VOID undo_zot(bp) | ^ ../src/undo.c:205:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | int PASCAL NEAR undo(f, n) | ^ ../src/undo.c:242:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | int PASCAL NEAR undo_delete(f, n) | ^ ../src/undo.c:254:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | int PASCAL NEAR undo_list(f, n) | ^ ../src/undo.c:266:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | PASCAL NEAR undolist() | ^ | int ../src/undo.c:451:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 451 | } | ^ ../src/undo.c:514:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 514 | } | ^ 8 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./unix.o ../src/unix.c In file included from ../src/unix.c:87: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/unix.c:324:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 324 | int scopen(), scclose(), ttgetc(), ttputc(), ttflush(); | ^ ../h/eproto.h:446:24: note: conflicting prototype is here 446 | extern int PASCAL NEAR ttputc(int c); | ^ ../src/unix.c:547:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | int ttputc(ch) | ^ ../src/unix.c:324:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 324 | int scopen(), scclose(), ttgetc(), ttputc(), ttflush(); | ^ ../src/unix.c:681:17: warning: array index 256 is past the end of the array (that has type 'int[64]') [-Warray-bounds] 681 | if (inbuft == &inbuf[sizeof(inbuf)]) { | ^ ~~~~~~~~~~~~~ ../src/unix.c:307:1: note: array 'inbuf' declared here 307 | static int inbuf[NINCHAR]; /* Input buffer */ | ^ ../src/unix.c:766:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 766 | tputs(seq, 1, ttputc); | ^ ../src/unix.c:758:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | void putpad(seq) | ^ ../src/unix.c:807:11: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 807 | status = tgetent(tcbuf, cp); | ^ ../src/unix.c:820:16: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | term.t_nrow = tgetnum("li") - 1; | ^ ../src/unix.c:835:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | reset = TGETSTR("is", &cp); | ^ ../src/unix.c:783:29: note: expanded from macro 'TGETSTR' 783 | #define TGETSTR(a,b) tgetstr((a), (b)) | ^ ../src/unix.c:838:13: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | if (tgetstr("pc", &cp)) | ^ ../src/unix.c:842:7: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | UP = TGETSTR("up", &cp); | ^ ../src/unix.c:783:29: note: expanded from macro 'TGETSTR' 783 | #define TGETSTR(a,b) tgetstr((a), (b)) | ^ ../src/unix.c:847:15: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | cb->store = TGETSTR(cb->name, &cp); | ^ ../src/unix.c:783:29: note: expanded from macro 'TGETSTR' 783 | #define TGETSTR(a,b) tgetstr((a), (b)) | ^ ../src/unix.c:866:10: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | addkey(TGETSTR(kp->name, &cp), kp->value); | ^ ../src/unix.c:783:29: note: expanded from macro 'TGETSTR' 783 | #define TGETSTR(a,b) tgetstr((a), (b)) | ^ ../src/unix.c:871:11: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | hpterm = tgetflag("xs"); | ^ ../src/unix.c:959:1: warning: non-void function does not return a value [-Wreturn-type] 959 | } | ^ ../src/unix.c:971:1: warning: non-void function does not return a value [-Wreturn-type] 971 | } | ^ ../src/unix.c:982:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | putpad(tgoto(capbind[CAP_CM].store, col, row)); | ^ ../src/unix.c:974:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | int scmove(row, col) | ^ ../src/unix.c:325:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 325 | int scmove(), sceeol(), sceeop(), scbeep(), screv(); | ^ ../src/unix.c:1014:8: warning: passing arguments to 'scfcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | scfcol(gfcolor); | ^ ../src/unix.c:1015:8: warning: passing arguments to 'scbcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | scbcol(gbcolor); | ^ ../src/unix.c:1048:9: warning: passing arguments to 'scfcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | scfcol(ftmp); | ^ ../src/unix.c:1049:9: warning: passing arguments to 'scbcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | scbcol(btmp); | ^ ../src/unix.c:1031:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | int screv(state) | ^ ../src/unix.c:325:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 325 | int scmove(), sceeol(), sceeop(), scbeep(), screv(); | ^ ../src/unix.c:1066:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1066 | scbeep() | ^ | int ../src/unix.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | int scfcol(color) | ^ ../src/unix.c:328:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 328 | int scfcol(), scbcol(); | ^ ../src/unix.c:1119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | int scbcol(color) | ^ ../src/unix.c:328:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 328 | int scfcol(), scbcol(); | ^ ../src/unix.c:1148:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | int spal(cmd) | ^ ../src/unix.c:1209:18: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1209 | int bktoshell(f, n) | ^ 1210 | { ../src/unix.c:1209:15: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1209 | int bktoshell(f, n) | ^ 1210 | { ../src/unix.c:1209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | int bktoshell(f, n) | ^ ../src/unix.c:1236:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1236 | char * ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ ../src/unix.c:1290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | int callout(cmd) | ^ ../src/unix.c:1317:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | int spawncli(f, n) | ^ ../src/unix.c:1342:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | int spawn(f, n) | ^ ../src/unix.c:1371:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | int execprg(f, n) | ^ ../src/unix.c:1380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | int pipecmd(f, n) | ^ ../src/unix.c:1446:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | int filter(f, n) | ^ ../src/unix.c:1511:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | char *getffile(fspec) | ^ ../src/unix.c:1711:18: warning: incompatible function pointer types passing 'void (void)' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] 1711 | signal(SIGWINCH,winch_changed); | ^~~~~~~~~~~~~ /usr/include/sys/signal.h:199:27: note: passing argument to parameter here 199 | void (*signal(int, void (*)(int)))(int); | ^ ../src/unix.c:1722:2: warning: call to undeclared function 'winch_vtresize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1722 | winch_vtresize(win.ws_row,win.ws_col); | ^ 45 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./window.o ../src/window.c In file included from ../src/window.c:8: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/window.c:18:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 18 | PASCAL NEAR reposition(f, n) | ^ | int ../src/window.c:18:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:34:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | PASCAL NEAR refresh(f, n) | ^ | int ../src/window.c:34:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:57:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | PASCAL NEAR nextwind(f, n) | ^ | int ../src/window.c:57:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:104:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | PASCAL NEAR prevwind(f, n) | ^ | int ../src/window.c:104:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:138:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 138 | PASCAL NEAR mvdnwind(f, n) | ^ | int ../src/window.c:138:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:153:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | PASCAL NEAR mvupwind(f, n) | ^ | int ../src/window.c:153:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:200:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | PASCAL NEAR onlywind(f, n) | ^ | int ../src/window.c:200:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:256:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | PASCAL NEAR delwind(f,n) | ^ | int ../src/window.c:256:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:343:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 343 | PASCAL NEAR splitwind(f, n) | ^ | int ../src/window.c:343:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:435:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 435 | PASCAL NEAR enlargewind(f, n) | ^ | int ../src/window.c:435:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:486:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 486 | PASCAL NEAR shrinkwind(f, n) | ^ | int ../src/window.c:486:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:534:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 534 | PASCAL NEAR resize(f, n) | ^ | int ../src/window.c:534:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:620:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 620 | PASCAL NEAR nextup(f, n) /* scroll the next window up (back) a page */ | ^ | int ../src/window.c:620:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:628:1: warning: non-void function does not return a value [-Wreturn-type] 628 | } | ^ ../src/window.c:630:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 630 | PASCAL NEAR nextdown(f, n) /* scroll the next window down (forward) a page */ | ^ | int ../src/window.c:630:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:638:1: warning: non-void function does not return a value [-Wreturn-type] 638 | } | ^ ../src/window.c:640:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | PASCAL NEAR savewnd(f, n) /* save ptr to current window */ | ^ | int ../src/window.c:640:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:649:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 649 | PASCAL NEAR restwnd(f, n) /* restore the saved screen */ | ^ | int ../src/window.c:649:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:673:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 673 | PASCAL NEAR newsize(f, n) /* resize the screen, re-writing the screen */ | ^ | int ../src/window.c:673:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:775:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 775 | PASCAL NEAR newwidth(f, n) /* resize the screen, re-writing the screen */ | ^ | int ../src/window.c:775:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:814:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 814 | PASCAL NEAR new_col_org(f, n) /* reposition the screen, re-writing the screen */ | ^ | int ../src/window.c:814:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/window.c:841:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 841 | PASCAL NEAR new_row_org(f, n) /* reposition the screen, re-writing the screen */ | ^ | int ../src/window.c:841:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 warnings generated. cc -O2 -pipe -I. -I../h -c -o ./word.o ../src/word.c In file included from ../src/word.c:9: ../h/eproto.h:363:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | extern int PASCAL NEAR movelocalpoint(); | ^ ../h/eproto.h:200:24: note: conflicting prototype is here 200 | extern int PASCAL NEAR movelocalpoint(int n, int *pcuroff, LINE **pcurline); | ^ ../src/word.c:21:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | PASCAL NEAR wrapword(f, n) | ^ | int ../src/word.c:21:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:77:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | PASCAL NEAR backword(f, n) | ^ | int ../src/word.c:77:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:103:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | PASCAL NEAR forwword(f, n) | ^ | int ../src/word.c:103:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:130:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | PASCAL NEAR endword(f, n) | ^ | int ../src/word.c:130:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:158:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 158 | PASCAL NEAR upperword(f, n) | ^ | int ../src/word.c:158:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:195:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | PASCAL NEAR lowerword(f, n) | ^ | int ../src/word.c:195:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:233:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 233 | PASCAL NEAR capword(f, n) | ^ | int ../src/word.c:233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:283:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 283 | PASCAL NEAR delfword(f, n) | ^ | int ../src/word.c:283:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:375:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 375 | PASCAL NEAR delbword(f, n) | ^ | int ../src/word.c:375:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:438:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | int PASCAL NEAR isinword(c) | ^ ../src/word.c:440:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 440 | char c; | ^ ../h/eproto.h:344:38: note: previous declaration is here 344 | extern int PASCAL NEAR isinword(char c); | ^ ../src/word.c:457:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 457 | PASCAL NEAR fillpara(f, n) /* Fill the current paragraph according to the | ^ | int ../src/word.c:457:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:555:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | VOID PASCAL NEAR reform(para) /* reformat a paragraph as stored in a string */ | ^ ../src/word.c:603:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 603 | PASCAL NEAR killpara(f, n) /* delete n paragraphs starting with the current one */ | ^ | int ../src/word.c:603:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ../src/word.c:638:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 638 | PASCAL NEAR wordcount(f, n) | ^ | int ../src/word.c:638:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 warnings generated. cc -O2 -pipe -I. -I../h ./abbrev.o ./basic.o ./bind.o ./buffer.o ./char.o ./crypt.o ./display.o ./dolock.o ./eval.o ./exec.o ./file.o ./fileio.o ./input.o ./isearch.o ./keyboard.o ./line.o ./lock.o ./main.o ./mouse.o ./screen.o ./random.o ./region.o ./search.o ./replace.o ./tags.o ./undo.o ./unix.o ./window.o ./word.o -ltermcap -lc -o emacs ld: warning: abbrev.c(./abbrev.o:(add_abbrev)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: file.c(./file.o:(readin)): warning: strcat() is almost always misused, please use strlcat() ld: warning: unix.c(./unix.o:(scopen)): warning: sprintf() is often misused, please use snprintf() >>> Running package in editors/uemacs at 1764614203.78 ===> editors/uemacs ===> Faking installation for uemacs-4.0p2 (cd openbsd; make emacs) `emacs' is up to date. /exopi-obj/pobj/uemacs-4.0/bin/install -c -s -m 755 openbsd/emacs /exopi-obj/pobj/uemacs-4.0/fake-amd64/usr/local/bin/uemacs mkdir -p /exopi-obj/pobj/uemacs-4.0/fake-amd64/usr/local/share/uemacs /exopi-obj/pobj/uemacs-4.0/bin/install -c -m 644 cmd/* /exopi-obj/pobj/uemacs-4.0/fake-amd64/usr/local/share/uemacs mv /exopi-obj/pobj/uemacs-4.0/fake-amd64/usr/local/share/uemacs/emacs.rc /exopi-obj/pobj/uemacs-4.0/fake-amd64/usr/local/share/uemacs/.emacsrc ===> Building package for uemacs-4.0p2 Create /exopi-cvs/ports/packages/amd64/all/uemacs-4.0p2.tgz Creating package uemacs-4.0p2 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|** | 3% checksumming|**** | 6% checksumming|****** | 10% checksumming|******** | 13% checksumming|********** | 16% checksumming|************ | 19% checksumming|************** | 23% checksumming|**************** | 26% checksumming|****************** | 29% checksumming|******************** | 32% checksumming|********************** | 35% checksumming|************************ | 39% checksumming|************************** | 42% checksumming|**************************** | 45% checksumming|****************************** | 48% checksumming|******************************* | 52% checksumming|********************************* | 55% checksumming|*********************************** | 58% checksumming|************************************* | 61% checksumming|*************************************** | 65% checksumming|***************************************** | 68% checksumming|******************************************* | 71% checksumming|********************************************* | 74% checksumming|*********************************************** | 77% checksumming|************************************************* | 81% checksumming|*************************************************** | 84% checksumming|***************************************************** | 87% checksumming|******************************************************* | 90% checksumming|********************************************************* | 94% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**************************************** | 63% archiving|***************************************** | 64% archiving|******************************************* | 67% archiving|******************************************** | 69% archiving|********************************************** | 71% archiving|********************************************** | 72% archiving|************************************************ | 75% archiving|****************************************************** | 84% archiving|********************************************************** | 90% archiving|********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************** | 96% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/uemacs-4.0p2.tgz >>> Running clean in editors/uemacs at 1764614205.48 ===> editors/uemacs ===> Cleaning for uemacs-4.0p2 >>> Ended at 1764614205.83 max_stuck=0.65/depends=0.96/show-prepare-results=0.74/build=9.91/package=1.71/clean=0.37