>>> Building on exopi-2 under editors/beav DIST = [editors/beav:beav_1.40-18.diff.gz;editors/beav:beav_1.40.orig.tar.gz] FULLPKGNAME = beav-1.40.18p3 distfiles size=142321 >>> Running build in editors/beav at 1764696358.52 ===> editors/beav ===> Building from scratch beav-1.40.18p3 ===> Verifying specs: c curses ===> found c.102.2 curses.16.0 ===> Checking files for beav-1.40.18p3 `/exopi-cvs/ports/distfiles/beav_1.40.orig.tar.gz' is up to date. `/exopi-cvs/ports/distfiles/beav_1.40-18.diff.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for beav-1.40.18p3 ===> Patching for beav-1.40.18p3 ===> Applying distribution patches for beav-1.40.18p3 ===> Applying distribution patch beav_1.40-18.diff.gz Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/Makefile |+++ beav-1.40/Makefile -------------------------- (Creating file Makefile...) Patching file Makefile using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/buffer.c |+++ beav-1.40/buffer.c -------------------------- Patching file buffer.c using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 168. Hunk #3 succeeded at 807. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/def.h |+++ beav-1.40/def.h -------------------------- Patching file def.h using Plan A... Hunk #1 succeeded at 9. Hunk #2 succeeded at 41. Hunk #3 succeeded at 134. Hunk #4 succeeded at 272. Hunk #5 succeeded at 298. Hunk #6 succeeded at 563. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/display.c |+++ beav-1.40/display.c -------------------------- Patching file display.c using Plan A... Hunk #1 succeeded at 9. Hunk #2 succeeded at 26. Hunk #3 succeeded at 42. Hunk #4 succeeded at 70. Hunk #5 succeeded at 174. Hunk #6 succeeded at 487. Hunk #7 succeeded at 523. Hunk #8 succeeded at 696. Hunk #9 succeeded at 755. Hunk #10 succeeded at 1303. Hunk #11 succeeded at 1317. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/english.c |+++ beav-1.40/english.c -------------------------- Patching file english.c using Plan A... Hunk #1 succeeded at 258. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/extend.c |+++ beav-1.40/extend.c -------------------------- Patching file extend.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 26. Hunk #3 succeeded at 241. Hunk #4 succeeded at 270. Hunk #5 succeeded at 374. Hunk #6 succeeded at 410. Hunk #7 succeeded at 440. Hunk #8 succeeded at 457. Hunk #9 succeeded at 466. Hunk #10 succeeded at 491. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/file.c |+++ beav-1.40/file.c -------------------------- Patching file file.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 330. Hunk #3 succeeded at 341. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/fileio.c |+++ beav-1.40/fileio.c -------------------------- Patching file fileio.c using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 250. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/format.c |+++ beav-1.40/format.c -------------------------- Patching file format.c using Plan A... Hunk #1 succeeded at 171. Hunk #2 succeeded at 357. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/kbd.c |+++ beav-1.40/kbd.c -------------------------- Patching file kbd.c using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/language.c |+++ beav-1.40/language.c -------------------------- Patching file language.c using Plan A... Hunk #1 succeeded at 258. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/line.c |+++ beav-1.40/line.c -------------------------- Patching file line.c using Plan A... Hunk #1 succeeded at 18. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/main.c |+++ beav-1.40/main.c -------------------------- Patching file main.c using Plan A... Hunk #1 succeeded at 35. Hunk #2 succeeded at 99. Hunk #3 succeeded at 110. Hunk #4 succeeded at 144. Hunk #5 succeeded at 183. Hunk #6 succeeded at 392. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/prototyp.h |+++ beav-1.40/prototyp.h -------------------------- Patching file prototyp.h using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 121. Hunk #3 succeeded at 156. Hunk #4 succeeded at 209. Hunk #5 succeeded at 230. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/random.c |+++ beav-1.40/random.c -------------------------- Patching file random.c using Plan A... Hunk #1 succeeded at 6. Hunk #2 succeeded at 26. Hunk #3 succeeded at 62. Hunk #4 succeeded at 142. Hunk #5 succeeded at 158. Hunk #6 succeeded at 172. Hunk #7 succeeded at 571. Hunk #8 succeeded at 605. Hunk #9 succeeded at 708. Hunk #10 succeeded at 771. Hunk #11 succeeded at 1160. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/region.c |+++ beav-1.40/region.c -------------------------- Patching file region.c using Plan A... Hunk #1 succeeded at 6. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/search.c |+++ beav-1.40/search.c -------------------------- Patching file search.c using Plan A... Hunk #1 succeeded at 4. Hunk #2 succeeded at 240. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/symbol.c |+++ beav-1.40/symbol.c -------------------------- Patching file symbol.c using Plan A... Hunk #1 succeeded at 4. Hunk #2 succeeded at 80. Hunk #3 succeeded at 203. Hunk #4 succeeded at 279. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/tcap.c |+++ beav-1.40/tcap.c -------------------------- Patching file tcap.c using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 81. Hunk #3 succeeded at 113. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/termio.c |+++ beav-1.40/termio.c -------------------------- Patching file termio.c using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 28. Hunk #3 succeeded at 58. Hunk #4 succeeded at 114. Hunk #5 succeeded at 137. Hunk #6 succeeded at 186. Hunk #7 succeeded at 295. Hunk #8 succeeded at 357. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/text.c |+++ beav-1.40/text.c -------------------------- Patching file text.c using Plan A... Hunk #1 succeeded at 24. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/tty.c |+++ beav-1.40/tty.c -------------------------- Patching file tty.c using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 121. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/ttykbd.c |+++ beav-1.40/ttykbd.c -------------------------- Patching file ttykbd.c using Plan A... Hunk #1 succeeded at 67. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/window.c |+++ beav-1.40/window.c -------------------------- Patching file window.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 289. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/word.c |+++ beav-1.40/word.c -------------------------- Patching file word.c using Plan A... Hunk #1 succeeded at 23. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/beav.1 |+++ beav-1.40/beav.1 -------------------------- (Creating file beav.1...) Patching file beav.1 using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/debian/copyright |+++ beav-1.40/debian/copyright -------------------------- (Creating file debian/copyright...) Patching file debian/copyright using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/debian/control |+++ beav-1.40/debian/control -------------------------- (Creating file debian/control...) Patching file debian/control using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/debian/rules |+++ beav-1.40/debian/rules -------------------------- (Creating file debian/rules...) Patching file debian/rules using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav-1.40.orig/debian/changelog |+++ beav-1.40/debian/changelog -------------------------- (Creating file debian/changelog...) Patching file debian/changelog using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-basic_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- basic.c.orig Sat May 22 17:00:32 2010 |+++ basic.c Sat May 22 17:00:40 2010 -------------------------- Patching file basic.c using Plan A... Hunk #1 succeeded at 9. done ===> Applying OpenBSD patch patch-beav_1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- beav.1.orig Thu Dec 12 22:54:27 2013 |+++ beav.1 Thu Dec 12 22:56:12 2013 -------------------------- Patching file beav.1 using Plan A... Hunk #1 succeeded at 9. Hunk #2 succeeded at 23. Hunk #3 succeeded at 59. done ===> Applying OpenBSD patch patch-buffer_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: buffer.c |--- buffer.c.orig |+++ buffer.c -------------------------- Patching file buffer.c using Plan A... Hunk #1 succeeded at 374. done ===> Applying OpenBSD patch patch-def_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- def.h.orig Wed Dec 11 17:22:35 2013 |+++ def.h Wed Dec 11 17:23:14 2013 -------------------------- Patching file def.h using Plan A... Hunk #1 succeeded at 13. done ===> Applying OpenBSD patch patch-file_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- file.c.orig Wed Dec 11 20:07:15 2013 |+++ file.c Wed Dec 11 20:07:15 2013 -------------------------- Patching file file.c using Plan A... Hunk #1 succeeded at 10. done ===> Applying OpenBSD patch patch-prototyp_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: prototyp.h |--- prototyp.h.orig |+++ prototyp.h -------------------------- Patching file prototyp.h using Plan A... Hunk #1 succeeded at 5. Hunk #2 succeeded at 41. Hunk #3 succeeded at 49. Hunk #4 succeeded at 66. Hunk #5 succeeded at 96. Hunk #6 succeeded at 116. Hunk #7 succeeded at 141. Hunk #8 succeeded at 183. done ===> Applying OpenBSD patch patch-random_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- random.c.orig Wed Dec 11 20:07:15 2013 |+++ random.c Wed Dec 11 20:07:15 2013 -------------------------- Patching file random.c using Plan A... Hunk #1 succeeded at 73. done ===> Applying OpenBSD patch patch-symbol_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- symbol.c.orig Wed Dec 11 20:07:15 2013 |+++ symbol.c Wed Dec 11 20:07:15 2013 -------------------------- Patching file symbol.c using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 220. done ===> Applying OpenBSD patch patch-tcap_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tcap.c |--- tcap.c.orig |+++ tcap.c -------------------------- Patching file tcap.c using Plan A... Hunk #1 succeeded at 23. Hunk #2 succeeded at 45. Hunk #3 succeeded at 67. Hunk #4 succeeded at 91. Hunk #5 succeeded at 105. done ===> Applying OpenBSD patch patch-termio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- termio.c.orig Thu Dec 12 17:11:56 2013 |+++ termio.c Thu Dec 12 17:14:58 2013 -------------------------- Patching file termio.c using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 33. Hunk #3 succeeded at 50. Hunk #4 succeeded at 64. Hunk #5 succeeded at 92. Hunk #6 succeeded at 110. Hunk #7 succeeded at 143. Hunk #8 succeeded at 160. Hunk #9 succeeded at 172. Hunk #10 succeeded at 194. Hunk #11 succeeded at 206. 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 beav-1.40.18p3 ===> Configuring for beav-1.40.18p3 ===> Building for beav-1.40.18p3 cc -O2 -pipe -DUNIX -DBSD -c basic.c In file included from basic.c:10: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from basic.c:10: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from basic.c:10: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from basic.c:10: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ basic.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 12 | bool forwchar (); | ^ ./prototyp.h:7:13: note: conflicting prototype is here 7 | extern char forwchar (int f, int n, int k); | ^ basic.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 13 | bool wind_on_dot (); | ^ ./prototyp.h:9:13: note: conflicting prototype is here 9 | extern char wind_on_dot (struct WINDOW *wp); | ^ basic.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 14 | bool backline (); | ^ ./prototyp.h:13:13: note: conflicting prototype is here 13 | extern char backline (int f, int n, int k); | ^ basic.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | backchar (f, n, k) | ^ basic.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | forwchar (f, n, k) | ^ basic.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | bool forwchar (); | ^ basic.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | move_ptr (wp, len, dot, fix, rel) | ^ basic.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | wind_on_dot (wp) | ^ basic.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | bool wind_on_dot (); | ^ basic.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | forwline (f, n, k) | ^ basic.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | backline (f, n, k) | ^ basic.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | bool backline (); | ^ basic.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | forwpage (f, n, k) | ^ basic.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | backpage (f, n, k) | ^ basic.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | gotoline (f, n, k) | ^ 19 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c ebcdic.c In file included from ebcdic.c:2: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from ebcdic.c:2: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from ebcdic.c:2: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from ebcdic.c:2: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ ebcdic.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | to_ebcdic (ch) | ^ 5 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c fileio.c In file included from fileio.c:16: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from fileio.c:16: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from fileio.c:16: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from fileio.c:16: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ fileio.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | ffropen (fn) | ^ fileio.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | ffwopen (fn, mode) | ^ fileio.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | ffputline (buf, nbuf) | ^ fileio.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ffgetline (buf, nbuf, rbuf) | ^ fileio.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | ffseek (posn) | ^ fileio.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | fbackupfile (fname) | ^ fileio.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | adjustcase (fn) | ^ 11 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c region.c In file included from region.c:10: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from region.c:10: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from region.c:10: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from region.c:10: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ region.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 12 | bool getregion (); | ^ ./prototyp.h:169:13: note: conflicting prototype is here 169 | extern char getregion (struct reg *rp); | ^ region.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | killregion (f, n, k) | ^ region.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | copyregion (f, n, k) | ^ region.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | getregion (rp) | ^ region.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | bool getregion (); | ^ region.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | save_region (f, n, k) | ^ 10 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c text.c In file included from text.c:4: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from text.c:4: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from text.c:4: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from text.c:4: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ 4 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c wangpc.c In file included from wangpc.c:1: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from wangpc.c:1: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from wangpc.c:1: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from wangpc.c:1: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ 4 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c buffer.c In file included from buffer.c:7: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from buffer.c:7: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from buffer.c:7: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from buffer.c:7: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ buffer.c:9:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 9 | bool onebuf (); | ^ ./prototyp.h:39:13: note: conflicting prototype is here 39 | extern char onebuf (struct BUFFER *bp); | ^ buffer.c:10:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 10 | bool killablebufs (); | ^ ./prototyp.h:38:13: note: conflicting prototype is here 38 | extern char killablebufs (struct BUFFER *bp); | ^ buffer.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 11 | bool _yankbuffer (); | ^ ./prototyp.h:36:13: note: conflicting prototype is here 36 | extern char _yankbuffer (char *bufn); | ^ buffer.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 13 | bool bclear (); | ^ ./prototyp.h:32:13: note: conflicting prototype is here 32 | extern char bclear (struct BUFFER *bp); | ^ buffer.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 14 | bool addline (); | ^ ./prototyp.h:28:13: note: conflicting prototype is here 28 | extern char addline (char *text); | ^ buffer.c:18:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 18 | char _killbuffer (); | ^ ./prototyp.h:23:13: note: conflicting prototype is here 23 | extern char _killbuffer (char *bufn); | ^ buffer.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 19 | bool _usebuffer (); | ^ ./prototyp.h:21:13: note: conflicting prototype is here 21 | extern char _usebuffer (char *bufn); | ^ buffer.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | _usebuffer (bufn) | ^ buffer.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | bool _usebuffer (); | ^ buffer.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | _killbuffer (bufn) | ^ buffer.c:18:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | char _killbuffer (); | ^ buffer.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | addline (text) | ^ buffer.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | bool addline (); | ^ buffer.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | bfind (bname, cflag) | ^ buffer.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | bcreate (bname) | ^ buffer.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | bclear (bp) | ^ buffer.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | bool bclear (); | ^ buffer.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | _yankbuffer (bufn) | ^ buffer.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | bool _yankbuffer (); | ^ buffer.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | killablebufs (bp) | ^ buffer.c:10:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | bool killablebufs (); | ^ buffer.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | onebuf (bp) | ^ buffer.c:9:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | bool onebuf (); | ^ buffer.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | funky_name (bname, n) | ^ buffer.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | b_append_l (buf_p, lp) | ^ buffer.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | b_append_c (buf_p, ch) | ^ 30 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c echo.c In file included from echo.c:8: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from echo.c:8: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from echo.c:8: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from echo.c:8: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ echo.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 11 | char ereply (); | ^ ./prototyp.h:72:13: note: conflicting prototype is here 72 | extern char ereply (char *fp, char *buf, int nbuf, char *arg); | ^ echo.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 12 | char eread (); | ^ ./prototyp.h:73:13: note: conflicting prototype is here 73 | extern char eread (char *fp, char *buf, int nbuf, int flag, char *ap); | ^ echo.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 13 | void eformat (); | ^ ./prototyp.h:75:13: note: conflicting prototype is here 75 | extern void eformat (char *fp, char *ap); | ^ echo.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 14 | void eputi (); | ^ ./prototyp.h:76:13: note: conflicting prototype is here 76 | extern void eputi (int i, int r); | ^ echo.c:15:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 15 | void eputs (); | ^ ./prototyp.h:77:13: note: conflicting prototype is here 77 | extern void eputs (char *s); | ^ echo.c:16:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 16 | void eputc (); | ^ ./prototyp.h:78:13: note: conflicting prototype is here 78 | extern void eputc (int c); | ^ echo.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | eyesno (sp) | ^ echo.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | ereply (fp, buf, nbuf, arg) | ^ echo.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | char ereply (); | ^ echo.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | eread (fp, buf, nbuf, flag, ap) | ^ echo.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | char eread (); | ^ echo.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | getxtra (sp1, sp2, cpos) | ^ echo.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | eformat (fp, ap) | ^ echo.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | void eformat (); | ^ echo.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | eputi (i, r) | ^ echo.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | void eputi (); | ^ echo.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | eputs (s) | ^ echo.c:15:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | void eputs (); | ^ echo.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | eputc (c) | ^ echo.c:16:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | void eputc (); | ^ echo.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | err_echo (buf) | ^ echo.c:447:31: warning: while loop has empty body [-Wempty-body] 447 | while (ttgetc () != CTL_G); | ^ echo.c:447:31: note: put the semicolon on a separate line to silence this warning 26 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c language.c In file included from language.c:4: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from language.c:4: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from language.c:4: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from language.c:4: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ 4 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c main.c In file included from main.c:39: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from main.c:39: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from main.c:39: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from main.c:39: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ main.c:41:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 41 | bool execute (); | ^ ./prototyp.h:125:13: note: conflicting prototype is here 125 | extern char execute (int c, int f, int n); | ^ main.c:42:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 42 | void edinit (); | ^ ./prototyp.h:126:13: note: conflicting prototype is here 126 | extern void edinit (char *bname); | ^ main.c:44:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 44 | char quit (); | ^ ./prototyp.h:129:13: note: conflicting prototype is here 129 | extern char quit (int f, int n, int k); | ^ main.c:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 45 | char ctrlg (); | ^ ./prototyp.h:133:13: note: conflicting prototype is here 133 | extern char ctrlg (int f, int n, int k); | ^ main.c:46:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 46 | void _lowercase (); | ^ ./prototyp.h:135:13: note: conflicting prototype is here 135 | extern void _lowercase (char *s); | ^ main.c:96:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 96 | extern char *getenv (); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ main.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | main (argc, argv) | ^ main.c:277:26: 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] 277 | status = (*sp->s_funcp) (f, n, c); | ^ main.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | execute (c, f, n) | ^ main.c:41:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | bool execute (); | ^ main.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | edinit (bname) | ^ main.c:42:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | void edinit (); | ^ main.c:349:10: warning: comparison of array 'bp->b_fname' not equal to a null pointer is always true [-Wtautological-pointer-compare] 349 | if (bp->b_fname != NULL) | ~~~~^~~~~~~ ~~~~ main.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | flushnquit (f, n, k) | ^ main.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | quit (f, n, k) | ^ main.c:44:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | char quit (); | ^ main.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | ctlxlp (f, n, k) | ^ main.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | ctlxrp (f, n, k) | ^ main.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | ctlxe (f, n, k) | ^ main.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | ctrlg (f, n, k) | ^ main.c:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | char ctrlg (); | ^ main.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | showversion (f, n, k) | ^ main.c:537:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 537 | sprintf (buf, cp); | ^~ main.c:537:19: note: treat the string as an argument to avoid this 537 | sprintf (buf, cp); | ^ | "%s", main.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | _lowercase (s) | ^ main.c:46:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | void _lowercase (); | ^ 29 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c search.c In file included from search.c:8: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from search.c:8: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from search.c:8: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from search.c:8: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ search.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | queryrepl (f, n, k) | ^ search.c:708:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 708 | printf (ERR_rdpat); | ^~~~~~~~~ search.c:708:15: note: treat the string as an argument to avoid this 708 | printf (ERR_rdpat); | ^ | "%s", 6 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c tty.c In file included from tty.c:5: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from tty.c:5: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from tty.c:5: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from tty.c:5: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ tty.c:9:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 9 | void ttmove (); | ^ ./prototyp.h:190:13: note: conflicting prototype is here 190 | extern void ttmove (int row, int col); | ^ tty.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 13 | void asciiparm (); | ^ ./prototyp.h:194:13: note: conflicting prototype is here 194 | extern void asciiparm (int n); | ^ tty.c:15:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 15 | void ttcolor (); | ^ ./prototyp.h:196:13: note: conflicting prototype is here 196 | extern void ttcolor (int color); | ^ tty.c:53:14: warning: passing arguments to 'tcapmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | tcapmove (0, 0); | ^ tty.c:102:11: warning: passing arguments to 'tcapmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | tcapmove (row, col); | ^ tty.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | ttmove (row, col) | ^ tty.c:9:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | void ttmove (); | ^ tty.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | asciiparm (n) | ^ tty.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | void asciiparm (); | ^ tty.c:266:10: warning: passing arguments to 'tcaprev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | tcaprev (FALSE); | ^ tty.c:268:10: warning: passing arguments to 'tcaprev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | tcaprev (TRUE); | ^ tty.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | ttcolor (color) | ^ tty.c:15:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | void ttcolor (); | ^ 17 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c window.c In file included from window.c:5: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from window.c:5: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from window.c:5: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from window.c:5: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ window.c:7:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | bool mvupwind (); | ^ ./prototyp.h:220:13: note: conflicting prototype is here 220 | extern char mvupwind (int f, int n, int k); | ^ window.c:8:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 8 | bool shrinkwind (); | ^ ./prototyp.h:225:13: note: conflicting prototype is here 225 | extern char shrinkwind (int f, int n, int k); | ^ window.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | mvdnwind (f, n, k) | ^ window.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | mvupwind (f, n, k) | ^ window.c:7:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | bool mvupwind (); | ^ window.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | enlargewind (f, n, k) | ^ window.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | shrinkwind (f, n, k) | ^ window.c:8:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | bool shrinkwind (); | ^ window.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | screen_rows (f, n, k) | ^ 13 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c cinfo.c In file included from cinfo.c:8: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from cinfo.c:8: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from cinfo.c:8: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from cinfo.c:8: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ 4 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c extend.c In file included from extend.c:5: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from extend.c:5: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from extend.c:5: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from extend.c:5: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ extend.c:27:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 27 | char *flook (); | ^ ./prototyp.h:86:14: note: conflicting prototype is here 86 | extern char *flook (char *fname, int hflag); | ^ extend.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | extend (f, n, k) | ^ extend.c:111:25: 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] 111 | return ((*sp->s_funcp) (f, n, KRANDOM)); | ^ extend.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | sort_buf (b_ptr, cnt) | ^ extend.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | wallchart (f, n, k) | ^ extend.c:228:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 228 | sprintf (buf, MSG_wall_head); | ^~~~~~~~~~~~~ extend.c:228:19: note: treat the string as an argument to avoid this 228 | sprintf (buf, MSG_wall_head); | ^ | "%s", extend.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | check_extend (sfname) | ^ extend.c:318:11: 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] 318 | char *getenv (); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ extend.c:402:19: 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] 402 | (*sp->s_funcp) (TRUE, keyval, KRANDOM); | ^ extend.c:445:11: 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] 445 | char *getenv (); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ extend.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | flook (fname, hflag) | ^ extend.c:27:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | char *flook (); | ^ extend.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | find_keyval (name) | ^ 17 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c kbd.c In file included from kbd.c:5: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from kbd.c:5: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from kbd.c:5: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from kbd.c:5: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ kbd.c:7:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | char *keystrings (); | ^ ./prototyp.h:210:14: note: conflicting prototype is here 210 | extern char *keystrings (int key); | ^ kbd.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | keyname (cp, k) | ^ kbd.c:112:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 112 | sprintf (&cp[strlen (cp)], MSG_fn); | ^~~~~~ kbd.c:112:29: note: treat the string as an argument to avoid this 112 | sprintf (&cp[strlen (cp)], MSG_fn); | ^ | "%s", kbd.c:122:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 122 | sprintf (&cp[strlen (cp)], MSG_esc); | ^~~~~~~ kbd.c:122:30: note: treat the string as an argument to avoid this 122 | sprintf (&cp[strlen (cp)], MSG_esc); | ^ | "%s", kbd.c:134:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 134 | sprintf (&cp[strlen (cp)], MSG_ctl_x); | ^~~~~~~~~ kbd.c:134:29: note: treat the string as an argument to avoid this 134 | sprintf (&cp[strlen (cp)], MSG_ctl_x); | ^ | "%s", kbd.c:141:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 141 | sprintf (&cp[strlen (cp)], MSG_esc); | ^~~~~~~ kbd.c:141:29: note: treat the string as an argument to avoid this 141 | sprintf (&cp[strlen (cp)], MSG_esc); | ^ | "%s", kbd.c:162:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 162 | sprintf (&cp[strlen (cp)], MSG_ctl); | ^~~~~~~ kbd.c:162:30: note: treat the string as an argument to avoid this 162 | sprintf (&cp[strlen (cp)], MSG_ctl); | ^ | "%s", 11 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c spawn.c In file included from spawn.c:4: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from spawn.c:4: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from spawn.c:4: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from spawn.c:4: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ spawn.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | spawncli (f, n, k) | ^ 5 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c ttyio.c In file included from ttyio.c:6: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from ttyio.c:6: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from ttyio.c:6: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from ttyio.c:6: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ 4 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c termio.c In file included from termio.c:47: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from termio.c:47: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from termio.c:47: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from termio.c:47: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ termio.c:273:9: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 273 | ttputc (c) | ^ 274 | { termio.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | ttputc (c) | ^ 6 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c tcap.c In file included from tcap.c:7: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from tcap.c:7: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from tcap.c:7: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from tcap.c:7: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ tcap.c:30:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 30 | extern char *tgoto (); | ^ /usr/include/term.h:846:31: note: conflicting prototype is here 846 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^ tcap.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | putpad (str) | ^ tcap.c:65:11: 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] 65 | char *getenv (); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ tcap.c:66:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 66 | char *t, *p, *tgetstr (); | ^ /usr/include/term.h:845:31: note: conflicting prototype is here 845 | extern NCURSES_EXPORT(char *) tgetstr (const char *, char **); | ^ tcap.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | tcapmove (row, col) | ^ tcap.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | tcaprev (state) /* change reverse video status */ | ^ tcap.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | putnpad (str, n) | ^ 11 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c word.c In file included from word.c:10: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from word.c:10: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from word.c:10: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from word.c:10: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ word.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 13 | char forwunit (); | ^ ./prototyp.h:230:13: note: conflicting prototype is here 230 | extern char forwunit (int f, int n, int k); | ^ word.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | backunit (f, n, k) | ^ word.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | forwunit (f, n, k) | ^ word.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | char forwunit (); | ^ word.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | delfunit (f, n, k) | ^ word.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | delbunit (f, n, k) | ^ 10 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c display.c In file included from display.c:16: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from display.c:16: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from display.c:16: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from display.c:16: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ display.c:18: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 previous declaration [-Wdeprecated-non-prototype] 18 | D64 get_double (); | ^ ./prototyp.h:57:15: note: conflicting prototype is here 57 | extern double get_double (unsigned char *w_buf); | ^ display.c:20: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 previous declaration [-Wdeprecated-non-prototype] 20 | D32 get_long (); | ^ ./prototyp.h:56:22: note: conflicting prototype is here 56 | extern unsigned long get_long (unsigned char *w_buf); | ^ display.c:21: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 previous declaration [-Wdeprecated-non-prototype] 21 | D16 get_int (); | ^ ./prototyp.h:55:23: note: conflicting prototype is here 55 | extern unsigned short get_int (unsigned char *w_buf); | ^ display.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 22 | void writ_echo (); | ^ ./prototyp.h:67:13: note: conflicting prototype is here 67 | extern void writ_echo (char *buf); | ^ display.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | void modeline (); | ^ ./prototyp.h:66:13: note: conflicting prototype is here 66 | extern void modeline (struct WINDOW *wp); | ^ display.c:24:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | void bin_to_text (); | ^ ./prototyp.h:54:13: note: conflicting prototype is here 54 | extern void bin_to_text (char *bin_buf, char *txt_buf, unsigned int len, struct ROW_FMT *fmt_ptr); | ^ display.c:25:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 25 | uint fill_buf (); | ^ ./prototyp.h:58:21: note: conflicting prototype is here 58 | extern unsigned int fill_buf (struct WINDOW *wp, struct LINE *lin, unsigned int lin_off, char *w_buff, unsigned int cnt); | ^ display.c:26:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 26 | uint get_currow (); | ^ ./prototyp.h:61:21: note: conflicting prototype is here 61 | extern unsigned int get_currow (struct WINDOW *wp); | ^ display.c:27:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 27 | uint get_curcol (); | ^ ./prototyp.h:62:21: note: conflicting prototype is here 62 | extern unsigned int get_curcol (struct WINDOW *wp); | ^ display.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | vtmove (row, col) | ^ display.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | vtputc (c) | ^ display.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | vtputd (wp, row) | ^ display.c:499:22: warning: passing arguments to 'get_float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | temp_d = get_float (&bin_buf[i]); | ^ display.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | bin_to_text (bin_buf, txt_buf, len, fmt_ptr) | ^ display.c:24:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | void bin_to_text (); | ^ display.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | get_int (w_buf) | ^ display.c:21: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] 21 | D16 get_int (); | ^ display.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | get_long (w_buf) | ^ display.c:20: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] 20 | D32 get_long (); | ^ display.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | get_float (w_buf) | ^ display.c:19: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] 19 | F32 get_float (); | ^ display.c:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | get_double (w_buf) | ^ display.c:18: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] 18 | D64 get_double (); | ^ display.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | fill_buf (wp, lin, lin_off, w_buff, cnt) | ^ display.c:25:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | uint fill_buf (); | ^ display.c:984:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 984 | printf (ERR_disp_3); | ^~~~~~~~~~ display.c:984:10: note: treat the string as an argument to avoid this 984 | printf (ERR_disp_3); | ^ | "%s", display.c:986:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 986 | printf (ERR_disp_4); | ^~~~~~~~~~ display.c:986:10: note: treat the string as an argument to avoid this 986 | printf (ERR_disp_4); | ^ | "%s", display.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | get_currow (wp) | ^ display.c:26:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | uint get_currow (); | ^ display.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | get_curcol (wp) | ^ display.c:27:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | uint get_curcol (); | ^ display.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | ucopy (vvp, pvp) | ^ display.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | uline (row, vvp, pvp) | ^ display.c:1312:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1312 | sprintf (posn_buf, MSG_siz_8); | ^~~~~~~~~ display.c:1312:25: note: treat the string as an argument to avoid this 1312 | sprintf (posn_buf, MSG_siz_8); | ^ | "%s", display.c:1315:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1315 | sprintf (posn_buf, MSG_siz_16); | ^~~~~~~~~~ display.c:1315:25: note: treat the string as an argument to avoid this 1315 | sprintf (posn_buf, MSG_siz_16); | ^ | "%s", display.c:1318:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1318 | sprintf (posn_buf, MSG_siz_32); | ^~~~~~~~~~ display.c:1318:25: note: treat the string as an argument to avoid this 1318 | sprintf (posn_buf, MSG_siz_32); | ^ | "%s", display.c:1321:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1321 | sprintf (posn_buf, MSG_siz_64); | ^~~~~~~~~~ display.c:1321:25: note: treat the string as an argument to avoid this 1321 | sprintf (posn_buf, MSG_siz_64); | ^ | "%s", display.c:1331:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1331 | sprintf (posn_buf, MSG_siz_null); | ^~~~~~~~~~~~ display.c:1331:21: note: treat the string as an argument to avoid this 1331 | sprintf (posn_buf, MSG_siz_null); | ^ | "%s", display.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | modeline (wp) | ^ display.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void modeline (); | ^ display.c:1365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | writ_echo (buf) | ^ display.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void writ_echo (); | ^ 46 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c file.c In file included from file.c:8: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from file.c:8: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from file.c:8: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from file.c:8: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ file.c:10:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 10 | char load_file (); | ^ ./prototyp.h:94:13: note: conflicting prototype is here 94 | extern char load_file (char *fname, unsigned long start, unsigned long end); | ^ file.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 11 | char readin (); | ^ ./prototyp.h:95:13: note: conflicting prototype is here 95 | extern char readin (char *fname, unsigned long start, unsigned long end); | ^ file.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 12 | void makename (); | ^ ./prototyp.h:96:13: note: conflicting prototype is here 96 | extern void makename (char *bname, char *fname); | ^ file.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 13 | bool parse_f_name (); | ^ ./prototyp.h:101:13: note: conflicting prototype is here 101 | extern char parse_f_name (char *fn, unsigned long *start, unsigned long *end); | ^ file.c:14: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 previous declaration [-Wdeprecated-non-prototype] 14 | A32 ffseek (); | ^ ./prototyp.h:108:22: note: conflicting prototype is here 108 | extern unsigned long ffseek (unsigned long posn); | ^ file.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | file_visit (f, n, k) | ^ file.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | load_file (fname, start, end) /* jam */ | ^ file.c:10:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | char load_file (); | ^ file.c:422:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 422 | sprintf (buf, MSG_no_mem_rd); | ^~~~~~~~~~~~~ file.c:422:16: note: treat the string as an argument to avoid this 422 | sprintf (buf, MSG_no_mem_rd); | ^ | "%s", file.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | readin (fname, start, end) | ^ file.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | char readin (); | ^ file.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | makename (bname, fname) | ^ file.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | void makename (); | ^ file.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | writeout (fn, start, end, mode) | ^ file.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | parse_f_name (fn, start, end) | ^ file.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | bool parse_f_name (); | ^ 20 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c line.c In file included from line.c:22: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from line.c:22: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from line.c:22: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from line.c:22: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ line.c:24:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | void l_fix_up (); | ^ ./prototyp.h:123:13: note: conflicting prototype is here 123 | extern void l_fix_up (struct LINE *line); | ^ line.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | lalloc (size) | ^ line.c:55:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 55 | printf (ERR_no_alloc); | ^~~~~~~~~~~~ line.c:55:10: note: treat the string as an argument to avoid this 55 | printf (ERR_no_alloc); | ^ | "%s", line.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | lfree (lp) | ^ line.c:94:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 94 | printf (ERR_db_dalloc); | ^~~~~~~~~~~~~ line.c:94:10: note: treat the string as an argument to avoid this 94 | printf (ERR_db_dalloc); | ^ | "%s", line.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | lchange (flag) | ^ line.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | l_break_in_two (lp, lo, extra) | ^ line.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | linsert (n, c) | ^ line.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | ldelete (n_bytes, kflag) | ^ line.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | lreplace (n, c) | ^ line.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | lrepl_str (plen, rstr, mstr) | ^ line.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | l_fix_up (line) | ^ line.c:24:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | void l_fix_up (); | ^ 17 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c random.c In file included from random.c:10: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from random.c:10: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from random.c:10: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from random.c:10: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ random.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 12 | char backdel (); | ^ ./prototyp.h:155:13: note: conflicting prototype is here 155 | extern char backdel (int f, int n, int k); | ^ random.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 14 | void bad_key (); | ^ ./prototyp.h:163:13: note: conflicting prototype is here 163 | extern void bad_key (int key); | ^ random.c:16: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 previous declaration [-Wdeprecated-non-prototype] 16 | D64 get_double (); | ^ ./prototyp.h:57:15: note: conflicting prototype is here 57 | extern double get_double (unsigned char *w_buf); | ^ random.c:76:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 76 | ulong get_long (); | ^ ./prototyp.h:56:22: note: conflicting prototype is here 56 | extern unsigned long get_long (unsigned char *w_buf); | ^ random.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | showcpos (f, n, k) | ^ random.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | quote (f, n, k) | ^ random.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | selfinsert (f, n, k) | ^ random.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | insertunit (f, n, k) | ^ random.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | dec_chr_ok (char_buf, max_str, chr, pos) | ^ random.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | dispshift (f, n, k) | ^ random.c:980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | forwdel (f, n, k) | ^ random.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | backdel (f, n, k) | ^ random.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | char backdel (); | ^ random.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | dispswapbyte (f, n, k) | ^ random.c:1248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | yank (f, n, k) | ^ random.c:1331:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1331 | sprintf (buf, MSG_bad_key); | ^~~~~~~~~~~ random.c:1331:19: note: treat the string as an argument to avoid this 1331 | sprintf (buf, MSG_bad_key); | ^ | "%s", random.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | bad_key (key) | ^ random.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | void bad_key (); | ^ random.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | n_way_combine (f, n, k) | ^ random.c:1430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | n_way_split (f, n, k) | ^ 24 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c symbol.c In file included from symbol.c:9: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from symbol.c:9: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from symbol.c:9: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from symbol.c:9: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ symbol.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 11 | void keydup (); | ^ ./prototyp.h:187:13: note: conflicting prototype is here 187 | extern void keydup (int new, char *name); | ^ symbol.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 119 | extern char ctrlg (); /* Abort out of things */ | ^ ./prototyp.h:133:13: note: conflicting prototype is here 133 | extern char ctrlg (int f, int n, int k); | ^ symbol.c:120:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 120 | extern char quit (); /* Quit */ | ^ ./prototyp.h:129:13: note: conflicting prototype is here 129 | extern char quit (int f, int n, int k); | ^ symbol.c:121:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 121 | extern char ctlxlp (); /* Begin macro */ | ^ ./prototyp.h:130:13: note: conflicting prototype is here 130 | extern char ctlxlp (int f, int n, int k); | ^ symbol.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 122 | extern char ctlxrp (); /* End macro */ | ^ ./prototyp.h:131:13: note: conflicting prototype is here 131 | extern char ctlxrp (int f, int n, int k); | ^ symbol.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 123 | extern char ctlxe (); /* Execute macro */ | ^ ./prototyp.h:132:13: note: conflicting prototype is here 132 | extern char ctlxe (int f, int n, int k); | ^ symbol.c:124:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 124 | extern char showversion (); /* Show version numbers, etc. */ | ^ ./prototyp.h:134:13: note: conflicting prototype is here 134 | extern char showversion (int f, int n, int k); | ^ symbol.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 125 | extern char flushnquit (); /* Flush buffers & exit (fitz) */ | ^ ./prototyp.h:128:13: note: conflicting prototype is here 128 | extern char flushnquit (int f, int n, int k); | ^ symbol.c:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 135 | extern char queryrepl (); /* Query replace */ | ^ ./prototyp.h:174:13: note: conflicting prototype is here 174 | extern char queryrepl (int f, int n, int k); | ^ symbol.c:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 142 | extern char backchar (); /* Move backward by characters */ | ^ ./prototyp.h:6:13: note: conflicting prototype is here 6 | extern char backchar (int f, int n, int k); | ^ symbol.c:143:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 143 | extern char forwchar (); /* Move forward by characters */ | ^ ./prototyp.h:7:13: note: conflicting prototype is here 7 | extern char forwchar (int f, int n, int k); | ^ symbol.c:146:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 146 | extern char forwline (); /* Move forward by lines */ | ^ ./prototyp.h:12:13: note: conflicting prototype is here 12 | extern char forwline (int f, int n, int k); | ^ symbol.c:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 147 | extern char backline (); /* Move backward by lines */ | ^ ./prototyp.h:13:13: note: conflicting prototype is here 13 | extern char backline (int f, int n, int k); | ^ symbol.c:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 148 | extern char forwpage (); /* Move forward by pages */ | ^ ./prototyp.h:14:13: note: conflicting prototype is here 14 | extern char forwpage (int f, int n, int k); | ^ symbol.c:149:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 149 | extern char backpage (); /* Move backward by pages */ | ^ ./prototyp.h:15:13: note: conflicting prototype is here 15 | extern char backpage (int f, int n, int k); | ^ symbol.c:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 152 | extern char gotoline (); /* Go to a specified line. */ | ^ ./prototyp.h:18:13: note: conflicting prototype is here 18 | extern char gotoline (int f, int n, int k); | ^ symbol.c:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 173 | extern char file_visit (); /* ditto , plus window split */ | ^ ./prototyp.h:91:13: note: conflicting prototype is here 91 | extern char file_visit (int f, int n, int k); | ^ symbol.c:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 184 | extern char dispshift (); /* Increment display shift */ | ^ ./prototyp.h:153:13: note: conflicting prototype is here 153 | extern char dispshift (int f, int n, int k); | ^ symbol.c:185:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 185 | extern char selfinsert (); /* Insert character */ | ^ ./prototyp.h:141:13: note: conflicting prototype is here 141 | extern char selfinsert (int f, int n, int k); | ^ symbol.c:187:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 187 | extern char insertunit (); /* insert unit (pvr) */ | ^ ./prototyp.h:142:13: note: conflicting prototype is here 142 | extern char insertunit (int f, int n, int k); | ^ symbol.c:188:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 188 | extern char showcpos (); /* Show the cursor position */ | ^ ./prototyp.h:137:13: note: conflicting prototype is here 137 | extern char showcpos (int f, int n, int k); | ^ symbol.c:190:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 190 | extern char forwdel (); /* Forward delete */ | ^ ./prototyp.h:154:13: note: conflicting prototype is here 154 | extern char forwdel (int f, int n, int k); | ^ symbol.c:191:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 191 | extern char backdel (); /* Backward delete */ | ^ ./prototyp.h:155:13: note: conflicting prototype is here 155 | extern char backdel (int f, int n, int k); | ^ symbol.c:192:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 192 | extern char quote (); /* Insert literal */ | ^ ./prototyp.h:139:13: note: conflicting prototype is here 139 | extern char quote (int f, int n, int k); | ^ symbol.c:206:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 206 | extern char dispswapbyte (); /* Display swaped bytes pvr */ | ^ ./prototyp.h:160:13: note: conflicting prototype is here 160 | extern char dispswapbyte (int f, int n, int k); | ^ symbol.c:207:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 207 | extern char yank (); /* Yank back from killbuffer. */ | ^ ./prototyp.h:161:13: note: conflicting prototype is here 161 | extern char yank (int f, int n, int k); | ^ symbol.c:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 209 | extern char n_way_split (); /* Split buffer into n buffers. */ | ^ ./prototyp.h:165:13: note: conflicting prototype is here 165 | extern char n_way_split (int f, int n, int k); | ^ symbol.c:210:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 210 | extern char n_way_combine (); /* Combine n buffers into one. */ | ^ ./prototyp.h:164:13: note: conflicting prototype is here 164 | extern char n_way_combine (int f, int n, int k); | ^ symbol.c:215:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 215 | extern char killregion (); /* Kill region. */ | ^ ./prototyp.h:167:13: note: conflicting prototype is here 167 | extern char killregion (int f, int n, int k); | ^ symbol.c:216:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 216 | extern char copyregion (); /* Copy region to kill buffer. */ | ^ ./prototyp.h:168:13: note: conflicting prototype is here 168 | extern char copyregion (int f, int n, int k); | ^ symbol.c:217:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 217 | extern char save_region (); /* Save region in named buffer. */ | ^ ./prototyp.h:170:13: note: conflicting prototype is here 170 | extern char save_region (int f, int n, int k); | ^ symbol.c:222:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 222 | extern char spawncli (); /* Run CLI in a subjob. */ | ^ ./prototyp.h:182:13: note: conflicting prototype is here 182 | extern char spawncli (int f, int n, int k); | ^ symbol.c:231:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 231 | extern char mvdnwind (); /* Move window down */ | ^ ./prototyp.h:219:13: note: conflicting prototype is here 219 | extern char mvdnwind (int f, int n, int k); | ^ symbol.c:232:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 232 | extern char mvupwind (); /* Move window up */ | ^ ./prototyp.h:220:13: note: conflicting prototype is here 220 | extern char mvupwind (int f, int n, int k); | ^ symbol.c:236:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 236 | extern char enlargewind (); /* Enlarge display window. */ | ^ ./prototyp.h:224:13: note: conflicting prototype is here 224 | extern char enlargewind (int f, int n, int k); | ^ symbol.c:237:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 237 | extern char shrinkwind (); /* Shrink window. */ | ^ ./prototyp.h:225:13: note: conflicting prototype is here 225 | extern char shrinkwind (int f, int n, int k); | ^ symbol.c:238:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 238 | extern char screen_rows (); /* Set the screen size */ | ^ ./prototyp.h:228:13: note: conflicting prototype is here 228 | extern char screen_rows (int f, int n, int k); | ^ symbol.c:243:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 243 | extern char backunit (); /* Backup by units */ | ^ ./prototyp.h:229:13: note: conflicting prototype is here 229 | extern char backunit (int f, int n, int k); | ^ symbol.c:244:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 244 | extern char forwunit (); /* Advance by units */ | ^ ./prototyp.h:230:13: note: conflicting prototype is here 230 | extern char forwunit (int f, int n, int k); | ^ symbol.c:245:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 245 | extern char delfunit (); /* Delete forward unit. */ | ^ ./prototyp.h:231:13: note: conflicting prototype is here 231 | extern char delfunit (int f, int n, int k); | ^ symbol.c:246:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 246 | extern char delbunit (); /* Delete backward unit. */ | ^ ./prototyp.h:232:13: note: conflicting prototype is here 232 | extern char delbunit (int f, int n, int k); | ^ symbol.c:251:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 251 | extern char extend (); /* Extended commands. */ | ^ ./prototyp.h:81:13: note: conflicting prototype is here 81 | extern char extend (int f, int n, int k); | ^ symbol.c:254:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 254 | extern char wallchart (); /* Make wall chart. */ | ^ ./prototyp.h:84:13: note: conflicting prototype is here 84 | extern char wallchart (int f, int n, int k); | ^ symbol.c:255:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 255 | extern void check_extend (); /* load extended key file */ | ^ ./prototyp.h:85:13: note: conflicting prototype is here 85 | extern void check_extend (char *sfname); | ^ symbol.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | symlookup (cp) | ^ symbol.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | symhash (cp) | ^ symbol.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | keyadd (new, funcp, name, modify) | ^ symbol.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | keydup (new, name) | ^ symbol.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | void keydup (); | ^ 53 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c ttykbd.c In file included from ttykbd.c:4: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from ttykbd.c:4: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from ttykbd.c:4: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from ttykbd.c:4: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ ttykbd.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | ungetkey (k) | ^ ttykbd.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | keystrings (key) | ^ 6 warnings generated. cc -O2 -pipe -DUNIX -DBSD -c format.c In file included from format.c:5: ./def.h:538:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 538 | extern BUFFER *bfind (); | ^ ./prototyp.h:30:23: note: conflicting prototype is here 30 | extern struct BUFFER *bfind (char *bname, int cflag); | ^ In file included from format.c:5: ./def.h:539:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 539 | extern BUFFER *bcreate (); | ^ ./prototyp.h:31:23: note: conflicting prototype is here 31 | extern struct BUFFER *bcreate (char *bname); | ^ In file included from format.c:5: ./def.h:541:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 541 | extern LINE *lalloc (); | ^ ./prototyp.h:115:21: note: conflicting prototype is here 115 | extern struct LINE *lalloc (int size); | ^ In file included from format.c:5: ./def.h:551:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 551 | extern SYMBOL *symlookup (); | ^ ./prototyp.h:183:23: note: conflicting prototype is here 183 | extern struct SYMBOL *symlookup (char *cp); | ^ 4 warnings generated. cc -O2 -pipe -DUNIX -DBSD basic.o ebcdic.o fileio.o region.o text.o wangpc.o buffer.o echo.o language.o main.o search.o tty.o window.o cinfo.o extend.o kbd.o spawn.o ttyio.o termio.o tcap.o word.o display.o file.o line.o random.o symbol.o ttykbd.o format.o -lncurses -o beav ld: warning: fileio.c(fileio.o:(fbackupfile)): warning: strcat() is almost always misused, please use strlcat() ld: warning: fileio.c(fileio.o:(fbackupfile)): warning: sprintf() is often misused, please use snprintf() ld: warning: extend.c(extend.o:(wallchart)): warning: strcpy() is almost always misused, please use strlcpy() >>> Running package in editors/beav at 1764696365.84 ===> editors/beav ===> Faking installation for beav-1.40.18p3 /exopi-obj/pobj/beav-1.40.18/bin/install -c -s -m 755 /exopi-obj/pobj/beav-1.40.18/beav-140/beav /exopi-obj/pobj/beav-1.40.18/fake-amd64/usr/local/bin /exopi-obj/pobj/beav-1.40.18/bin/install -c -m 644 /exopi-obj/pobj/beav-1.40.18/beav-140/beav.1 /exopi-obj/pobj/beav-1.40.18/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/beav-1.40.18/bin/install -d -m 755 /exopi-obj/pobj/beav-1.40.18/fake-amd64/usr/local/share/doc/beav /exopi-obj/pobj/beav-1.40.18/bin/install -c -m 644 /exopi-obj/pobj/beav-1.40.18/beav-140/beav140.txt /exopi-obj/pobj/beav-1.40.18/fake-amd64/usr/local/share/doc/beav/beav.txt ===> Building package for beav-1.40.18p3 Create /exopi-cvs/ports/packages/amd64/all/beav-1.40.18p3.tgz Creating package beav-1.40.18p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 7% checksumming|********* | 14% checksumming|************* | 21% checksumming|***************** | 29% checksumming|********************** | 36% checksumming|************************** | 43% checksumming|******************************* | 50% checksumming|*********************************** | 57% checksumming|*************************************** | 64% checksumming|******************************************** | 71% checksumming|************************************************ | 79% checksumming|**************************************************** | 86% checksumming|********************************************************* | 93% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*********************************** | 55% archiving|************************************ | 56% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/beav-1.40.18p3.tgz >>> Running clean in editors/beav at 1764696367.99 ===> editors/beav ===> Cleaning for beav-1.40.18p3 >>> Ended at 1764696368.86 max_stuck=0.00/build=7.29/package=2.09/clean=0.96