>>> Building on exopi-2 under mail/elm DIST = [mail/elm:elm-2.4ME+66.tar.gz] FULLPKGNAME = elm-2.4ME+66p5 distfiles size=760609 >>> Running build in mail/elm at 1764444306.84 ===> mail/elm ===> Building from scratch elm-2.4ME+66p5 ===> Verifying specs: c curses ===> found c.102.2 curses.16.0 ===> Checking files for elm-2.4ME+66p5 `/exopi-cvs/ports/distfiles/elm-2.4ME+66.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for elm-2.4ME+66p5 ===> Patching for elm-2.4ME+66p5 ===> Applying OpenBSD patch patch-Configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Configure.orig Tue Nov 9 20:43:04 1999 |+++ Configure Sun Dec 8 00:09:33 2013 -------------------------- Patching file Configure using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 4402. done ===> Applying OpenBSD patch patch-doc_elmcharset_1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- doc/elmcharset.1.orig Tue Nov 9 20:43:05 1999 |+++ doc/elmcharset.1 Fri Oct 26 23:46:56 2007 -------------------------- Patching file doc/elmcharset.1 using Plan A... Hunk #1 succeeded at 6. done ===> Applying OpenBSD patch patch-hdrs_defs_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- hdrs/defs.h.orig Tue Nov 9 20:42:41 1999 |+++ hdrs/defs.h Mon Oct 8 00:21:37 2001 -------------------------- Patching file hdrs/defs.h using Plan A... Hunk #1 succeeded at 748. done ===> Applying OpenBSD patch patch-hdrs_headers_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- hdrs/headers.h.orig Tue Nov 9 20:42:41 1999 |+++ hdrs/headers.h Wed Mar 16 21:30:21 2016 -------------------------- Patching file hdrs/headers.h using Plan A... Hunk #1 succeeded at 16. done ===> Applying OpenBSD patch patch-lib_dynarray_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lib/dynarray.c.orig Tue Nov 9 20:42:41 1999 |+++ lib/dynarray.c Mon Oct 8 00:19:51 2001 -------------------------- Patching file lib/dynarray.c using Plan A... Hunk #1 succeeded at 3. done ===> Applying OpenBSD patch patch-lib_read_rc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: lib/read_rc.c |--- lib/read_rc.c.orig |+++ lib/read_rc.c -------------------------- Patching file lib/read_rc.c using Plan A... Hunk #1 succeeded at 76. done ===> Applying OpenBSD patch patch-nls_Install Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- nls/Install.orig Mon Jun 5 00:03:48 2000 |+++ nls/Install Mon Jun 5 00:05:15 2000 -------------------------- Patching file nls/Install using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-nls_LANGS Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- nls/LANGS.orig Tue Nov 9 20:42:42 1999 |+++ nls/LANGS Fri Oct 26 23:46:55 2007 -------------------------- Patching file nls/LANGS using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-nls_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- nls/Makefile.orig Tue Nov 9 20:42:42 1999 |+++ nls/Makefile Fri Oct 26 23:46:55 2007 -------------------------- Patching file nls/Makefile using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 46. done ===> Applying OpenBSD patch patch-src_calendar_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/calendar.c |--- src/calendar.c.orig |+++ src/calendar.c -------------------------- Patching file src/calendar.c using Plan A... Hunk #1 succeeded at 37. done ===> Applying OpenBSD patch patch-src_date_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/date.c.orig Sat Dec 7 23:47:36 2013 |+++ src/date.c Sat Dec 7 23:47:49 2013 -------------------------- Patching file src/date.c using Plan A... Hunk #1 succeeded at 19. done ===> Applying OpenBSD patch patch-src_edit_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/edit.c |--- src/edit.c.orig |+++ src/edit.c -------------------------- Patching file src/edit.c using Plan A... Hunk #1 succeeded at 70. done ===> Applying OpenBSD patch patch-src_elm_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/elm.c |--- src/elm.c.orig |+++ src/elm.c -------------------------- Patching file src/elm.c using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 31. Hunk #3 succeeded at 45. done ===> Applying OpenBSD patch patch-src_mailmsg2_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/mailmsg2.c.orig Tue Nov 9 20:43:05 1999 |+++ src/mailmsg2.c Fri Oct 26 23:46:56 2007 -------------------------- Patching file src/mailmsg2.c using Plan A... Hunk #1 succeeded at 1581. done ===> Applying OpenBSD patch patch-utils_newmail_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- utils/newmail.c.orig Tue Nov 9 20:42:42 1999 |+++ utils/newmail.c Sat Dec 7 23:55:41 2013 -------------------------- Patching file utils/newmail.c using Plan A... Hunk #1 succeeded at 66. Hunk #2 succeeded at 140. Hunk #3 succeeded at 325. Hunk #4 succeeded at 693. 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 elm-2.4ME+66p5 ===> Configuring for elm-2.4ME+66p5 (I see you are using the Korn shell. Some ksh's blow up on Configure, especially on exotic machines. If yours does, try the Bourne shell instead.) Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting config.h (with variable substitutions) Extracting doc/Makefile (with variable substitutions) Extracting filter/Makefile (with variable substitutions) Extracting hdrs/sysdefs.h (with variable substitutions) Extracting lib/Makefile (with variable substitutions) Extracting src/Makefile (with variable substitutions) Extracting utils/Makefile (with variable substitutions) Extracting utils/checkalias (with variable substitutions) Extracting utils/listalias (with variable substitutions) Extracting utils/messages (with variable substitutions) Extracting utils/printmail (with variable substitutions) Extracting melib/Makefile (with variable substitutions) Now you must run a make. ===> Building for elm-2.4ME+66p5 cd melib; /usr/bin/make all /bin/chmod u+w ../hdrs/defs.h /usr/bin/touch ../hdrs/defs.h /bin/chmod u+w ../hdrs/headers.h /usr/bin/touch ../hdrs/headers.h cc -I../hdrs -O2 -pipe -c parse_util.c In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from parse_util.c:10: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ parse_util.c:15:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | static void header_panic(f,ln,pr,ms) | ^ parse_util.c:48:3: warning: call to undeclared function 'emergency_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | emergency_exit(); | ^ parse_util.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void rfc822_reap_comments (ptr, comments, size) | ^ parse_util.c:119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int read_header_line (fp, buf, size,flag) | ^ parse_util.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | int state_read_hdr_line (s, buf, size,flag) | ^ parse_util.c:305:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | header_ptr find_header(name, create_flag) | ^ parse_util.c:342:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | int classify_header(name) | ^ parse_util.c:356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | long skip_envelope(hdr, fp) | ^ parse_util.c:370:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | sleep_message(); | ^ parse_util.c:401:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | sleep_message(); | ^ parse_util.c:410:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | header_list_ptr locate_header(h,n) | ^ parse_util.c:428:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | header_list_ptr file_read_headers(fp, flag) | ^ parse_util.c:446:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | header_list_ptr state_read_headers(s, flag) | ^ parse_util.c:457:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 457 | while (size = state_read_hdr_line(s,buffer,sizeof buffer, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 458 | RHL_CHECK_HEADER|flag) > 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ parse_util.c:457:15: note: place parentheses around the assignment to silence this warning 457 | while (size = state_read_hdr_line(s,buffer,sizeof buffer, | ^ | ( 458 | RHL_CHECK_HEADER|flag) > 0) { | | ) parse_util.c:457:15: note: use '==' to turn this assignment into an equality comparison 457 | while (size = state_read_hdr_line(s,buffer,sizeof buffer, | ^ | == parse_util.c:537:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | void delete_headers(hdr) | ^ parse_util.c:561:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | int NULL_header_filter(hdr,flag) | ^ parse_util.c:572:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | void NULL_header_converter (hdr,flag,buffer,size) | ^ parse_util.c:589:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | void state_write_headers(s,hdr,filter,convert,flag) | ^ 70 warnings generated. cc -I../hdrs -O2 -pipe -c pgp_decode.c In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from pgp_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ pgp_decode.c:35:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | enum pgp_version have_pgp (v) | ^ pgp_decode.c:57:3: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | sleep_message(); | ^ pgp_decode.c:65:6: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | sleep_message(); | ^ pgp_decode.c:87:3: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | sleep_message(); | ^ pgp_decode.c:96:6: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | sleep_message(); | ^ pgp_decode.c:113:3: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | sleep_message(); | ^ pgp_decode.c:121:6: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | sleep_message(); | ^ pgp_decode.c:40:12: warning: enumeration value 'PGP_NUM' not handled in switch [-Wswitch] 40 | switch(v) { | ^ pgp_decode.c:167:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static int GetPassphrase (v) | ^ pgp_decode.c:181:5: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | CleartoEOS(); | ^ pgp_decode.c:197:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | int pgp_goodPassphrase(v) | ^ pgp_decode.c:207:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | static void close_them(rs) | ^ pgp_decode.c:219:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | int pgp_decrypt_init (fpin, fpout, opts, v, rs) | ^ pgp_decode.c:294:12: warning: enumeration values 'pgp_none', 'gpg', and 'PGP_NUM' not handled in switch [-Wswitch] 294 | switch(v) { | ^ pgp_decode.c:307:12: warning: enumeration values 'pgp_none' and 'PGP_NUM' not handled in switch [-Wswitch] 307 | switch(v) { | ^ pgp_decode.c:407:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | static int pgp_mime_opts (s) | ^ pgp_decode.c:432:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | void pgp_decode (m, s_in, s_out) | ^ pgp_decode.c:523:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | if (decode_fp = arrange_decoded(m,s_in,s_out,&newstate2,NULL)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp_decode.c:523:19: note: place parentheses around the assignment to silence this warning 523 | if (decode_fp = arrange_decoded(m,s_in,s_out,&newstate2,NULL)) { | ^ | ( ) pgp_decode.c:523:19: note: use '==' to turn this assignment into an equality comparison 523 | if (decode_fp = arrange_decoded(m,s_in,s_out,&newstate2,NULL)) { | ^ | == pgp_decode.c:527:17: warning: call to undeclared function 'is_text_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | int was_text = is_text_type (mime_types[m->type], m->subtype, | ^ pgp_decode.c:885:3: warning: call to undeclared function 'PressAnyKeyToContinue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | PressAnyKeyToContinue(); | ^ pgp_decode.c:919:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | void pgp_SG_decoder(body,sign,state_in,state_out,micalg) | ^ pgp_decode.c:949:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 949 | if (binary_fp = arrange_binary(body,state_in,state_out,&newstate2, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 950 | &body_name)) { | ~~~~~~~~~~~ pgp_decode.c:949:16: note: place parentheses around the assignment to silence this warning 949 | if (binary_fp = arrange_binary(body,state_in,state_out,&newstate2, | ^ | ( 950 | &body_name)) { | | ) pgp_decode.c:949:16: note: use '==' to turn this assignment into an equality comparison 949 | if (binary_fp = arrange_binary(body,state_in,state_out,&newstate2, | ^ | == pgp_decode.c:966:3: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 966 | sleep_message(); | ^ pgp_decode.c:970:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 970 | if (decode_fp = arrange_decoded(sign,state_in,state_out,&newstate3, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 971 | &sign_name)) { | ~~~~~~~~~~~ pgp_decode.c:970:20: note: place parentheses around the assignment to silence this warning 970 | if (decode_fp = arrange_decoded(sign,state_in,state_out,&newstate3, | ^ | ( 971 | &sign_name)) { | | ) pgp_decode.c:970:20: note: use '==' to turn this assignment into an equality comparison 970 | if (decode_fp = arrange_decoded(sign,state_in,state_out,&newstate3, | ^ | == pgp_decode.c:977:10: warning: 4 enumeration values not handled in switch: 'pgp_none', 'pgp5', 'gpg'... [-Wswitch] 977 | switch(version) { | ^~~~~~~ pgp_decode.c:1018:3: warning: call to undeclared function 'PressAnyKeyToContinue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1018 | PressAnyKeyToContinue(); | ^ pgp_decode.c:1051:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1051 | sleep_message(); | ^ pgp_decode.c:1074:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | void pgp_EC_decoder(init,data,state_in,state_out) | ^ pgp_decode.c:1095:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1095 | sleep_message(); | ^ pgp_decode.c:1116:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1116 | if (decode_fp = arrange_decoded(data,state_in,state_out,&newstate2, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1117 | NULL)) { | ~~~~~ pgp_decode.c:1116:19: note: place parentheses around the assignment to silence this warning 1116 | if (decode_fp = arrange_decoded(data,state_in,state_out,&newstate2, | ^ | ( 1117 | NULL)) { | | ) pgp_decode.c:1116:19: note: use '==' to turn this assignment into an equality comparison 1116 | if (decode_fp = arrange_decoded(data,state_in,state_out,&newstate2, | ^ | == pgp_decode.c:1268:2: warning: call to undeclared function 'PressAnyKeyToContinue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1268 | PressAnyKeyToContinue(); | ^ 83 warnings generated. cc -I../hdrs -O2 -pipe -c mime.c In file included from mime.c:9: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mime.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ mime.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | void mime_panic(f,ln,pr,ms) | ^ mime.c:63:3: warning: call to undeclared function 'emergency_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | emergency_exit(); | ^ mime.c:67:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | int check_encoding(Encoding) | ^ mime.c:107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | int charset_ok(s) | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c mime_decode.c In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mime_decode.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ mime_decode.c:43:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | static void Xbit_decode (s_in, s_out, len, is_text) | ^ mime_decode.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void base64_decode (s_in, s_out, length, astext) | ^ mime_decode.c:226:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | sleep_message(); | ^ mime_decode.c:235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | void quoted_printable_decode (s_in, s_out, length, astext) | ^ mime_decode.c:342:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | sleep_message(); | ^ mime_decode.c:356:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | static void multipart_decode (att, state_in, state_out) | ^ mime_decode.c:379:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | sleep_message(); | ^ mime_decode.c:405:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | sleep_message(); | ^ mime_decode.c:491:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | sleep_message(); | ^ mime_decode.c:470:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | static void null_SG_decoder(body,sign,state_in,state_out,micalg) | ^ mime_decode.c:496:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | static void null_EC_decoder(init,data,state_in,state_out) | ^ mime_decode.c:524:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | static SG_decoder_t select_SG_decoder(protocol) | ^ mime_decode.c:545:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | static void signed_decode (ptr, state_in, state_out) | ^ mime_decode.c:566:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 566 | sleep_message(); | ^ mime_decode.c:578:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 578 | sleep_message(); | ^ mime_decode.c:591:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | sleep_message(); | ^ mime_decode.c:615:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | static EC_decoder_t select_EC_decoder(protocol) | ^ mime_decode.c:636:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | static void encrypted_decode (ptr, state_in, state_out) | ^ mime_decode.c:656:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 656 | sleep_message(); | ^ mime_decode.c:668:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | sleep_message(); | ^ mime_decode.c:681:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | sleep_message(); | ^ mime_decode.c:696:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | static void alternative_decode (ptr, state_in, state_out) | ^ mime_decode.c:714:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | sleep_message(); | ^ mime_decode.c:726:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 726 | sleep_message(); | ^ mime_decode.c:747:4: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | sleep_message(); | ^ mime_decode.c:814:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 814 | sleep_message(); | ^ mime_decode.c:822:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | static void multipart_0_decode (ptr, state_in, state_out) | ^ mime_decode.c:841:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 841 | sleep_message(); | ^ mime_decode.c:852:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | static int rfc822_header_filter(hdr,flag) | ^ mime_decode.c:862:9: warning: call to undeclared function 'matches_weedlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 862 | if (matches_weedlist (buf)) | ^ mime_decode.c:870:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | static void rfc822_header_converter (hdr,flag,buffer,size) | ^ mime_decode.c:901:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | static void rfc822_decode (mt, state_in, state_out) | ^ mime_decode.c:928:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 928 | sleep_message(); | ^ mime_decode.c:940:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 940 | sleep_message(); | ^ mime_decode.c:996:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 996 | sleep_message(); | ^ mime_decode.c:1011:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | static int ASCII_filter(c,st) | ^ mime_decode.c:1026:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | static int run_decoder (ptr, state_in, state_out) | ^ mime_decode.c:1049:13: warning: call to undeclared function 'is_text_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1049 | is_text = is_text_type (mime_types[ptr->type], ptr->subtype, | ^ mime_decode.c:1091:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | int set_filter (ptr, state) | ^ mime_decode.c:1158:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | static void text_decode (ptr, state_in, state_out) | ^ mime_decode.c:1200:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | FILE * arrange_binary(ptr,state_in,state_out,newstate2, name) | ^ mime_decode.c:1235:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1235 | sleep_message(); | ^ mime_decode.c:1253:6: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1253 | sleep_message(); | ^ mime_decode.c:1285:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | FILE * arrange_decoded(ptr,state_in,state_out,newstate2,name) | ^ mime_decode.c:1323:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1323 | sleep_message(); | ^ mime_decode.c:1351:3: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1351 | sleep_message(); | ^ mime_decode.c:1388:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | static void elm_decode (ptr, state_in, state_out) | ^ mime_decode.c:1414:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1414 | if (tmpfp = arrange_decoded(ptr,state_in,state_out,&newstate2,NULL)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime_decode.c:1414:13: note: place parentheses around the assignment to silence this warning 1414 | if (tmpfp = arrange_decoded(ptr,state_in,state_out,&newstate2,NULL)) { | ^ | ( ) mime_decode.c:1414:13: note: use '==' to turn this assignment into an equality comparison 1414 | if (tmpfp = arrange_decoded(ptr,state_in,state_out,&newstate2,NULL)) { | ^ | == mime_decode.c:1418:7: warning: call to undeclared function 'getkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1418 | getkey(OFF); | ^ mime_decode.c:1437:4: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1437 | encode(buffer); | ^ mime_decode.c:1464:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | static void text_unsupported_decode (ptr, state_in, state_out) | ^ mime_decode.c:1501:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | void null_decode (ptr, state_in, state_out) | ^ mime_decode.c:1533:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | CT_decoder_t select_CT_decoder (ptr) | ^ mime_decode.c:1632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | void mime_decode (ptr, state_in, state_out) | ^ mime_decode.c:1656:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1656 | sleep_message(); | ^ mime_decode.c:1673:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1673 | sleep_message(); | ^ mime_decode.c:1693:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | static int rfc1522_decode_word (ptr, state) | ^ mime_decode.c:1801:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | static int decode_encoded_atom (trg,trg_len,src) | ^ mime_decode.c:1826:29: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1826 | if (rfc1522_decode_word(src,&state) == -1) | ^~~ mime_decode.c:1836:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | static int rfc1522_decode_real (p, state) | ^ mime_decode.c:1913:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1913 | int is_rfc1522 (s) | ^ mime_decode.c:1926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | void rfc1522_decode (ptr, len) | ^ mime_decode.c:1956:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | char * blstrpbrk (string, set) | ^ mime_decode.c:1975:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1975 | static void rfc1522_decode_comment (ptr, size) | ^ mime_decode.c:2073:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | void rfc1522_decode_structured (class, ptr, size) | ^ mime_decode.c:2199:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2199 | static mime_t * best_alternative(att) | ^ mime_decode.c:2208:10: warning: call to undeclared function 'mime_notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2208 | if (!mime_notplain(att)) { | ^ mime_decode.c:2227:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2227 | static int can_handle(att) | ^ mime_decode.c:2240:11: warning: call to undeclared function 'mime_notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2240 | if (mime_notplain(att)) { | ^ mime_decode.c:2257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | int mime_notplain (p) | ^ 122 warnings generated. cc -I../hdrs -O2 -pipe -c mime_parse.c In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mime_parse.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ mime_parse.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | mime_needs_processing (p) | ^ mime_parse.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | mime_destroy (ptr) | ^ mime_parse.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | mime_t_clear (mt) | ^ mime_parse.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | mime_get_disposition (str, mt) | ^ mime_parse.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | mime_check_type (str) | ^ mime_parse.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | mime_get_content (str, mt) | ^ mime_parse.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | mime_get_param (name, value, opts, size) | ^ mime_parse.c:380:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | void mime_get_boundary (boundary, opts, size) | ^ mime_parse.c:387:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | sleep_message(); | ^ mime_parse.c:393:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | int class_charset(charset_value) | ^ mime_parse.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | mime_get_charset (charset_value, opts, size) | ^ mime_parse.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | mime_t_zero (ptr) | ^ mime_parse.c:497:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | void mime_t_copy(trg, src) | ^ mime_parse.c:609:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 609 | sleep_message(); | ^ mime_parse.c:622:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | sleep_message(); | ^ mime_parse.c:645:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | sleep_message(); | ^ mime_parse.c:671:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | sleep_message(); | ^ mime_parse.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | mime_read_header (fp, opts) | ^ mime_parse.c:720:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | mime_t * multipart_parse (fp, length, boundary, opts) | ^ mime_parse.c:800:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 800 | sleep_message(); | ^ mime_parse.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | rfc822_parse (fp, len) | ^ mime_parse.c:871:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | sleep_message(); | ^ mime_parse.c:883:29: warning: call to undeclared function 'is_pre_mime_content_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 883 | pre_mime_content_type = is_pre_mime_content_type(ret,content_type->body); | ^ mime_parse.c:889:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 889 | sleep_message(); | ^ mime_parse.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | mime_warnings(hdr) | ^ mime_parse.c:943:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 943 | sleep_message(); | ^ mime_parse.c:948:5: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 948 | sleep_message(); | ^ mime_parse.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | attach_parse (hdr, fp) | ^ mime_parse.c:990:7: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 990 | sleep_message(); | ^ mime_parse.c:1001:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1001 | sleep_message(); | ^ mime_parse.c:1005:2: warning: call to undeclared function 'lower_prompt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1005 | lower_prompt(catgets(elm_msg_cat, MeSet, MeParsingMime, | ^ mime_parse.c:1011:8: warning: call to undeclared function 'mime_notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1011 | tmp = mime_notplain(&(hdr->mime_rec)); | ^ mime_parse.c:1026:2: warning: call to undeclared function 'sleep_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1026 | sleep_message(); | ^ mime_parse.c:1030:2: warning: call to undeclared function 'lower_prompt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1030 | lower_prompt(catgets(elm_msg_cat, MeSet, MeParsingMime, | ^ mime_parse.c:1034:8: warning: call to undeclared function 'mime_notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1034 | tmp = mime_notplain(&(hdr->mime_rec)); | ^ mime_parse.c:1051:5: warning: call to undeclared function 'lower_prompt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1051 | lower_prompt(""); | ^ 88 warnings generated. cc -I../hdrs -O2 -pipe -c state.c In file included from state.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from state.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ state.c:14:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int NULL_filter(c,st) | ^ state.c:23:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | static void state_panic(f,ln,pr,ms) | ^ state.c:56:3: warning: call to undeclared function 'emergency_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | emergency_exit(); | ^ state.c:60:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | static void init_si_file(s) | ^ state.c:68:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | static void init_si_string(s) | ^ state.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void in_state_clear (s,m) | ^ state.c:91:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | static void dest_si_file(s) | ^ state.c:100:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | static void dest_si_string(s) | ^ state.c:113:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | void in_state_destroy (s) | ^ state.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void set_in_state_buffer (c, s) | ^ state.c:138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | void set_in_state_file (F, s) | ^ state.c:151:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | int in_state_seekable (s) | ^ state.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | int in_state_fseek (s,pos) | ^ state.c:177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | long in_state_ftell (s) | ^ state.c:189:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | FILE * in_state_FILE (s) | ^ state.c:202:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | static int getc_si_file(s) | ^ state.c:214:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | static int getc_si_string(s) | ^ state.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | int state_getc (s) | ^ state.c:254:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | static int ungetc_si_file (c,s) | ^ state.c:267:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | static int ungetc_si_string (c,s) | ^ state.c:287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | int state_ungetc (c,s) | ^ state.c:302:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static char *gets_si_file (dest, length, s) | ^ state.c:316:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | static int getl_si_file (dest, length, s) | ^ state.c:331:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | static int getl_si_string (dest, length, s) | ^ state.c:358:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | static char *gets_si_string (dest, length, s) | ^ state.c:375:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | char *state_gets (dest, length, s) | ^ state.c:389:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | int state_getl (dest, length, s) | ^ state.c:405:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | static void init_so_file(s) | ^ state.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | static void init_so_string(s) | ^ state.c:422:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | void out_state_clear (s,m) | ^ state.c:441:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | static void dest_so_file(s) | ^ state.c:450:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | static void dest_so_string(s) | ^ state.c:461:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | void out_state_destroy (s) | ^ state.c:478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | void set_out_state_buffer (buffer,size,s) | ^ state.c:494:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | void out_state_ref_buffer (s,p,len) | ^ state.c:510:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | void set_out_state_file (file,s) | ^ state.c:522:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | static int putc_so_file(s,ch) | ^ state.c:541:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | static int putc_so_string(s,ch) | ^ state.c:565:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | int state_putc (ch, s) | ^ state.c:578:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | static int put_so_file(s,string,len) | ^ state.c:602:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | static int put_so_string(s,string,len) | ^ state.c:621:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | int state_put (string, len, s) | ^ state.c:634:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | int state_puts (string, state) | ^ 95 warnings generated. cc -I../hdrs -O2 -pipe -c syscall.c In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from syscall.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ syscall.c:23:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | int set_child_signals(options) | ^ syscall.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int set_child_env(options) | ^ syscall.c:89:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | static void got_sigchld (sig) | ^ syscall.c:159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | int maybe_background (rs,exit_code,fd,title,func) | ^ syscall.c:191:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | static void raw_exit(rs) | ^ syscall.c:203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | static void print_status(rs,sig,exit_code) | ^ syscall.c:231:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | int run_already_done (rs,exit_code) | ^ syscall.c:283:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | int wait_end (rs,exit_code) | ^ syscall.c:321:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | char ** join_argv(argv1,argv2) | ^ syscall.c:343:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | int start_run(rs, options, argv, infd, outfd) | ^ 62 warnings generated. ar r libme.a parse_util.o pgp_decode.o mime.o mime_decode.o mime_parse.o state.o syscall.o ar: warning: creating libme.a /usr/bin/ranlib libme.a cd lib; /usr/bin/make all cc -I../hdrs -O2 -pipe -c add_site.c In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from add_site.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ add_site.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int add_site(buffer, site, lastsite, size) | ^ add_site.c:30:8: warning: a function 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 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c addrmchusr.c In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from addrmchusr.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ addrmchusr.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int addr_matches_user(addr,user) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c atonum.c In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from atonum.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ atonum.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int atonum(str) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c mk_aliases.c In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mk_aliases.c:30: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ mk_aliases.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 | get_alias(file, fromelm) | ^ mk_aliases.c:113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | int get_line(file, buffer, first_line, fromelm) | ^ mk_aliases.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | void de_escape(the_string) | ^ mk_aliases.c:189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | int add_to_hash_table(word, offset) | ^ mk_aliases.c:226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | void add_to_table(data, aliases, lastn, firstn, comment, addresses) | ^ mk_aliases.c:294:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | int check_alias(aliases) | ^ mk_aliases.c:346:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | int check_address(addresses) | ^ mk_aliases.c:389:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | void put_alias(data) | ^ mk_aliases.c:478:43: warning: while loop has empty body [-Wempty-body] 478 | while (--s >= lastn && whitespace(*s) ) ; | ^ mk_aliases.c:478:43: note: put the semicolon on a separate line to silence this warning mk_aliases.c:556:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | int do_newalias(inputname, dataname, fromelm, textwarn) | ^ mk_aliases.c:569:10: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 569 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasNoAlloc, | ^ mk_aliases.c:626:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 626 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasNoSave, | ^ mk_aliases.c:646:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | static void delete_alias_files(dataname, fromelm) | ^ 65 warnings generated. cc -I../hdrs -O2 -pipe -c aliasdb.c In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from aliasdb.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ aliasdb.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | bytemap(ino, map1, map2) | ^ aliasdb.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int read_one_alias(db, adr) | ^ aliasdb.c:99:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | struct alias_rec *fetch_alias(db, alias) | ^ aliasdb.c:200:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | char *next_addr_in_list(aptr) | ^ aliasdb.c:218:39: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] 218 | while (*back != '\0' && *back != ',' & !isspace(*back)) | ~~~~~~~~~~~~~^ aliasdb.c:218:39: note: place parentheses around the '!=' expression to silence this warning 218 | while (*back != '\0' && *back != ',' & !isspace(*back)) | ^ | ( ) aliasdb.c:218:39: note: place parentheses around the & expression to evaluate it first 218 | while (*back != '\0' && *back != ',' & !isspace(*back)) | ^ | ( ) 57 warnings generated. cc -I../hdrs -O2 -pipe -c mk_lockname.c In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mk_lockname.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ mk_lockname.c:22:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char * mk_lockname(file_to_lock) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c can_access.c In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from can_access.c:26: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ can_access.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int can_access(file, mode) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c can_open.c In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from can_open.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ can_open.c:29:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | int can_open(file, mode) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c chloc.c In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from chloc.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ chloc.c:30:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | int chloc(string, ch) | ^ chloc.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | int qchloc(string, ch) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c charset.c In file included from charset.c:9: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from charset.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ charset.c:54:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | static struct charcode_info * find_set(func,data) | ^ charset.c:91:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | static struct charcode_info * add_set(s) | ^ charset.c:116:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | static int same_name (set,data) | ^ charset.c:127:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | charset_t MIME_name_to_charset (name,create) | ^ charset.c:168:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | static int add_it_ (ascii_ptr,item,list,count,max) | ^ charset.c:181:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 181 | else { | ^ charset.c:197:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | static int array_walk_ (ascii_ptr,arr,arrsize, list, count, max) | ^ charset.c:217:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | static int name_ok(name) | ^ charset.c:226:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | int charset_compatfunc (value,enter) | ^ charset.c:362:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | static char * dequote_opt(source,len) | ^ charset.c:412:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | int load_charset_map_info(buffer,data) | ^ charset.c:524:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | static void dump_map_info(f,info) | ^ charset.c:533:2: warning: call to undeclared function 'elm_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | elm_fprintf(f,FRM("%Q"),info->MIME_name); | ^ charset.c:544:2: warning: call to undeclared function 'elm_fprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 544 | elm_fprintf(f,FRM(";MIME-subset=%s"),info->parts[0]->MIME_name); | ^ charset.c:550:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | int get_charset_map_info (buffer,data,size) | ^ charset.c:579:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | static int charset_superset_of_p(charset,subset,level) | ^ charset.c:606:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | int charset_superset_of(charset,subset) | ^ charset.c:618:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | int charset_ok_p(ptr) | ^ charset.c:630:27: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | struct locale_map_item * load_locale_map(filename) | ^ charset.c:731:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | void dump_locale_map(f,map) | ^ charset.c:769:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | char * mime_parse_content_opts (str) | ^ 73 warnings generated. cc -I../hdrs -O2 -pipe -c date_util.c In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from date_util.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ date_util.c:105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | int cvt_dayname_to_daynum(str, day_p) | ^ date_util.c:129:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | int cvt_monthname_to_monthnum(str, month_p) | ^ date_util.c:153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | int cvt_yearstr_to_yearnum(str, year_p) | ^ date_util.c:184:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | int cvt_mmddyy_to_dayofyear(month, dayofmon, year, dayofyear_p) | ^ date_util.c:201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | int cvt_timezone_to_offset(str, mins_p, size) | ^ date_util.c:267:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | int cvt_numtz_to_mins(str) | ^ date_util.c:308:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | int cvt_timestr_to_hhmmss(str, hours_p, mins_p, secs_p) | ^ date_util.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | long make_gmttime(year, month, day, hours, mins, secs) | ^ 60 warnings generated. cc -I../hdrs -O2 -pipe -c dispaddr.c In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from dispaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ dispaddr.c:15:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | static void addr_to_str(f,size,addr) | ^ dispaddr.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 | DisplayAddress (h, f, size, decoder) | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c dynarray.c In file included from dynarray.c:6: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from dynarray.c:6: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from dynarray.c:6: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from dynarray.c:6: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from dynarray.c:6: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from dynarray.c:6: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ dynarray.c:23:26: warning: passing arguments to 'safe_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | c = (char**)safe_malloc(record_size * (n+1)); | ^ dynarray.c:25:27: warning: passing arguments to 'safe_realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | c = (char**)safe_realloc(p, record_size * (newmax+1)); | ^ dynarray.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | DynamicArray (p, record_size, max, n) | ^ In file included from dynarray.c:6: ../hdrs/defs.h:752:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 752 | char ** DynamicArray (); | ^ dynarray.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 | DestroyDynamicArray (p) | ^ In file included from dynarray.c:6: ../hdrs/defs.h:753: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] 753 | void DestroyDynamicArray (); | ^ 46 warnings generated. cc -I../hdrs -O2 -pipe -c errno.c In file included from errno.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from errno.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ errno.c:75:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | char *error_description(errnumber) | ^ errno.c:80:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 80 | extern char *strerror(); | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c expand.c In file included from expand.c:23: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from expand.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ expand.c:28:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | int expand(filename, size) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c forwarded.c In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from forwarded.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ forwarded.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void forwarded(buffer, entry) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c gcos_name.c In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from gcos_name.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ gcos_name.c:20:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | char * gcos_name(gcos_field, logname) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c get_tz.c In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from get_tz.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ get_tz.c:49:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 49 | extern long make_gmttime(); /* from date_util.c */ | ^ ../hdrs/elmlib.h:100:13: note: conflicting prototype is here 100 | extern long make_gmttime P_((int, int, int, int, int, int)); | ^ get_tz.c:86:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | CONST char *get_tz_name(tm) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c getaddr.c In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from getaddr.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ getaddr.c:13:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | char **rfc822_tokenize(line) | ^ getaddr.c:23:11: warning: call to undeclared function 'rfc822_toklen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | len = rfc822_toklen(ptr); | ^ getaddr.c:32:11: warning: call to undeclared function 'rfc822_toklen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | len = rfc822_toklen(ptr); | ^ getaddr.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void remove_space_tokenized(tokenized) | ^ getaddr.c:77:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | void free_rfc822tokenized(res) | ^ getaddr.c:97:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | static int look_special_tokens(tokenized,tok_chars, | ^ getaddr.c:188:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | static char *scanned_to_phrase(scanned,decoder) | ^ getaddr.c:234:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | static char *scanned_to_str(scanned) | ^ getaddr.c:248:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | struct addr_item * break_down_address (buffer, decoder) | ^ getaddr.c:555:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | void free_addr_items (list) | ^ 62 warnings generated. cc -I../hdrs -O2 -pipe -c getaddrfrm.c In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from getaddrfrm.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ getaddrfrm.c:23:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | void get_address_from(line, buffer, size) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c getarpdate.c In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from getarpdate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ 52 warnings generated. cc -I../hdrs -O2 -pipe -c getfullnam.c In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from getfullnam.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ getfullnam.c:26: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] 26 | char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ getfullnam.c:28:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | char * get_full_name(logname) | ^ getfullnam.c:42:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 42 | struct passwd *getpwnam(), *pass; | ^ /usr/include/pwd.h:95:16: note: conflicting prototype is here 95 | struct passwd *getpwnam(const char *); | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c getword.c In file included from getword.c:15: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from getword.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ getword.c:17:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | int get_word(buffer, start, word, wordlen) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c header_cmp.c In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from header_cmp.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ header_cmp.c:25:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | char * header_cmp(header, prefix, suffix) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c in_list.c In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from in_list.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ in_list.c:24:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | int in_list(list, target) | ^ in_list.c:52:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 52 | char *shift_lower(), | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ in_list.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int globmatch (string, pat) | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c in_string.c In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from in_string.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ in_string.c:24:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | int in_string(buffer, pattern) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c istrcmp.c In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from istrcmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ istrcmp.c:22:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | int istrcmp(s1,s2) | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c ldstate.c In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from ldstate.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ ldstate.c:39:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | static char *elm_fgetline(buf, buflen, fp) | ^ ldstate.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | int load_folder_state_file(fst) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c len_next.c In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from len_next.c:32: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ len_next.c:34:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | int len_next_part(str) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c mail_gets.c In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mail_gets.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ mail_gets.c:22:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | int mail_gets(buffer, size, mailfile) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c move_left.c In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from move_left.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ move_left.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | void move_left(string, chars) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c ndbz.c In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from ndbz.c:46: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ ndbz.c:219:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 219 | extern long atol(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | long atol(const char *); | ^ ndbz.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | dbz_fresh(name, size, fs, tagmask) | ^ ndbz.c:258:13: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (getconf((FILE *)NULL, (FILE *)NULL, &c) < 0) | ^ ndbz.c:286:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | fn = enstring(name, dir); | ^ ndbz.c:295:13: warning: passing arguments to 'putconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | if (putconf(f, &c) < 0) { | ^ ndbz.c:305:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | fn = enstring(name, pag); | ^ ndbz.c:336:17: warning: passing arguments to 'isprime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | while (!isprime(n)) /* and look for a prime */ | ^ ndbz.c:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | long dbzsize(contents) | ^ ndbz.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | isprime(x) | ^ ndbz.c:225:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 225 | static int isprime(); | ^ ndbz.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | dbz_again(name, oldname) | ^ ndbz.c:395:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | fn = enstring(oldname, dir); | ^ ndbz.c:404:13: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | i = getconf(f, (FILE *)NULL, &c); | ^ ndbz.c:432:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | fn = enstring(name, dir); | ^ ndbz.c:441:13: warning: passing arguments to 'putconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | i = putconf(f, &c); | ^ ndbz.c:449:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | fn = enstring(name, pag); | ^ ndbz.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | dbz_open(name, mode, flags) | ^ ndbz.c:486:21: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | dirfname = enstring(name, dir); | ^ ndbz.c:506:21: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | pagfname = enstring(name, pag); | ^ ndbz.c:545:31: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | db->dbz_basefname = enstring(name, ""); | ^ ndbz.c:561:13: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | if (getconf(db->dbz_dirf, db->dbz_pagf, &db->dbz_conf) < 0) { | ^ ndbz.c:575:11: warning: passing arguments to 'mybytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | mybytemap(db->dbz_mybmap); | ^ ndbz.c:587:29: warning: passing arguments to 'getcore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | db->dbz_corepag = getcore(db); | ^ ndbz.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | enstring(s1, s2) | ^ ndbz.c:231:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 231 | static char *enstring(); | ^ ndbz.c:626:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | int dbz_close(db) | ^ ndbz.c:671:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | int dbz_sync(db) | ^ ndbz.c:684:14: warning: passing arguments to 'putcore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | if (putcore(db) < 0) { | ^ ndbz.c:690:14: warning: passing arguments to 'putconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | if (putconf(db->dbz_dirf, &db->dbz_conf) < 0) | ^ ndbz.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | dbz_cancel(db) | ^ In file included from ndbz.c:114: ../hdrs/ndbz.h:140:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | extern int dbz_cancel(); | ^ ndbz.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | dbz_fetch(db, key) | ^ ndbz.c:751:27: warning: passing arguments to 'latebase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | db->dbz_basef = latebase(db); | ^ ndbz.c:762:7: warning: passing arguments to 'start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | start(db, &key, FRESH); | ^ ndbz.c:763:26: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | while ((key_ptr = search(db)) != NOTFOUND) { | ^ ndbz.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | latebase(db) | ^ ndbz.c:226:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 226 | static FILE *latebase(); | ^ ndbz.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | dbz_store(db, key, data) | ^ ndbz.c:858:16: warning: passing arguments to 'okayvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | if (!okayvalue(db, value)) { | ^ ndbz.c:864:7: warning: passing arguments to 'start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | start(db, &key, db->dbz_prevp); | ^ ndbz.c:865:15: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | while (search(db) != NOTFOUND) | ^ ndbz.c:872:12: warning: passing arguments to 'set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | return(set(db, value)); | ^ ndbz.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | dbz_incore(value) | ^ ndbz.c:911:12: warning: passing arguments to 'mybytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | mybytemap(cp->bytemap); | ^ ndbz.c:924:11: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | if (getno(df, &err) != dbzversion) | ^ ndbz.c:926:19: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | cp->tsize = getno(df, &err); | ^ ndbz.c:927:22: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | cp->fieldsep = getno(df, &err); | ^ ndbz.c:930:20: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | cp->tagenb = getno(df, &err); | ^ ndbz.c:931:21: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | cp->tagmask = getno(df, &err); | ^ ndbz.c:932:22: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | cp->tagshift = getno(df, &err); | ^ ndbz.c:933:23: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | cp->valuesize = getno(df, &err); | ^ ndbz.c:940:25: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | cp->bytemap[i] = getno(df, &err); | ^ ndbz.c:953:22: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | cp->used[i] = getno(df, &err); | ^ ndbz.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | getconf(df, pf, cp) | ^ ndbz.c:165:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | static int getconf(); | ^ ndbz.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | getno(f, ep) | ^ ndbz.c:166:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static int32 getno(); | ^ ndbz.c:1020:56: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat] 1020 | fprintf(f, "dbz %d %ld %d %ld %ld %d %d", dbzversion, cp->tsize, | ~~~ ^~~~~~~~~ | %d ndbz.c:1021:19: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat] 1020 | fprintf(f, "dbz %d %ld %d %ld %ld %d %d", dbzversion, cp->tsize, | ~~~ | %d 1021 | cp->fieldsep, cp->tagenb, | ^~~~~~~~~~ ndbz.c:1022:5: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat] 1020 | fprintf(f, "dbz %d %ld %d %ld %ld %d %d", dbzversion, cp->tsize, | ~~~ | %d 1021 | cp->fieldsep, cp->tagenb, 1022 | cp->tagmask, cp->tagshift, cp->valuesize); | ^~~~~~~~~~~ ndbz.c:1027:23: warning: format specifies type 'long' but the argument has type 'int32_t' (aka 'int') [-Wformat] 1027 | fprintf(f, "%ld%c", cp->used[i], (i < NUSEDS-1) ? ' ' : '\n'); | ~~~ ^~~~~~~~~~~ | %d ndbz.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | putconf(f, cp) | ^ ndbz.c:167:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | static int putconf(); | ^ ndbz.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | getcore(db) | ^ ndbz.c:234:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 234 | static of_t *getcore(); | ^ ndbz.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | putcore(db) | ^ ndbz.c:235:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 235 | static int putcore(); | ^ ndbz.c:1097:10: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | h = hash(kp->dptr, kp->dsize); | ^ ndbz.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | start(db, kp, osp) | ^ ndbz.c:198:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | static void start(); | ^ ndbz.c:1148:12: warning: passing arguments to 'bytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | value = MAPIN(db->dbz_corepag[place]); | ^ ndbz.c:214:53: note: expanded from macro 'MAPIN' 214 | #define MAPIN(o) ((db->dbz_bytesame) ? (o) : bytemap((o), db->dbz_conf.bytemap, db->dbz_mybmap)) | ^ ndbz.c:1164:13: warning: passing arguments to 'bytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | value = MAPIN(val); | ^ ndbz.c:214:53: note: expanded from macro 'MAPIN' 214 | #define MAPIN(o) ((db->dbz_bytesame) ? (o) : bytemap((o), db->dbz_conf.bytemap, db->dbz_mybmap)) | ^ ndbz.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | search(db) | ^ ndbz.c:200:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | static of_t search(); | ^ ndbz.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | okayvalue(db, value) | ^ ndbz.c:202:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | static int okayvalue(); | ^ ndbz.c:1241:10: warning: passing arguments to 'bytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | value = MAPOUT(value); | ^ ndbz.c:215:54: note: expanded from macro 'MAPOUT' 215 | #define MAPOUT(o) ((db->dbz_bytesame) ? (o) : bytemap((o), db->dbz_mybmap, db->dbz_conf.bytemap)) | ^ ndbz.c:1220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | set(db, value) | ^ ndbz.c:203:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | static int set(); | ^ ndbz.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | mybytemap(map) | ^ ndbz.c:168:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | static void mybytemap(); | ^ ndbz.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | bytemap(ino, map1, map2) | ^ ndbz.c:169:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | static of_t bytemap(); | ^ ndbz.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | hash(name, size) | ^ ndbz.c:223:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | static long hash(); | ^ ndbz.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | dbzdebug(value) | ^ 138 warnings generated. cc -I../hdrs -O2 -pipe -c okay_addr.c In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from okay_addr.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ okay_addr.c:23:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | int okay_address_l(address, return_address) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c opt_utils.c In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from opt_utils.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ opt_utils.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | int gethostdomain(hostdom, size) /* get domain of current host */ | ^ opt_utils.c:120:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | char *cuserid(uname) | ^ opt_utils.c:144:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | register returnonly = 0; | ~~~~~~~~ ^ | int 55 warnings generated. cc -I../hdrs -O2 -pipe -c output.c In file included from output.c:9: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from output.c:9: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ output.c:12:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | static int def_err_handler (str) | ^ output.c:24:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | extern void set_error_handler (h) | ^ output.c:42:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | char *elm_vmessage (max_alloc,format,msg,vl) | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c parsarpdat.c In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from parsarpdat.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ parsarpdat.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int parse_date_time(str,time_zone,size_time_zone,tz_offset, time_result) | ^ parsarpdat.c:227:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | int parse_arpa_date(src, entry) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c parsarpwho.c In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from parsarpwho.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ parsarpwho.c:19:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | void decode_who_none (class,bfr, size) | ^ parsarpwho.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void parse_arpa_who(buffer, newfrom, decoder, size) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c pmalloc.c In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ pmalloc.c:32:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | char *pmalloc(size) | ^ In file included from pmalloc.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:738: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] 738 | char *pmalloc(); | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c posixsig.c In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from posixsig.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ posixsig.c:36:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | (*posix_signal(signo, fun))(int) | ^ posixsig.c:73:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | int my_wait (pid,statptr) | ^ posixsig.c:136:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | int convert_status(status,exit_code) | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c putenv.c In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from putenv.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ 52 warnings generated. cc -I../hdrs -O2 -pipe -c qstrings.c In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from qstrings.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ qstrings.c:22:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char *qstrpbrk(source, keys) | ^ qstrings.c:47:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | int qstrspn(source, keys) | ^ qstrings.c:73:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | int qstrcspn(source, keys) | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c read_rc.c In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from read_rc.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from read_rc.c:17: ../hdrs/save_opts.h:182:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 182 | {"aliassortby", -1L,ZZZ_DT_ASR(&alias_sortby), 0, NULL}, | ^ ../hdrs/save_opts.h:125:42: note: expanded from macro 'ZZZ_DT_ASR' 125 | #define ZZZ_DT_ASR(A) DT_ASR, { sort: A }, null_option_func | ^ ../hdrs/save_opts.h:183:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 183 | {"alteditor", -1L,ZZZ_DT_STR(alternative_editor), | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:185:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 185 | {"alternatives", -1L,ZZZ_DT_ALT(&alternative_addresses), 0, NULL}, | ^ ../hdrs/save_opts.h:129:42: note: expanded from macro 'ZZZ_DT_ALT' 129 | #define ZZZ_DT_ALT(A) DT_ALT, { alts: A }, null_option_func | ^ ../hdrs/save_opts.h:186:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 186 | {"alwaysdelete", -1L,ZZZ_DT_BOL(&always_del), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:187:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 187 | {"alwayskeep", -1L,ZZZ_DT_BOL(&always_keep), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:188:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 188 | {"alwaysleave", -1L,ZZZ_DT_MLT(ALWAYS), 0, NULL}, | ^ ../hdrs/save_opts.h:132:42: note: expanded from macro 'ZZZ_DT_MLT' 132 | #define ZZZ_DT_MLT(A) DT_MLT, { weed: A }, null_option_func | ^ ../hdrs/save_opts.h:189:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 189 | {"alwaysstore", -1L,ZZZ_DT_BOL(&always_store), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:190:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 190 | {"arrow", -1L,ZZZ_DT_BOL_(FL_OR,&arrow_cursor), 0, NULL}, | ^ ../hdrs/save_opts.h:131:42: note: expanded from macro 'ZZZ_DT_BOL_' 131 | #define ZZZ_DT_BOL_(x,A) DT_BOL|x, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:191:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 191 | {"ask", -1L,ZZZ_DT_BOL(&question_me), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:192:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 192 | {"askcc", -1L,ZZZ_DT_BOL(&prompt_for_cc), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:194:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 194 | {"askpgpsig", -1L,ZZZ_DT_BOL(&pgp_askpgpsig), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:196:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 196 | {"attribution", -1L,ZZZ_DT_STR(attribution), sizeof attribution, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:197:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 197 | {"auto-cc", -1L,ZZZ_DT_SYN("copy"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:198:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 198 | {"autocopy", -1L,ZZZ_DT_BOL(&auto_copy), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:200:30: warning: use of GNU old-style field designator extension [-Wgnu-designator] 200 | { "background-wait-time",-1L,ZZZ_DT_NUM(&background_wait_time), 0, NULL }, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:205:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 205 | {"builtinlines", -1L,ZZZ_DT_NUM(&builtin_lines), 0, NULL}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:206:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 206 | {"calendar", -1L,ZZZ_DT_STR(raw_calendar_file), | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:208:14: warning: use of GNU old-style field designator extension [-Wgnu-designator] 208 | {"cc", -1L,ZZZ_DT_SYN("askcc"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:209:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 209 | {"charset", -1L,ZZZ_DT_STR(raw_charset), sizeof raw_charset, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:210:24: warning: use of GNU old-style field designator extension [-Wgnu-designator] 210 | {"compatcharsets", -1L,ZZZ_DT_FUNC(charset_compatfunc),0, NULL}, | ^ ../hdrs/save_opts.h:139:42: note: expanded from macro 'ZZZ_DT_FUNC' 139 | #define ZZZ_DT_FUNC(A) DT_FUNC, { str: NULL }, A | ^ ../hdrs/save_opts.h:211:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 211 | {"configoptions", -1L,ZZZ_DT_STR(config_options), sizeof config_options, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:213:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 213 | {"confirmappend", -1L,ZZZ_DT_BOL(&confirm_append), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:214:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 214 | {"confirmcreate", -1L,ZZZ_DT_BOL(&confirm_create), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:215:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 215 | {"confirmfiles", -1L,ZZZ_DT_BOL(&confirm_files), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:216:24: warning: use of GNU old-style field designator extension [-Wgnu-designator] 216 | {"confirmfolders", -1L,ZZZ_DT_BOL(&confirm_folders), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:217:36: warning: use of GNU old-style field designator extension [-Wgnu-designator] 217 | {"convert-comment-to-fullname",-1L,ZZZ_DT_BOL(&convert_comment), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:218:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 218 | {"copy", -1L,ZZZ_DT_BOL(&auto_cc), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:219:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 219 | {"delete", -1L,ZZZ_DT_SYN("alwaysdelete"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:220:24: warning: use of GNU old-style field designator extension [-Wgnu-designator] 220 | {"displaycharset", -1L,ZZZ_DT_STR(raw_display_charset), | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:223:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 223 | {"dsn-success", -1L,ZZZ_DT_BOL(&DSN_success), 0, NULL }, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:225:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 225 | {"easyeditor", -1L,ZZZ_DT_STR(e_editor), sizeof e_editor, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:226:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 226 | {"editor", -1L,ZZZ_DT_STR(raw_editor), sizeof raw_editor, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:227:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 227 | {"escape", -1L,ZZZ_DT_CHR(&escape_char), 0, NULL}, | ^ ../hdrs/save_opts.h:140:42: note: expanded from macro 'ZZZ_DT_CHR' 140 | #define ZZZ_DT_CHR(A) DT_CHR, { chr: A }, null_option_func | ^ ../hdrs/save_opts.h:228:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 228 | {"folders", -1L,ZZZ_DT_SYN("maildir"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:229:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 229 | {"forcename", -1L,ZZZ_DT_BOL(&force_name), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:230:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 230 | {"form", -1L,ZZZ_DT_SYN("forms"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:231:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 231 | {"forms", -1L,ZZZ_DT_BOL(&allow_forms), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:232:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 232 | {"fullname", -1L,ZZZ_DT_STR(full_username), sizeof full_username, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:234:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 234 | {"gpg", -1L,ZZZ_DT_STR(raw_gpg_path), sizeof raw_gpg_path, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:236:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 236 | {"hostdomain", -1L,ZZZ_DT_STR_(FL_SYS,hostdomain), sizeof hostdomain, | ^ ../hdrs/save_opts.h:128:42: note: expanded from macro 'ZZZ_DT_STR_' 128 | #define ZZZ_DT_STR_(x,A) DT_STR|x, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:238:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 238 | {"hostfullname", -1L,ZZZ_DT_STR_(FL_SYS,hostfullname), sizeof hostfullname, | ^ ../hdrs/save_opts.h:128:42: note: expanded from macro 'ZZZ_DT_STR_' 128 | #define ZZZ_DT_STR_(x,A) DT_STR|x, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:240:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 240 | {"hostname", -1L,ZZZ_DT_STR_(FL_SYS,hostname), sizeof hostname, | ^ ../hdrs/save_opts.h:128:42: note: expanded from macro 'ZZZ_DT_STR_' 128 | #define ZZZ_DT_STR_(x,A) DT_STR|x, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:244:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 244 | {"keep", -1L,ZZZ_DT_SYN("keepempty"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:245:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 245 | {"keepempty", -1L,ZZZ_DT_BOL(&keep_empty_files), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:247:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 247 | {"keeppassfor", -1L,ZZZ_DT_NUM(&pgp_keeppassfor), 0, NULL}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:250:24: warning: use of GNU old-style field designator extension [-Wgnu-designator] 250 | {"localsignature", -1L,ZZZ_DT_STR(raw_local_signature), | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:253:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 253 | {"lock-folders", -1L,ZZZ_DT_BOL(&lockfolders),0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:254:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 254 | {"lock-in-copy", -1L,ZZZ_DT_BOL(&lock_in_copy),0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:256:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 256 | {"mailbox", -1L,ZZZ_DT_SYN("receivedmail"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:257:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 257 | {"maildir", -1L,ZZZ_DT_STR(raw_folders), sizeof raw_folders, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:258:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 258 | {"mailedit", -1L,ZZZ_DT_SYN("editor"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:259:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 259 | {"mailpermissions", -1L,ZZZ_DT_PRM(&mail_permissions), 0, NULL}, | ^ ../hdrs/save_opts.h:141:42: note: expanded from macro 'ZZZ_DT_PRM' 141 | #define ZZZ_DT_PRM(A) DT_PRM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:260:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 260 | {"menu", -1L,ZZZ_DT_BOL_(FL_AND,&mini_menu), 0, NULL}, | ^ ../hdrs/save_opts.h:131:42: note: expanded from macro 'ZZZ_DT_BOL_' 131 | #define ZZZ_DT_BOL_(x,A) DT_BOL|x, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:261:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 261 | {"menus", -1L,ZZZ_DT_SYN("menu"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:262:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 262 | {"metamail", -1L,ZZZ_DT_STR(raw_metamail_path), | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:264:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 264 | {"metoo", -1L,ZZZ_DT_BOL(&metoo), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:265:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 265 | {"mimeforward", -1L,ZZZ_DT_BOL(&mimeforward), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:266:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 266 | {"movepage", -1L,ZZZ_DT_BOL(&move_when_paged), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:267:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 267 | {"movewhenpaged", -1L,ZZZ_DT_SYN("movepage"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:268:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 268 | {"name", -1L,ZZZ_DT_SYN("fullname"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:269:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 269 | {"names", -1L,ZZZ_DT_BOL(&names_only), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:270:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 270 | {"noencoding",-1L,ZZZ_DT_NUM(&allow_no_encoding), 0, &NOENCODING}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:274:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 274 | {"nohdrencoding", -1L,ZZZ_DT_BOL(&allow_no_hdrencoding), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:275:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 275 | {"noheader", -1L,ZZZ_DT_BOL(&noheader), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:276:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 276 | {"noheaderfwd", -1L,ZZZ_DT_BOL(&noheaderfwd), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:277:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 277 | {"page", -1L,ZZZ_DT_SYN("pager"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:278:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 278 | {"pagealternative", -1L,ZZZ_DT_BOL(&pagealternative), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:279:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 279 | {"pagemultipart", -1L,ZZZ_DT_BOL(&pagemultipart), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:280:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 280 | {"pager", -1L,ZZZ_DT_STR(raw_pager), sizeof raw_pager, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:281:28: warning: use of GNU old-style field designator extension [-Wgnu-designator] 281 | {"pagesigned", -1L,ZZZ_DT_BOL(&pagesigned), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:283:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 283 | {"pgp", -1L,ZZZ_DT_SYN("pgp2"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:284:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 284 | {"pgp-sign-type", -1L,ZZZ_DT_NUM(&pgp_sign_type), | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:286:28: warning: use of GNU old-style field designator extension [-Wgnu-designator] 286 | {"pgp-version", -1L,ZZZ_DT_PGPVER(&send_pgp_version), | ^ ../hdrs/save_opts.h:137:43: note: expanded from macro 'ZZZ_DT_PGPVER' 137 | #define ZZZ_DT_PGPVER(A) DT_PGPVER, { pgpver: A },null_option_func | ^ ../hdrs/save_opts.h:288:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 288 | {"pgp2", -1L,ZZZ_DT_STR(raw_pgp2_path), sizeof raw_pgp2_path, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:289:28: warning: use of GNU old-style field designator extension [-Wgnu-designator] 289 | {"pgp5-dir", -1L,ZZZ_DT_STR(raw_pgp5_dir), sizeof raw_pgp5_dir, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:291:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 291 | {"pointnew", -1L,ZZZ_DT_BOL(&point_to_new), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:292:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 292 | {"pointtonew", -1L,ZZZ_DT_SYN("pointnew"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:293:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 293 | {"precedences", -1L,ZZZ_DT_STR(allowed_precedences), | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:295:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 295 | {"prefix", -1L,ZZZ_DT_STR_(FL_NOSPC,prefixchars), | ^ ../hdrs/save_opts.h:128:42: note: expanded from macro 'ZZZ_DT_STR_' 128 | #define ZZZ_DT_STR_(x,A) DT_STR|x, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:297:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 297 | {"print", -1L,ZZZ_DT_STR(raw_printout), sizeof raw_printout, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:298:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 298 | {"printmail", -1L,ZZZ_DT_SYN("print"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:299:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 299 | {"promptafter", -1L,ZZZ_DT_BOL(&prompt_after_pager), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:300:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 300 | {"question", -1L,ZZZ_DT_SYN("ask"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:301:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 301 | {"quoteforward", -1L,ZZZ_DT_BOL("e_forward), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:302:28: warning: use of GNU old-style field designator extension [-Wgnu-designator] 302 | {"readdatapercentinc", -1L,ZZZ_DT_NUM(&readdatapercentinc), 0, NULL}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:303:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 303 | {"readmsginc", -1L,ZZZ_DT_NUM(&readmsginc), 0, NULL}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:304:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 304 | {"receivedmail", -1L,ZZZ_DT_STR(raw_recvdmail), sizeof raw_recvdmail, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:305:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 305 | {"remotesignature", -1L,ZZZ_DT_STR(raw_remote_signature), | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:308:8: warning: use of GNU old-style field designator extension [-Wgnu-designator] 308 | -1L,ZZZ_DT_BOL(&req_mime_bodyencoding), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:310:8: warning: use of GNU old-style field designator extension [-Wgnu-designator] 310 | -1L,ZZZ_DT_BOL(&req_mime_hdrencoding), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:311:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 311 | {"resolve", -1L,ZZZ_DT_BOL(&resolve_mode), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:312:21: warning: use of GNU old-style field designator extension [-Wgnu-designator] 312 | {"savebyname", -1L,ZZZ_DT_SYN("savename"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:313:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 313 | {"savemail", -1L,ZZZ_DT_SYN("sentmail"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:314:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 314 | {"savename", -1L,ZZZ_DT_BOL(&save_by_name), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:315:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 315 | {"saveto", -1L,ZZZ_DT_SYN("sentmail"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:316:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] 316 | {"send-mime-plain-text", -1L, ZZZ_DT_BOL(&send_mime_plain), | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:318:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 318 | {"sentmail", -1L,ZZZ_DT_STR(raw_sentmail), sizeof raw_sentmail, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:319:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 319 | {"shell", -1L,ZZZ_DT_STR(raw_shell), sizeof raw_shell, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:321:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 321 | {"showpgppreamble", -1L,ZZZ_DT_BOL(&pgp_noarmor), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:323:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 323 | {"showto", -1L,ZZZ_DT_BOL(&showto), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:324:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 324 | {"sigdashes", -1L,ZZZ_DT_BOL(&sig_dashes), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:325:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 325 | {"signature", -1L,ZZZ_DT_MLT(SIGS), 0, NULL}, | ^ ../hdrs/save_opts.h:132:42: note: expanded from macro 'ZZZ_DT_MLT' 132 | #define ZZZ_DT_MLT(A) DT_MLT, { weed: A }, null_option_func | ^ ../hdrs/save_opts.h:326:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 326 | {"sleepmsg", -1L,ZZZ_DT_NUM(&sleepmsg), 0, NULL}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:329:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 329 | {"sort", -1L,ZZZ_DT_SYN("sortby"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:330:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] 330 | {"sort-thread-max-time", -1L, ZZZ_DT_NUM(&sort_thread_max_time), 0, NULL}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:331:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 331 | {"sortby", -1L,ZZZ_DT_SRT(&sortby), 0, NULL}, | ^ ../hdrs/save_opts.h:126:42: note: expanded from macro 'ZZZ_DT_SRT' 126 | #define ZZZ_DT_SRT(A) DT_SRT, { sort: A }, null_option_func | ^ ../hdrs/save_opts.h:332:16: warning: use of GNU old-style field designator extension [-Wgnu-designator] 332 | {"store", -1L,ZZZ_DT_SYN("alwaysstore"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:333:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 333 | {"timeout", -1L,ZZZ_DT_LONG(&elm_timeout), 0, NULL}, | ^ ../hdrs/save_opts.h:135:42: note: expanded from macro 'ZZZ_DT_LONG' 135 | #define ZZZ_DT_LONG(A) DT_NUM, { l_num: A },null_option_func | ^ ../hdrs/save_opts.h:334:17: warning: use of GNU old-style field designator extension [-Wgnu-designator] 334 | {"titles", -1L,ZZZ_DT_BOL(&title_messages), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:335:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 335 | {"tmpdir", -1L,ZZZ_DT_STR(raw_temp_dir), sizeof raw_temp_dir, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:337:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 337 | {"usepgppass", -1L,ZZZ_DT_BOL(&pgp_keeppass), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:339:20: warning: use of GNU old-style field designator extension [-Wgnu-designator] 339 | {"userlevel", -1L,ZZZ_DT_NUM(&user_level), 0, &USERLEVEL}, | ^ ../hdrs/save_opts.h:134:42: note: expanded from macro 'ZZZ_DT_NUM' 134 | #define ZZZ_DT_NUM(A) DT_NUM, { num: A }, null_option_func | ^ ../hdrs/save_opts.h:340:19: warning: use of GNU old-style field designator extension [-Wgnu-designator] 340 | {"username", -1L,ZZZ_DT_SYN("fullname"), 0, NULL}, | ^ ../hdrs/save_opts.h:133:42: note: expanded from macro 'ZZZ_DT_SYN' 133 | #define ZZZ_DT_SYN(A) DT_SYN, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:341:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 341 | {"usetite", -1L,ZZZ_DT_BOL_(FL_AND,&use_tite), 0, NULL}, | ^ ../hdrs/save_opts.h:131:42: note: expanded from macro 'ZZZ_DT_BOL_' 131 | #define ZZZ_DT_BOL_(x,A) DT_BOL|x, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:342:22: warning: use of GNU old-style field designator extension [-Wgnu-designator] 342 | {"visualeditor", -1L,ZZZ_DT_STR(v_editor), sizeof v_editor, NULL}, | ^ ../hdrs/save_opts.h:127:42: note: expanded from macro 'ZZZ_DT_STR' 127 | #define ZZZ_DT_STR(A) DT_STR, { str: A }, null_option_func | ^ ../hdrs/save_opts.h:343:15: warning: use of GNU old-style field designator extension [-Wgnu-designator] 343 | {"weed", -1L,ZZZ_DT_BOL(&elm_filter), 0, NULL}, | ^ ../hdrs/save_opts.h:130:42: note: expanded from macro 'ZZZ_DT_BOL' 130 | #define ZZZ_DT_BOL(A) DT_BOL, { bol: A }, null_option_func | ^ ../hdrs/save_opts.h:344:18: warning: use of GNU old-style field designator extension [-Wgnu-designator] 344 | {"weedout", -1L,ZZZ_DT_WEE(weedlist), 0, NULL}, | ^ ../hdrs/save_opts.h:142:42: note: expanded from macro 'ZZZ_DT_WEE' 142 | #define ZZZ_DT_WEE(A) DT_WEE, { weed: A }, null_option_func | ^ read_rc.c:245:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | static void do_expand_env(descr, dest, src, destlen) | ^ read_rc.c:249:9: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | if (expand_env(dest, src, destlen) != 0) { | ^ read_rc.c:300:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | static int set_charset(c1, targ, size) | ^ read_rc.c:324:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | static void map_display_charset(lc_ctype) | ^ read_rc.c:535:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 535 | struct passwd *pass, *getpwnam(); | ^ /usr/include/pwd.h:95:16: note: conflicting prototype is here 95 | struct passwd *getpwnam(const char *); | ^ read_rc.c:986:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | void do_rc(file, lcl, filename) | ^ read_rc.c:998:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 998 | while (x = mail_gets(buffer, SLEN, file)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:998:11: note: place parentheses around the assignment to silence this warning 998 | while (x = mail_gets(buffer, SLEN, file)) { | ^ | ( ) read_rc.c:998:11: note: use '==' to turn this assignment into an equality comparison 998 | while (x = mail_gets(buffer, SLEN, file)) { | ^ | == read_rc.c:1042:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | int do_set(file, word1, word2, lcl, word2_size, filename) | ^ read_rc.c:1205:28: warning: call to undeclared function 'is_it_on'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1205 | *SAVE_INFO_BOL(x) |= is_it_on(word2); | ^ read_rc.c:1300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | static void weedout(string) | ^ read_rc.c:1334:8: warning: call to undeclared function 'matches_weedlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1334 | if (matches_weedlist(header)) | ^ read_rc.c:1353:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | static void alternatives(string) | ^ read_rc.c:1373:51: warning: passing arguments to 'pmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | previous_record = (struct addr_rec *) pmalloc(sizeof | ^ read_rc.c:1382:50: warning: passing arguments to 'pmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | current_record = (struct addr_rec *) pmalloc(sizeof | ^ read_rc.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | matches_weedlist(buffer) | ^ read_rc.c:1441:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | static int breakup(buffer, word1, word2, size_word1, size_word2) | ^ read_rc.c:1501:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1501 | expand_env(dest, src, destlen) | ^ | int read_rc.c:1501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_rc.c:1587:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1587 | is_it_on(word) | ^ | int read_rc.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_rc.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | mode_to_str(mode) | ^ read_rc.c:1634:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | int null_option_func(value,enter) | ^ 191 warnings generated. cc -I../hdrs -O2 -pipe -c realfrom.c In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from realfrom.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ realfrom.c:16: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] 16 | extern long make_gmttime(); | ^ ../hdrs/elmlib.h:100:13: note: conflicting prototype is here 100 | extern long make_gmttime P_((int, int, int, int, int, int)); | ^ realfrom.c:18:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | int real_from(buffer, entry) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c remfirstwd.c In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from remfirstwd.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ remfirstwd.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | void remove_first_word(string) | ^ remfirstwd.c:36:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | void remove_header_keyword(string) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c reverse.c In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from reverse.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ reverse.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | void reverse(string) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c rfc822tlen.c rfc822tlen.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | int rfc822_toklen(str) | ^ 1 warning generated. cc -I../hdrs -O2 -pipe -c safemalloc.c In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from safemalloc.c:14: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ safemalloc.c:24:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | void dflt_safe_malloc_fail_handler(proc, len) | ^ safemalloc.c:36:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | malloc_t safe_malloc(len) | ^ safemalloc.c:46:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | malloc_t safe_realloc(p, len) | ^ safemalloc.c:55:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | char *safe_strdup(s) | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c shiftlower.c In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from shiftlower.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ shiftlower.c:20:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | char *shift_lower(string) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c strfcpy.c In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from strfcpy.c:25: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ strfcpy.c:27:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | char *strfcpy(dest, src, len) | ^ strfcpy.c:50:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | char *strfcat(dest, src, len) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c strincmp.c In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from strincmp.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ strincmp.c:24:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | int strincmp(s1,s2,n) | ^ cc -I../hdrs -O2 -pipe -c striparens.c 53 warnings generated. In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from striparens.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ striparens.c:28:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | char *strip_parens(src) | ^ striparens.c:36:11: warning: call to undeclared function 'rfc822_toklen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | len = rfc822_toklen(src); | ^ striparens.c:56:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | char *get_parens(src) | ^ striparens.c:64:11: warning: call to undeclared function 'rfc822_toklen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | len = rfc822_toklen(src); | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c strmcpy.c In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from strmcpy.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ strmcpy.c:13:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | char * strmcpy (dest, src) | ^ strmcpy.c:28:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | char * strmcat (dest, src) | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c strtokq.c In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from strtokq.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ strtokq.c:26:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | char *strtokq(source, keys, flag) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c tail_of.c In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from tail_of.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ tail_of.c:21:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | int tail_of(from, buffer, to, size) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c validname.c In file included from validname.c:15: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from validname.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ validname.c:27:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | int valid_name(name) | ^ validname.c:42:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 42 | struct passwd *getpwnam(); | ^ /usr/include/pwd.h:95:16: note: conflicting prototype is here 95 | struct passwd *getpwnam(const char *); | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c safeopen.c In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from safeopen.c:7: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ safeopen.c:10:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | FILE *safeopen(name) | ^ safeopen.c:28:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | FILE *safeopen_rdwr(name) | ^ 56 warnings generated. ar r libutil.a add_site.o addrmchusr.o atonum.o mk_aliases.o aliasdb.o mk_lockname.o can_access.o can_open.o chloc.o charset.o date_util.o dispaddr.o dynarray.o errno.o expand.o forwarded.o gcos_name.o get_tz.o getaddr.o getaddrfrm.o getarpdate.o getfullnam.o getword.o header_cmp.o in_list.o in_string.o istrcmp.o ldstate.o len_next.o mail_gets.o move_left.o ndbz.o okay_addr.o opt_utils.o output.o parsarpdat.o parsarpwho.o pmalloc.o posixsig.o putenv.o qstrings.o read_rc.o realfrom.o remfirstwd.o reverse.o rfc822tlen.o safemalloc.o shiftlower.o strfcpy.o strincmp.o striparens.o strmcpy.o strtokq.o tail_of.o validname.o safeopen.o ar: warning: creating libutil.a /usr/bin/ranlib libutil.a cd src; /usr/bin/make all cc -I../hdrs -O2 -pipe -c addr_util.c In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from addr_util.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ addr_util.c:25:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | static int add_expanded_ (x,ADR,FN,COM) | ^ addr_util.c:44:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | static int add_textual_ (x,TEXTUAL,POS,LEN) | ^ addr_util.c:66:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | void zero_expanded_address (x) | ^ addr_util.c:75:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | int aliases_to_expanded(x) | ^ addr_util.c:97:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | static char * make_surface(ITEM) | ^ addr_util.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void free_expanded_address(x) | ^ addr_util.c:189:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | void copy_expanded_address (result,source) | ^ addr_util.c:213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | void dump_expanded_address(debuglevel,text,expanded) | ^ addr_util.c:291:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | extern char **argv_from_headers (headers) | ^ addr_util.c:364:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | int argv_to_expanded(result,argv) | ^ addr_util.c:393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | void addr_to_expanded(result,addrs) | ^ addr_util.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | void expanded_to_edit_buffer(buffer,size,expanded) | ^ addr_util.c:452:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | void update_expanded_from_edit_buffer(expanded,buffer) | ^ addr_util.c:622:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | int build_address_l(expanded) | ^ addr_util.c:1035:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | void write_addr_header(f,hdr_name,addr,top_encoding) | ^ addr_util.c:1210:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | int check_8bit_addr(addr) | ^ addr_util.c:1223:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | void write_text_header (f,hdr_name,text, top_encoding) | ^ 71 warnings generated. cc -I../hdrs -O2 -pipe -c alias.c In file included from alias.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from alias.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ alias.c:47: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] 47 | char *error_description(), *get_parens(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ alias.c:47:29: warning: a function 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] 47 | char *error_description(), *get_parens(); | ^ ../hdrs/elmlib.h:324:14: note: conflicting prototype is here 324 | extern char *get_parens P_((CONST char *s)); | ^ alias.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void open_alias_files(are_in_aliases) | ^ alias.c:132:5: warning: call to undeclared function 'open_system_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if(open_system_aliases() | open_user_aliases()) { | ^ alias.c:132:29: warning: call to undeclared function 'open_user_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if(open_system_aliases() | open_user_aliases()) { | ^ alias.c:256:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | static int add_alias(replace, to_replace) | ^ alias.c:661:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 661 | add_to_alias_text(aliasname, firstname, lastname, comment, address) | ^ | int alias.c:677:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | save_file_stats(fname); | ^ alias.c:716:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 716 | restore_file_stats(fname); | ^ alias.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | add_to_alias_text(aliasname, firstname, lastname, comment, address) | ^ alias.c:724:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 724 | delete_from_alias_text(name, num_to_delete) | ^ | int alias.c:752:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 752 | save_file_stats(fname); | ^ alias.c:783:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 783 | if (num_aliases = parse_aliases(line_in_file, rest_of_line, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 784 | sizeof line_in_file, | ~~~~~~~~~~~~~~~~~~~~ 785 | sizeof rest_of_line)) { | ~~~~~~~~~~~~~~~~~~~~ alias.c:783:24: note: place parentheses around the assignment to silence this warning 783 | if (num_aliases = parse_aliases(line_in_file, rest_of_line, | ^ | ( 784 | sizeof line_in_file, 785 | sizeof rest_of_line)) { | | ) alias.c:783:24: note: use '==' to turn this assignment into an equality comparison 783 | if (num_aliases = parse_aliases(line_in_file, rest_of_line, | ^ | == alias.c:842:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 842 | restore_file_stats(fname); | ^ alias.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | delete_from_alias_text(name, num_to_delete) | ^ alias.c:904:44: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 904 | MoveCursor(elm_LINES-3,strlen(Prompt)); CleartoEOS(); | ^ alias.c:927:13: warning: call to undeclared function 'delete_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 927 | if (resync_aliases(newaliases)) { | ^ alias.c:44:36: note: expanded from macro 'resync_aliases' 44 | #define resync_aliases(newaliases) delete_aliases(newaliases,TRUE) | ^ alias.c:973:20: warning: call to undeclared function 'edit_aliases_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 973 | if (edit_aliases_text()) { | ^ alias.c:984:30: warning: call to undeclared function 'a_sendmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 984 | redraw += a_sendmsg(TRUE,allow_forms); | ^ alias.c:1177:6: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1177 | show_headers(); | ^ alias.c:1259:33: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1259 | MoveCursor(elm_LINES-3, 0); CleartoEOS(); | ^ alias.c:1274:13: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1274 | case '?' : display_helpfile(ALIAS_HELP); | ^ alias.c:1390:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | static void get_aliases(are_in_aliases) | ^ alias.c:1439:10: warning: call to undeclared function 'find_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1439 | if (find_alias(aliases[current]->alias, USER) >= 0) { | ^ alias.c:1463:13: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1463 | (void) get_page(current); | ^ alias.c:1469:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | static int get_one_alias(db, current) | ^ alias.c:1481:22: warning: passing arguments to 'fetch_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | if ((a = fetch_alias(db, (char *)NULL)) == NULL) | ^ alias.c:1578:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1578 | static int parse_aliases(buffer, remainder, size_buffer, size_remainder) | ^ alias.c:1631:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | static int get_aliasname(aliasname, buffer, duplicate, size, buffer_size) | ^ alias.c:1680:13: warning: call to undeclared function 'find_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1680 | if ((loc = find_alias(aliasname, USER)) >= 0) { | ^ alias.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | superceed_system(this_alias, buffer, buffer_size) | ^ alias.c:1742:14: warning: passing arguments to 'alias_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | alias_type(aliases[this_alias]->type), | ^ alias.c:1755:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | static void get_realnames(aliasname, firstname, lastname, comment, buffer, | ^ alias.c:1816:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | static int ask_accept(aliasname, firstname, lastname, comment, address, buffer, | ^ 88 warnings generated. cc -I../hdrs -O2 -pipe -c aliaslib.c In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from aliaslib.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ aliaslib.c:22: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] 22 | char *get_alias_address(), *qstrpbrk(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ aliaslib.c:22:29: warning: a function 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 | char *get_alias_address(), *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ aliaslib.c:38:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | static int add_(x,ADR,FN,COMMENT) | ^ aliaslib.c:75:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | static int do_expand_group_l(group, buffer, sysalias, depth, too_longp) | ^ aliaslib.c:177:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | static int do_get_alias_l(name, buffer, mailing, sysalias, depth, too_longp) | ^ aliaslib.c:202:10: warning: call to undeclared function 'find_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | (loc = find_alias(name, USER)) >= 0) | ^ aliaslib.c:311:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | struct addr_item *get_alias_address_l (name, mailing, too_longp) | ^ cc -I../hdrs -O2 -pipe -c args.c 61 warnings generated. In file included from args.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from args.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ args.c:31:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | char * parse_arguments(argc, argv, to_whom, size_r) | ^ args.c:87:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 87 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsIngoringDebug, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | "Warning: system created without debugging enabled - request ignored\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:87:11: note: treat the string as an argument to avoid this 87 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsIngoringDebug, | ^ | "%s", args.c:100:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 100 | exit(printf(catgets(elm_msg_cat, ElmSet, ElmArgsSubjectNotSend, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | "\n\rDon't understand specifying a subject and no-one to send to!\n\r"))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:100:17: note: treat the string as an argument to avoid this 100 | exit(printf(catgets(elm_msg_cat, ElmSet, ElmArgsSubjectNotSend, | ^ | "%s", args.c:139:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 139 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsHelp1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | "\nPossible Starting Arguments for ELM program:\n\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | \targ\t\t\tMeaning\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~ 142 | \t -a \t\tArrow - use the arrow pointer regardless\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | \t -A \t\tAttach file (requires .elm/mime.types)\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | \t -c \t\tCheckalias - check the given aliases only\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | \t -dn\t\tDebug - set debug level to 'n'\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 146 | \t -fx\t\tFolder - read folder 'x' rather than incoming mailbox\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | \t -h \t\tHelp - give this list of options\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | \t -ix\t\tInclude prepared file 'x' in edit buffer for send\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:139:9: note: treat the string as an argument to avoid this 139 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsHelp1, | ^ | "%s", args.c:149:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 149 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsHelp2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | "\t -m \t\tMenu - Turn off menu, using more of the screen\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | \t -sx\t\tSubject 'x' - for batch mailing\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | \t -t \t\tTiTe - don't use termcap/terminfo ti/te entries.\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | \t -V \t\tEnable sendmail voyeur mode.\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | \t -v \t\tPrint out ELM version information.\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 155 | \t -w \t\tWrite .elm/elmrc\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | \t -z \t\tZero - don't enter ELM if no mail is pending\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 157 | \n\n")); | ~~~~~~ args.c:149:9: note: treat the string as an argument to avoid this 149 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsHelp2, | ^ | "%s", args.c:165:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | static void args_version(i) | ^ 60 warnings generated. cc -I../hdrs -O2 -pipe -c attach_menu.c In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from attach_menu.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ attach_menu.c:22:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | static int can_save(filename) | ^ attach_menu.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | get_attachment(mail_fd,att) | ^ attach_menu.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void close_attachment(mail_fd, tmpfd) | ^ attach_menu.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void attachment_copy(att, tmpfd, outfd) | ^ attach_menu.c:173:12: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | (void) elm_chown (tempfile, userid, groupid); | ^ attach_menu.c:208:14: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | (void) elm_chown (tempfile, userid, groupid); | ^ attach_menu.c:224:5: warning: call to undeclared function 'PressAnyKeyToContinue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | PressAnyKeyToContinue(); | ^ attach_menu.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | attach_print (att) | ^ attach_menu.c:383:3: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | elm_chown (savefile, userid, groupid); | ^ attach_menu.c:233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | static void attach_save (a) | ^ attach_menu.c:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | static void attach_edit (ptr) | ^ attach_menu.c:447:3: warning: call to undeclared function 'mime_t_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | mime_t_clear (&tmp.mime_rec); | ^ attach_menu.c:520:8: warning: call to undeclared function 'mime_notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | if (!mime_notplain(&(tmp.mime_rec)) || !have_metamail()) { | ^ attach_menu.c:570:12: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | (void) elm_chown (tmpfile, userid, groupid); | ^ attach_menu.c:578:5: warning: call to undeclared function 'PressAnyKeyToContinue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 578 | PressAnyKeyToContinue(); | ^ attach_menu.c:434:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | static void attach_viewer (a) | ^ attach_menu.c:629:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | int Attach_it(pathname) | ^ attach_menu.c:652:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | static int attach_modify (att, new) | ^ attach_menu.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | mime_guess_content_type (ptr) | ^ attach_menu.c:1177:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | static int attach_info (ptr) | ^ attach_menu.c:1264:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | static void attach_header (mt, num, is_cur, use_desc, offset) | ^ attach_menu.c:1320:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | static void write_num(num, is_cur, offset) | ^ attach_menu.c:1335:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | mime_t * attach_menu (mt, rdonly) | ^ attach_menu.c:1360:39: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | ptrs = (mime_t **) DynamicArray (ptrs, sizeof (mime_t *), &ptr_len, 5); | ^ attach_menu.c:1520:38: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1520 | ptrs = (mime_t **) DynamicArray (ptrs, sizeof (mime_t *), &ptr_len, 5); | ^ 79 warnings generated. cc -I../hdrs -O2 -pipe -c a_edit.c In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from a_edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ a_edit.c:22:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | edit_aliases_text() | ^ | int a_edit.c:34:6: warning: call to undeclared function 'edit_a_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | if (edit_a_file(user_text_file) == 0) { | ^ a_edit.c:40:2: warning: call to undeclared function 'install_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | install_aliases(); | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c a_screen.c In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from a_screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ a_screen.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void alias_screen(modified) | ^ a_screen.c:37:5: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | show_headers(); | ^ a_screen.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | void alias_title(modified) | ^ a_screen.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | build_alias_line(buffer, entry, message_number, highlight, buffer_size) | ^ a_screen.c:146:19: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | show_status(entry->status,NULL), | ^ a_screen.c:174:18: warning: passing arguments to 'alias_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | alias_type(entry->type), | ^ a_screen.c:178:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | char *alias_type(type) | ^ a_screen.c:23: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] 23 | char *alias_type(); | ^ 62 warnings generated. cc -I../hdrs -O2 -pipe -c a_sort.c In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from a_sort.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ a_sort.c:28:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | void sort_aliases(entries, visible, are_in_aliases) | ^ a_sort.c:48:24: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | alias_sort_name(FULL)); | ^ a_sort.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | compare_aliases(p1, p2) | ^ a_sort.c:127:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | char *alias_sort_name(type) | ^ a_sort.c:24: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] 24 | char *alias_sort_name(); | ^ a_sort.c:180:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | static void alias_old_current(iindex) | ^ 60 warnings generated. cc -I../hdrs -O2 -pipe -c a_quit.c In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from a_quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ a_quit.c:142:6: warning: call to undeclared function 'delete_from_alias_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | delete_from_alias_text(list, to_delete); | ^ a_quit.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | delete_aliases(newaliases, prompt) | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c builtin++.c In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from builtin++.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ builtin++.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | builtinplusplus (fp, begin, length, text, textlen) | ^ builtin++.c:128:39: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | offsets = (long **) DynamicArray (offsets, | ^ builtin++.c:200:4: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | Writechar('\t'); | ^ builtin++.c:216:13: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | Writechar('^'); | ^ builtin++.c:226:13: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | Writechar('?'); | ^ builtin++.c:231:4: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | Writechar(*pending); | ^ builtin++.c:296:22: warning: passing arguments to 'DestroyDynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | DestroyDynamicArray (offsets); | ^ builtin++.c:406:27: warning: passing arguments to 'DestroyDynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | DestroyDynamicArray (offsets); | ^ 62 warnings generated. cc -I../hdrs -O2 -pipe -c calendar.c In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from calendar.c:28: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ calendar.c:38: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] 38 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ calendar.c:61:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | save_file_stats(calendar_file); | ^ calendar.c:75:10: warning: call to undeclared function 'extract_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | count = extract_info(calendar); | ^ calendar.c:79:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | restore_file_stats(calendar_file); | ^ calendar.c:136:25: warning: passing arguments to 'is_cal_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | if((cp = is_cal_entry(buffer)) != NULL) { | ^ calendar.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | extract_info(save_to_fd) | ^ calendar.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | is_cal_entry(string) | ^ 61 warnings generated. cc -I../hdrs -O2 -pipe -c curses.c In file included from curses.c:29: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from curses.c:29: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ curses.c:124:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 124 | InitScreen() | ^ | int curses.c:140:20: warning: passing arguments to 'tgetent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if ((err = tgetent(_terminal, termname)) != 1) | ^ curses.c:147:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | _clearscreen = tgetstr("cl", &ptr); | ^ curses.c:148:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | _moveto = tgetstr("cm", &ptr); | ^ curses.c:149:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | _up = tgetstr("up", &ptr); | ^ curses.c:150:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | _down = tgetstr("do", &ptr); | ^ curses.c:151:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | _right = tgetstr("nd", &ptr); | ^ curses.c:152:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | _left = tgetstr("bc", &ptr); | ^ curses.c:153:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | _bell = tgetstr("bl", &ptr); | ^ curses.c:155:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | _setbold = tgetstr("so", &ptr); | ^ curses.c:156:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | _clearbold = tgetstr("se", &ptr); | ^ curses.c:157:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | _setunderline = tgetstr("us", &ptr); | ^ curses.c:158:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | _clearunderline = tgetstr("ue", &ptr); | ^ curses.c:159:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | _setinverse = tgetstr("so", &ptr); | ^ curses.c:160:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | _clearinverse = tgetstr("se", &ptr); | ^ curses.c:161:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | _sethalfbright = tgetstr("hs", &ptr); | ^ curses.c:162:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | _clearhalfbright = tgetstr("he", &ptr); | ^ curses.c:163:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | _cleartoeoln = tgetstr("ce", &ptr); | ^ curses.c:164:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | _cleartoeos = tgetstr("cd", &ptr); | ^ curses.c:165:21: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | _lines = tgetnum("li"); | ^ curses.c:168:19: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | _automargin = tgetflag("am"); | ^ curses.c:170:27: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | _transmit_on = tgetstr("ks", &ptr); | ^ curses.c:171:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | _transmit_off = tgetstr("ke", &ptr); | ^ curses.c:172:27: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | _set_memlock = tgetstr("ml", &ptr); | ^ curses.c:173:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | _clear_memlock = tgetstr("mu", &ptr); | ^ curses.c:174:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | _start_termcap = tgetstr("ti", &ptr); | ^ curses.c:175:27: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | _end_termcap = tgetstr("te", &ptr); | ^ curses.c:177:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | _key_up = tgetstr("ku", &ptr); | ^ curses.c:178:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | _key_down = tgetstr("kd", &ptr); | ^ curses.c:179:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | _key_left = tgetstr("kl", &ptr); | ^ curses.c:180:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | _key_right = tgetstr("kr", &ptr); | ^ curses.c:181:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | _key_pageup = tgetstr("kP", &ptr); | ^ curses.c:182:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | _key_pagedown = tgetstr("kN", &ptr); | ^ curses.c:183:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | _key_home = tgetstr("kh", &ptr); | ^ curses.c:184:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | _key_help = tgetstr("%1", &ptr); | ^ curses.c:185:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | _key_find = tgetstr("@0", &ptr); | ^ curses.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void transmit_functions(newstate) | ^ curses.c:210:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | tputs(_transmit_on, 1, outchar); | ^ curses.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void ScreenSize(lines, columns) | ^ curses.c:260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | void SetXYLocation(x,y) | ^ curses.c:273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | void GetXYLocation(x,y) | ^ curses.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | ClearScreen() | ^ | int curses.c:295:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | tputs(_clearscreen, 1, outchar); | ^ curses.c:302:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | static CursorUp(n) | ~~~~~~ ^ | int curses.c:314:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | tputs(_up, 1, outchar); | ^ curses.c:302:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static CursorUp(n) | ^ curses.c:321:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | static CursorDown(n) | ~~~~~~ ^ | int curses.c:333:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | tputs(_down, 1, outchar); | ^ curses.c:321:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | static CursorDown(n) | ^ curses.c:340:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 340 | static CursorLeft(n) | ~~~~~~ ^ | int curses.c:352:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | tputs(_left, 1, outchar); | ^ curses.c:340:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | static CursorLeft(n) | ^ curses.c:359:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 359 | static CursorRight(n) | ~~~~~~ ^ | int curses.c:372:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | tputs(_right, 1, outchar); | ^ curses.c:359:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | static CursorRight(n) | ^ curses.c:378:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | static void moveabsolute(col, row) | ^ curses.c:390:16: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | stuff = tgoto(_moveto, col, row); | ^ curses.c:391:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 391 | tputs(stuff, 1, outchar); | ^ curses.c:397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 397 | MoveCursor(row, col) | ^ | int curses.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] curses.c:473:2: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | Writechar('\r'); | ^ curses.c:480:2: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | Writechar('\r'); | ^ curses.c:484:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 484 | StartBold() | ^ | int curses.c:491:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | tputs(_setbold, 1, outchar); | ^ curses.c:497:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 497 | EndBold() | ^ | int curses.c:504:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 504 | tputs(_clearbold, 1, outchar); | ^ curses.c:511:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 511 | StartUnderline() | ^ | int curses.c:518:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 518 | tputs(_setunderline, 1, outchar); | ^ curses.c:524:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 524 | EndUnderline() | ^ | int curses.c:531:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | tputs(_clearunderline, 1, outchar); | ^ curses.c:537:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 537 | StartHalfbright() | ^ | int curses.c:544:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 544 | tputs(_sethalfbright, 1, outchar); | ^ curses.c:549:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 549 | EndHalfbright() | ^ | int curses.c:556:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | tputs(_clearhalfbright, 1, outchar); | ^ curses.c:561:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 561 | StartInverse() | ^ | int curses.c:568:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | tputs(_setinverse, 1, outchar); | ^ curses.c:574:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 574 | EndInverse() | ^ | int curses.c:581:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 581 | tputs(_clearinverse, 1, outchar); | ^ curses.c:616:4: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 616 | tputs(_set_memlock, 1, outchar); | ^ curses.c:635:4: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 635 | tputs(_clear_memlock, 1, outchar); | ^ curses.c:644:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 644 | Writechar(ch) | ^ | int curses.c:681:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | tputs(_left, 1, outchar); | ^ curses.c:695:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 695 | tputs(_bell,1,outchar); | ^ curses.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | Writechar(ch) | ^ curses.c:781:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | void PutLine0(x, y, line) | ^ curses.c:830:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 830 | tputs(_cleartoeoln, 1, outchar); | ^ curses.c:835:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 835 | CleartoEOS() | ^ | int curses.c:845:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 845 | tputs(_cleartoeos, 1, outchar); | ^ curses.c:851:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 851 | RawState() | ^ | int curses.c:867:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | void Raw(state) | ^ curses.c:887:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 887 | tputs(_end_termcap, 1, outchar); | ^ curses.c:958:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 958 | tputs(_start_termcap, 1, outchar); | ^ curses.c:989:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | int ReadCh(flags) | ^ curses.c:1195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | int outchar(c) | ^ curses.c:120:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | int outchar(); /* char output for tputs */ | ^ 149 warnings generated. cc -I../hdrs -O2 -pipe -c date.c In file included from date.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from date.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ date.c:24: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] 24 | extern struct tm *gmtime(); | ^ /usr/include/time.h:117:12: note: conflicting prototype is here 117 | struct tm *gmtime(const time_t *); | ^ date.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void days_ahead(days, buffer, size) | ^ date.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | month_number(name) | ^ date.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | elm_date_str(buf, seconds, size) | ^ date.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | void make_menu_date(entry) | ^ 59 warnings generated. cc -I../hdrs -O2 -pipe -c delete.c In file included from delete.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from delete.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ delete.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | void delete_msg(real_del, update_screen) | ^ delete.c:65:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | void undelete_msg(update_screen) | ^ delete.c:79:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | void show_msg_status(msg) | ^ delete.c:86:30: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | strfcpy(tempbuf, show_status(ifmain(headers[msg]->status, | ^ delete.c:91:6: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | if (on_page(msg)) { | ^ delete.c:92:17: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | MoveCursor(((compute_visible(msg+1)-1) % headers_per_page) + 4, 2); | ^ delete.c:95:6: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | Writechar( tempbuf[0] ); | ^ delete.c:99:6: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | Writechar( tempbuf[0] ); | ^ delete.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | tag_message(update_screen) | ^ delete.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | void show_msg_tag(msg) | ^ delete.c:137:6: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | if (on_page(msg)) { | ^ delete.c:138:17: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | MoveCursor(((compute_visible(msg+1)-1) % headers_per_page) + 4, 4); | ^ delete.c:141:6: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | Writechar( ison(ifmain(headers[msg]->status, | ^ delete.c:146:6: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | Writechar( ison(ifmain(headers[msg]->status, | ^ delete.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | void show_new_status(msg) | ^ delete.c:159:6: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | if (on_page(msg)) | ^ delete.c:162:17: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | PutLineX(((compute_visible(msg+1)-1) % headers_per_page) + 4, | ^ delete.c:163:33: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | 2, FRM("%s%c"), show_status(ifmain(headers[msg]->status, | ^ delete.c:171:17: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | PutLineX(((compute_visible(msg+1)-1) % headers_per_page) + 4, | ^ delete.c:172:35: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | 2, FRM("%s%c"), show_status(ifmain(headers[msg]->status, | ^ delete.c:170:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 170 | else | ^ 75 warnings generated. cc -I../hdrs -O2 -pipe -c edit.c In file included from edit.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from edit.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ edit.c:27:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 27 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ edit.c:28:8: warning: a function 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] 28 | long bytes(); | ^ ../hdrs/me.h:246:13: note: conflicting prototype is here 246 | extern long bytes P_((char *)); | ^ edit.c:32:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | static void copy_failed_emergency_exit(cur_folder, edited_file) | ^ edit.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | edit_mailbox() | ^ | int edit.c:76:7: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if(save_file_stats(current_folder->cur_folder) != 0) { | ^ edit.c:90:6: warning: call to undeclared function 'edit_a_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | if (edit_a_file(edited_file) == 0) { | ^ edit.c:161:8: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | if(restore_file_stats(current_folder->cur_folder) != 1) { | ^ edit.c:183:2: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | newmbox(current_folder->cur_folder, FALSE); | ^ edit.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 | edit_a_file(editfile) | ^ 63 warnings generated. cc -I../hdrs -O2 -pipe -c editmsg.c In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from editmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ editmsg.c:24: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] 24 | char *error_description(), *format_long(), *strip_commas(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ editmsg.c:25: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] 25 | long fsize(); | ^ ../hdrs/me.h:245:13: note: conflicting prototype is here 245 | extern long fsize P_((FILE *)); | ^ editmsg.c:139:9: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | (void) expand_env(exp_fname, filename, sizeof(exp_fname)); | ^ editmsg.c:153:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 153 | while (n = mail_gets(buffer, SLEN, myfd)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editmsg.c:153:11: note: place parentheses around the assignment to silence this warning 153 | while (n = mail_gets(buffer, SLEN, myfd)) { | ^ | ( ) editmsg.c:153:11: note: use '==' to turn this assignment into an equality comparison 153 | while (n = mail_gets(buffer, SLEN, myfd)) { | ^ | == editmsg.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | read_in_file(fd, filename, show_user_filename) | ^ editmsg.c:191:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | static void print_message_so_far(edit_fd, filename, headers) | ^ editmsg.c:215:15: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | format_long(addr_string, 4)); | ^ editmsg.c:223:15: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | format_long(addr_string, 4)); | ^ editmsg.c:231:15: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | format_long(addr_string, 5)); | ^ editmsg.c:259:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 259 | FILE *myfd, *popen(); | ^ /usr/include/stdio.h:236:7: note: conflicting prototype is here 236 | FILE *popen(const char *, const char *); | ^ editmsg.c:289:6: warning: call to undeclared function 'create_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | if (create_folder_state_file() != 0) | ^ editmsg.c:299:12: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | (void) remove_folder_state_file(); | ^ editmsg.c:305:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 305 | while (n = mail_gets(local_buffer, SLEN, myfd)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editmsg.c:305:11: note: place parentheses around the assignment to silence this warning 305 | while (n = mail_gets(local_buffer, SLEN, myfd)) { | ^ | ( ) editmsg.c:305:11: note: use '==' to turn this assignment into an equality comparison 305 | while (n = mail_gets(local_buffer, SLEN, myfd)) { | ^ | == editmsg.c:314:16: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | (void) remove_folder_state_file(); | ^ editmsg.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | read_in_messages(fd, buffer) | ^ editmsg.c:344:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | static void get_it(prompt, buffer,size,sourcebuf) | ^ editmsg.c:374:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | static void get_addr_with_expansion(prompt,addr,sourcebuf) | ^ editmsg.c:409:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | static void get_text(prompt,text,sourcebuf) | ^ editmsg.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | edit_interrupt(sig) | ^ editmsg.c:472:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 471 | static | ~~~~~~ | int 472 | enforce_newline(filename) | ^ editmsg.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] editmsg.c:515:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | static int have_editor(editor) | ^ editmsg.c:552:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | int edit_the_message(filename, already_has_text, headers, | ^ editmsg.c:603:12: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 603 | (void) elm_chown(filename, userid, groupid); | ^ editmsg.c:634:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | static int no_editor_edit_the_message(filename,headers) | ^ editmsg.c:697:2: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | CleartoEOS(); | ^ editmsg.c:725:9: warning: call to undeclared function 'wrapped_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 725 | while (wrapped_enter(buffer, wrap, -1,-1, edit_fd, &is_wrapped, | ^ 81 warnings generated. /bin/chmod u+w ../hdrs/elm.h /usr/bin/touch ../hdrs/elm.h cc -I../hdrs -O2 -pipe -c elm.c In file included from elm.c:20: In file included from ../hdrs/elm.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from elm.c:20: In file included from ../hdrs/elm.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ elm.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 | long bytes(); | ^ ../hdrs/me.h:246:13: note: conflicting prototype is here 246 | extern long bytes P_((char *)); | ^ elm.c:28:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 28 | char *format_long(), *parse_arguments(), *error_description(); | ^ ../hdrs/me.h:16:15: note: conflicting prototype is here 16 | extern char * parse_arguments P_((int, char *[], char ***, int *)); | ^ elm.c:28:43: warning: a function 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] 28 | char *format_long(), *parse_arguments(), *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ elm.c:113:26: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | int was_on_page = on_page(current); | ^ elm.c:124:8: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | newmbox(current_folder->cur_folder, TRUE); /* last won't be touched! */ | ^ elm.c:183:4: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | CleartoEOS(); | ^ elm.c:198:23: warning: call to undeclared function 'help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | case '?' : if (help(FALSE)) | ^ elm.c:207:17: warning: call to undeclared function 'resync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | redraw += resync(); | ^ elm.c:208:16: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | nucurr = get_page(current); | ^ elm.c:211:21: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | case '|' : Writechar('|'); | ^ elm.c:219:40: warning: call to undeclared function 'do_pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | redraw += do_pipe(); | ^ elm.c:226:38: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | redraw += subshell(); | ^ elm.c:241:11: warning: call to undeclared function 'scan_calendar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | scan_calendar(); | ^ elm.c:273:17: warning: call to undeclared function 'change_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | redraw += change_file(); | ^ elm.c:289:9: warning: call to undeclared function 'edit_mailbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | edit_mailbox(); | ^ elm.c:336:12: warning: call to undeclared function 'forward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 336 | if(forward()) redraw++; | ^ elm.c:360:21: warning: call to undeclared function 'reply_to_everyone'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | redraw += reply_to_everyone(); | ^ elm.c:384:13: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | i = show_msg(current); | ^ elm.c:386:9: warning: call to undeclared function 'process_showmsg_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | i = process_showmsg_cmd(i); | ^ elm.c:400:30: warning: call to undeclared function 'pgp_mail_public_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | redraw = pgp_mail_public_key (); | ^ elm.c:420:13: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | i = show_msg(current); | ^ elm.c:422:9: warning: call to undeclared function 'process_showmsg_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 422 | i = process_showmsg_cmd(i); | ^ elm.c:441:13: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 441 | i = show_msg(current); | ^ elm.c:443:15: warning: call to undeclared function 'process_showmsg_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | i = process_showmsg_cmd(i); | ^ elm.c:457:13: warning: call to undeclared function 'options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | if((i=options()) > 0) | ^ elm.c:516:19: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | redraw += reply(); | ^ elm.c:555:13: warning: call to undeclared function 'save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | if (save(&redraw, FALSE, (ch != 'C')) | ^ elm.c:557:17: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 557 | if((i=next_message(current-1, TRUE)) != -1) { | ^ elm.c:601:7: warning: call to undeclared function 'exit_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | exit_prog(); | ^ elm.c:633:6: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 633 | show_headers(); | ^ elm.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int main(argc, argv) | ^ elm.c:850:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | static void do_check_only(to_whom) | ^ elm.c:864:39: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | printf("%s %s\n", msg,format_long(addr_string, strlen(msg))); | ^ elm.c:875:6: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 875 | i = compute_visible(current); | ^ elm.c:893:13: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 893 | current = visible_to_index(selected)+1; | ^ elm.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | motion(ch) | ^ elm.c:933:18: warning: call to undeclared function 'pattern_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 933 | else if (pattern_match()) | ^ elm.c:934:13: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 934 | nucurr = get_page(current); | ^ elm.c:958:16: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 958 | current = visible_to_index( | ^ elm.c:980:16: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 980 | current = visible_to_index( | ^ elm.c:994:19: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 994 | current = visible_to_index(1)+1; | ^ elm.c:1025:15: warning: call to undeclared function 'meta_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1025 | if(!meta_match(DELETED)) break; | ^ elm.c:1031:17: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1031 | if((i=next_message(current-1, TRUE)) != -1) { | ^ elm.c:1039:15: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1039 | if((i=next_message(current-1, FALSE)) != -1) { | ^ elm.c:1053:15: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1053 | if((i=next_message(current-1, TRUE)) != -1) { | ^ elm.c:1065:15: warning: call to undeclared function 'prev_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1065 | if((i=prev_message(current-1, FALSE)) != -1) { | ^ elm.c:1079:15: warning: call to undeclared function 'prev_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1079 | if((i=prev_message(current-1, TRUE)) != -1) { | ^ elm.c:1096:11: warning: call to undeclared function 'limit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1096 | if (limit() != 0) { | ^ elm.c:1114:5: warning: call to undeclared function 'tag_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1114 | tag_message(TRUE); | ^ elm.c:1120:5: warning: call to undeclared function 'meta_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1120 | meta_match(TAGGED); | ^ elm.c:1133:17: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1133 | if((i=next_message(current-1, FALSE)) != -1) { | ^ 105 warnings generated. cc -I../hdrs -O2 -pipe -c encode.c In file included from encode.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from encode.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ encode.c:57:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | static char * sig_str(str) | ^ encode.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void getkey(send) | ^ encode.c:142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | void encode(line) | ^ encode.c:184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | void makekey( rkey) | ^ encode.c:192:8: warning: a function 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 | char *crypt(); | ^ /usr/include/unistd.h:408:7: note: conflicting prototype is here 408 | char *crypt(const char *, const char *); | ^ 59 warnings generated. cc -I../hdrs -O2 -pipe -c exitprog.c In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from exitprog.c:15: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ exitprog.c:55:13: warning: call to undeclared function 'want_to'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | answer = want_to(msg, *def_ans_no, elm_LINES-3, 0); | ^ exitprog.c:61:9: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | return leave(0); | ^ 54 warnings generated. cc -I../hdrs -O2 -pipe -c expires.c In file included from expires.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from expires.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ expires.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | void process_expiration_date(date, message_status) | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c file.c In file included from file.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from file.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ file.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | void init_helpmsg( msg, action_word, allow_dot, size_msg ) | ^ file.c:62:22: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | strfcat( msg, nameof( recvd_mail ), size_msg ) ; | ^ file.c:68:22: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | strfcat( msg, nameof( sent_mail ), size_msg ) ; | ^ file.c:75:26: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | strfcat( msg, nameof(prev_fold), size_msg); | ^ file.c:208:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 208 | (void) printf( savehelp ) ; | ^~~~~~~~ file.c:208:23: note: treat the string as an argument to avoid this 208 | (void) printf( savehelp ) ; | ^ | "%s", file.c:215:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 215 | (void) printf( copyhelp ) ; | ^~~~~~~~ file.c:215:23: note: treat the string as an argument to avoid this 215 | (void) printf( copyhelp ) ; | ^ | "%s", file.c:221:9: warning: call to undeclared function 'has_wildcards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | if ( has_wildcards( filename ) ) | ^ file.c:246:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | save_file_stats(filename); | ^ file.c:354:18: warning: passing arguments to 'save_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | save_message(i, filename, save_file, (tagged > 1), appending++, | ^ file.c:363:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | restore_file_stats(filename); | ^ file.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | save(redraw, silently, delete) | ^ file.c:409:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 409 | if(is_new = ison(headers[number]->status, NEW)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:409:12: note: place parentheses around the assignment to silence this warning 409 | if(is_new = ison(headers[number]->status, NEW)) | ^ | ( ) file.c:409:12: note: use '==' to turn this assignment into an equality comparison 409 | if(is_new = ison(headers[number]->status, NEW)) | ^ | == file.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | save_message(number, filename, fd, pause, appending, silently, delete) | ^ file.c:34: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] 34 | void save_message(); | ^ file.c:438:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | int expand_filename(filename, use_cursor_control, size_filename) | ^ file.c:464:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 464 | struct passwd *pass, *getpwnam(); | ^ /usr/include/pwd.h:95:16: note: conflicting prototype is here 95 | struct passwd *getpwnam(const char *); | ^ file.c:465:8: warning: a function 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] 465 | char *getenv(); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ 71 warnings generated. cc -I../hdrs -O2 -pipe -c file_util.c In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from file_util.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ file_util.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 *error_description(), *getlogin(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ file_util.c:28: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] 28 | long fsize(); | ^ ../hdrs/me.h:245:13: note: conflicting prototype is here 245 | extern long fsize P_((FILE *)); | ^ file_util.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | long bytes(name) | ^ file_util.c:58:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 58 | else | ^ file_util.c:65:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | static int copy_to_fh(from, to) | ^ file_util.c:111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | int copy_to_folder(from, to) | ^ file_util.c:162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | int copy1(from, to, isspool) | ^ file_util.c:198:12: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | (void) elm_chown( to, userid, groupid); | ^ file_util.c:231:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 231 | while (len = fread(buffer, 1, VERY_LONG_STRING, my_fd)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_util.c:231:13: note: place parentheses around the assignment to silence this warning 231 | while (len = fread(buffer, 1, VERY_LONG_STRING, my_fd)) | ^ | ( ) file_util.c:231:13: note: use '==' to turn this assignment into an equality comparison 231 | while (len = fread(buffer, 1, VERY_LONG_STRING, my_fd)) | ^ | == file_util.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | append(fd, filename, prefix_str) | ^ file_util.c:305:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 305 | case 1: printf(catgets(elm_msg_cat, ElmSet, ElmNoMail, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | "You have no mail.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~ file_util.c:305:18: note: treat the string as an argument to avoid this 305 | case 1: printf(catgets(elm_msg_cat, ElmSet, ElmNoMail, | ^ | "%s", file_util.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | check_mailfile_size(mfile) | ^ file_util.c:320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | long fsize(fd) | ^ file_util.c:28: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] 28 | long fsize(); | ^ file_util.c:345:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | FILE *open_or_create(name) | ^ file_util.c:373:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | FILE *open_end_update(name) | ^ 70 warnings generated. cc -I../hdrs -O2 -pipe -c fileio.c In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from fileio.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ fileio.c:28: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] 28 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ fileio.c:34:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 34 | printf(catgets(elm_msg_cat, ElmSet, ElmWriteCopyMessageFailed, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 | "\nWrite in copy_message failed\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:34:9: note: treat the string as an argument to avoid this 34 | printf(catgets(elm_msg_cat, ElmSet, ElmWriteCopyMessageFailed, | ^ | "%s", fileio.c:44:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | static void copy_pgp(prefix,dest_file,cm_options,current_header, infile) | ^ fileio.c:68:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 68 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpPublicKeys, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | "(** This message contains PGP public key(s) **)\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:68:20: note: treat the string as an argument to avoid this 68 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpPublicKeys, | ^ | "%s", fileio.c:155:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 155 | catgets(elm_msg_cat, MeSet, MePgpNotAvailRawdata, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "[PGP not available, raw data follows]\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:155:3: note: treat the string as an argument to avoid this 155 | catgets(elm_msg_cat, MeSet, MePgpNotAvailRawdata, | ^ | "%s", fileio.c:165:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 165 | fprintf(dest_file,catgets(elm_msg_cat, ElmSet, ElmDecryptBadPGP, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | "Decrypting message... Bad PGP passphrase.")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:165:24: note: treat the string as an argument to avoid this 165 | fprintf(dest_file,catgets(elm_msg_cat, ElmSet, ElmDecryptBadPGP, | ^ | "%s", fileio.c:177:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 177 | catgets(elm_msg_cat, ElmSet, ElmDecryptFailInitPGPRaw, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | "[Decrypting message... Failed to init PGP. Raw data follows.]\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:177:3: note: treat the string as an argument to avoid this 177 | catgets(elm_msg_cat, ElmSet, ElmDecryptFailInitPGPRaw, | ^ | "%s", fileio.c:194:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 194 | catgets(elm_msg_cat, ElmSet, ElmDecryptEndRaw, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | "[Decrypting message... End of raw data.]\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:194:3: note: treat the string as an argument to avoid this 194 | catgets(elm_msg_cat, ElmSet, ElmDecryptEndRaw, | ^ | "%s", fileio.c:217:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 217 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStartEncoded, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | "-- Start of PGP encoded section.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:217:25: note: treat the string as an argument to avoid this 217 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStartEncoded, | ^ | "%s", fileio.c:220:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 220 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStartSigned, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | "-- Start of PGP signed section.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:220:25: note: treat the string as an argument to avoid this 220 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStartSigned, | ^ | "%s", fileio.c:223:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 223 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStartOutput, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | "-- Start of PGP output.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:223:25: note: treat the string as an argument to avoid this 223 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStartOutput, | ^ | "%s", fileio.c:226:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 226 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStart, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227 | "-- Start of PGP section.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:226:25: note: treat the string as an argument to avoid this 226 | fprintf(dest_file,catgets(elm_msg_cat, MeSet, MePgpStart, | ^ | "%s", fileio.c:244:3: warning: call to undeclared function 'PressAnyKeyToContinue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | PressAnyKeyToContinue(); | ^ fileio.c:282:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | void copy_mime(prefix,dest_file,cm_options,current_header, infile) | ^ fileio.c:318:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | static void copy_encrypted(prefix,dest_file,cm_options,current_header,infile) | ^ fileio.c:366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | void copy_plain(prefix,dest_file,cm_options,current_header, infile) | ^ fileio.c:400:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | copy_decoder_t select_copy_decoder (current_header) | ^ fileio.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | copy_message(infile, | ^ fileio.c:676:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 675 | if (fprintf (dest_file, "%5d%s", | ~~~ | %5ld 676 | current_header->content_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | save_file_stats(fname) | ^ fileio.c:901:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 901 | restore_file_stats(fname) | ^ | int fileio.c:965:13: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | (void) elm_chown(fname, new_owner, new_group); | ^ fileio.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | restore_file_stats(fname) | ^ 77 warnings generated. cc -I../hdrs -O2 -pipe -c find_alias.c In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from find_alias.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ find_alias.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | find_alias(word, alias_type) | ^ 53 warnings generated. cc -I../hdrs -O2 -pipe -c forms.c In file included from forms.c:40: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from forms.c:40: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ forms.c:47: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] 47 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ forms.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int check_form_file(filename) | ^ forms.c:73:17: warning: call to undeclared function 'occurances_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | field_count += occurances_of(COLON, buffer); | ^ forms.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int format_form(filename) | ^ forms.c:130:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 130 | while (len_buf = mail_gets(buffer, SLEN, form)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:130:17: note: place parentheses around the assignment to silence this warning 130 | while (len_buf = mail_gets(buffer, SLEN, form)) { | ^ | ( ) forms.c:130:17: note: use '==' to turn this assignment into an equality comparison 130 | while (len_buf = mail_gets(buffer, SLEN, form)) { | ^ | == forms.c:132:18: warning: call to undeclared function 'occurances_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | form_count += occurances_of(COLON, buffer); | ^ forms.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int mail_filled_in_form(current_header,address, subject) | ^ forms.c:202:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 202 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:202:17: note: place parentheses around the assignment to silence this warning 202 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ^ | ( ) forms.c:202:17: note: use '==' to turn this assignment into an equality comparison 202 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ^ | == forms.c:228:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:228:17: note: place parentheses around the assignment to silence this warning 228 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ^ | ( ) forms.c:228:17: note: use '==' to turn this assignment into an equality comparison 228 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ^ | == forms.c:272:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 272 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:272:17: note: place parentheses around the assignment to silence this warning 272 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ^ | ( ) forms.c:272:17: note: use '==' to turn this assignment into an equality comparison 272 | while (len_buf = mail_gets(buffer, SLEN, MAILFILE(current_folder))) { | ^ | == forms.c:283:21: warning: call to undeclared function 'occurances_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | switch ((count = occurances_of(COLON, buffer))) { | ^ forms.c:288:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 288 | printf(catgets(elm_msg_cat, ElmSet, ElmEnterAsManyLines, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 289 | "(Enter as many lines as needed, ending with a '.' by itself on a line)\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:288:24: note: treat the string as an argument to avoid this 288 | printf(catgets(elm_msg_cat, ElmSet, ElmEnterAsManyLines, | ^ | "%s", forms.c:316:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | static void prompt_for_entries(buffer, fd, entries) | ^ forms.c:378:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | static void prompt_for_sized_entry(prompt, buffer, field_size) | ^ 68 warnings generated. cc -I../hdrs -O2 -pipe -c hdrconfg.c In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from hdrconfg.c:33: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ hdrconfg.c:287:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | void edit_headers(headers) | ^ hdrconfg.c:353:10: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | if (subshell()) | ^ hdrconfg.c:373:4: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | Writechar('\007'); | ^ hdrconfg.c:383:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | Writechar('\007'); | ^ hdrconfg.c:403:5: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | CleartoEOS(); | ^ hdrconfg.c:410:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | static int hdrmenu_get(h,headers) | ^ hdrconfg.c:443:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | Writechar(*s); | ^ hdrconfg.c:447:2: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | Writechar(':'); | ^ hdrconfg.c:479:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | static void hdrmenu_put(h, already_clear, headers) | ^ hdrconfg.c:516:6: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | Writechar(*p); | ^ hdrconfg.c:529:2: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 529 | Writechar(*p); | ^ hdrconfg.c:543:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 543 | Writechar(' '); | ^ hdrconfg.c:558:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | void hdr_to_buffer(addrs,ptr,size) | ^ hdrconfg.c:585:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | char *hdr_to_expval(addrs) | ^ hdrconfg.c:617:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | int buffer_to_header(addrs,ptr,free_only) | ^ hdrconfg.c:630:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | static void text_to_buffer(text,ptr,size) | ^ hdrconfg.c:652:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | static char *text_to_expval(text) | ^ hdrconfg.c:662:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | static int buffer_to_text(text,ptr,free_only) | ^ hdrconfg.c:676:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | static void inpval_to (h,headers,ptr,size) | ^ hdrconfg.c:685:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | static char * expval_to (h,headers) | ^ hdrconfg.c:692:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | static int hdrproc_to (h,headers,ptr,free_only) | ^ hdrconfg.c:703:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | static void inpval_cc (h,headers,ptr,size) | ^ hdrconfg.c:712:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | static char * expval_cc (h,headers) | ^ hdrconfg.c:719:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | static int hdrproc_cc (h,headers,ptr,free_only) | ^ hdrconfg.c:730:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | static void inpval_bcc (h,headers,ptr,size) | ^ hdrconfg.c:739:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | static char * expval_bcc (h,headers) | ^ hdrconfg.c:746:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | static int hdrproc_bcc (h,headers,ptr,free_only) | ^ hdrconfg.c:757:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | static void inpval_subject (h,headers,ptr,size) | ^ hdrconfg.c:766:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | static char * expval_subject (h,headers) | ^ hdrconfg.c:773:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | static int hdrproc_subject (h,headers,ptr,free_only) | ^ hdrconfg.c:784:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | static void inpval_reply_to (h,headers,ptr,size) | ^ hdrconfg.c:793:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | static char * expval_reply_to (h,headers) | ^ hdrconfg.c:800:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | static int hdrproc_reply_to (h,headers,ptr,free_only) | ^ hdrconfg.c:811:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | static void inpval_action (h,headers,ptr,size) | ^ hdrconfg.c:820:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | static char * expval_action (h,headers) | ^ hdrconfg.c:827:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | static int hdrproc_action (h,headers,ptr,free_only) | ^ hdrconfg.c:838:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | static void inpval_expires (h,headers,ptr,size) | ^ hdrconfg.c:847:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | static char * expval_expires (h,headers) | ^ hdrconfg.c:861:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | static int hdrproc_expires (h,headers,ptr,free_only) | ^ hdrconfg.c:919:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | static void inpval_priority (h,headers,ptr,size) | ^ hdrconfg.c:928:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | static char * expval_priority (h,headers) | ^ hdrconfg.c:935:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | static int hdrproc_priority (h,headers,ptr,free_only) | ^ hdrconfg.c:946:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | static void inpval_precedence (h,headers,ptr,size) | ^ hdrconfg.c:954:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | static char * expval_precedence (h,headers) | ^ hdrconfg.c:969:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | static int hdrproc_precedence (h,headers,ptr,free_only) | ^ hdrconfg.c:1036:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | static void inpval_in_reply_to (h,headers,ptr,size) | ^ hdrconfg.c:1045:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | static char * expval_in_reply_to (h,headers) | ^ hdrconfg.c:1052:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | static int hdrproc_in_reply_to (h,headers,ptr,free_only) | ^ hdrconfg.c:1063:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | static void inpval_userhdr (h,headers,ptr,size) | ^ hdrconfg.c:1071:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | static char * expval_userhdr (h,headers) | ^ hdrconfg.c:1084:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | static int hdrproc_userhdr (h,headers,ptr,free_only) | ^ 105 warnings generated. cc -I../hdrs -O2 -pipe -c help.c In file included from help.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from help.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ help.c:22:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | help(pager_help) | ^ | int help.c:47:2: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | CleartoEOS(); | ^ help.c:50:4: warning: call to undeclared function 'put_border'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | put_border(); | ^ help.c:51:4: warning: call to undeclared function 'Centerline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | Centerline(elm_LINES, help_message); | ^ help.c:54:4: warning: call to undeclared function 'Centerline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | Centerline(elm_LINES-4, catgets(elm_msg_cat, ElmSet, ElmHelpSystem, | ^ help.c:75:16: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | case '?': display_helpfile(pager_help? PAGER_HELP : MAIN_HELP); | ^ help.c:319:16: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | case EOF: leave(0); | ^ help.c:328:4: warning: call to undeclared function 'Centerline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | Centerline(info_line, s); | ^ help.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | help(pager_help) | ^ help.c:337:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | display_helpfile(section) | ^ | int help.c:346:9: warning: call to undeclared function 'display_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | return(display_file(buffer)); | ^ help.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | display_helpfile(section) | ^ help.c:349:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 349 | display_file(file) | ^ | int help.c:376:8: warning: call to undeclared function 'clear_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | clear_error(); | ^ help.c:395:2: warning: call to undeclared function 'clear_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | clear_error(); | ^ help.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | display_file(file) | ^ 68 warnings generated. cc -I../hdrs -O2 -pipe -c in_utils.c In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from in_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ in_utils.c:26:10: warning: a function 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 | unsigned alarm(); | ^ /usr/include/unistd.h:326:14: note: conflicting prototype is here 326 | unsigned int alarm(unsigned int); | ^ in_utils.c:33:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | int want_to(question, dflt, where, clear_and_center) | ^ in_utils.c:98:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | int read_number(ch, item) | ^ in_utils.c:130:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | int optionally_enter(string, x, y, flags, size) | ^ in_utils.c:236:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | Writechar(BACKSPACE); | ^ in_utils.c:240:8: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | Writechar(' '); | ^ in_utils.c:255:8: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:260:10: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:265:10: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:309:6: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | Writechar('\007'); | ^ in_utils.c:319:5: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | Writechar(BACKSPACE); | ^ in_utils.c:328:5: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | Writechar(ch); | ^ in_utils.c:339:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | int pattern_enter(string, alt_string, x, y, alternate_prompt, | ^ in_utils.c:393:4: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | Writechar(ch); | ^ in_utils.c:398:4: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:401:4: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | Writechar(' '); | ^ in_utils.c:435:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:438:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | Writechar(' '); | ^ in_utils.c:453:10: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:458:12: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:463:12: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 463 | erase_a_char(); | ^ in_utils.c:30:27: note: expanded from macro 'erase_a_char' 30 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ in_utils.c:498:8: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | Writechar('\007'); | ^ in_utils.c:507:5: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | Writechar(BACKSPACE); | ^ in_utils.c:514:5: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | Writechar(ch); | ^ 78 warnings generated. cc -I../hdrs -O2 -pipe -c init.c In file included from init.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from init.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ init.c:58: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] 58 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ init.c:66: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] 66 | char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ init.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | void initialize(requestedmfile, size) | ^ init.c:143:19: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | original_umask = umask(077); | ^ init.c:194:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 194 | printf(catgets(elm_msg_cat, ElmSet, ElmNoTerm, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | "Sorry, but you must specify what type of terminal you're on if you want to\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | run the \"elm\" program. (You need your environment variable \"TERM\" set.)\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:194:15: note: treat the string as an argument to avoid this 194 | printf(catgets(elm_msg_cat, ElmSet, ElmNoTerm, | ^ | "%s", init.c:296:7: warning: call to undeclared function 'check_mailfile_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | if(check_mailfile_size(requestedmfile) != 0) { | ^ init.c:374:4: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | newmbox(requestedmfile, FALSE); /* read in the folder! */ | ^ 61 warnings generated. cc -I../hdrs -O2 -pipe -c leavembox.c In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from leavembox.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ leavembox.c:63: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] 63 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ leavembox.c:68:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | int leave_mbox(resyncing, quitting, prompt) | ^ leavembox.c:114: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] 114 | long bytes(); | ^ ../hdrs/me.h:246:13: note: conflicting prototype is here 246 | extern long bytes P_((char *)); | ^ leavembox.c:533:11: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | (void) elm_chown(recvd_mail, userid, groupid); | ^ leavembox.c:659:5: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | if(save_file_stats(current_folder->cur_folder) != 0) { | ^ leavembox.c:911:7: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 911 | if(restore_file_stats(current_folder->cur_folder) != 1) { | ^ 60 warnings generated. cc -I../hdrs -O2 -pipe -c lock.c In file included from lock.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from lock.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ lock.c:34: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] 34 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ lock.c:36:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 36 | extern char *mk_lockname(); | ^ ../hdrs/elmlib.h:62:15: note: conflicting prototype is here 62 | extern char * mk_lockname P_((char *)); | ^ lock.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int Grab_the_file(flock_fd) | ^ lock.c:88:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | int Release_the_file(flock_fd) | ^ lock.c:128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | int lock(direction, folder) | ^ lock.c:470:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | int flush_mailfile(folder) | ^ lock.c:486:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | int unlock(interrupt, folder) | ^ lock.c:523:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 523 | if (retcode = Release_the_file (fileno(folder->fh_folder))) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lock.c:523:18: note: place parentheses around the assignment to silence this warning 523 | if (retcode = Release_the_file (fileno(folder->fh_folder))) { | ^ | ( ) lock.c:523:18: note: use '==' to turn this assignment into an equality comparison 523 | if (retcode = Release_the_file (fileno(folder->fh_folder))) { | ^ | == 62 warnings generated. cc -I../hdrs -O2 -pipe -c limit.c In file included from limit.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from limit.c:24: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ limit.c:33: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] 33 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ limit.c:115:19: warning: call to undeclared function 'limit_alias_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | selected = limit_alias_selection(BY_NAME, rest, selected); | ^ limit.c:150:19: warning: call to undeclared function 'SelectTaggedMessages'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | selected = SelectTaggedMessages(); | ^ limit.c:176:5: warning: call to undeclared function 'limit_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | limit_selection(SUBJECT, buf2, selected||(complx&&iter!=0)); | ^ limit.c:215:19: warning: call to undeclared function 'TallySelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | selected = TallySelection(); | ^ limit.c:262:16: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | current = visible_to_index(1)+1; | ^ limit.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | limit_selection(based_on, pattern, additional_criteria) | ^ limit.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | limit_alias_selection(based_on, pattern, additional_criteria) | ^ limit.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | next_message(iindex, skipdel) | ^ limit.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | prev_message(iindex, skipdel) | ^ limit.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 | compute_visible(message) | ^ limit.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | visible_to_index(message) | ^ 66 warnings generated. cc -I../hdrs -O2 -pipe -c mailmsg1.c In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from mailmsg1.c:17: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ mailmsg1.c:23:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | void zero_mailing_headers (hdrs) | ^ mailmsg1.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | void free_mailing_headers (hdrs) | ^ mailmsg1.c:83:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | static void output_abbreviated_to (addrs) | ^ mailmsg1.c:110:22: warning: passing arguments to 'tail_of_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | tail_of_string(newaddress, 60)); | ^ mailmsg1.c:118:18: warning: passing arguments to 'tail_of_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | tail_of_string(newaddress, 40)); | ^ mailmsg1.c:136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | void display_to(address) | ^ mailmsg1.c:161:22: warning: passing arguments to 'tail_of_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | tail_of_string(addr_string, 75)); | ^ mailmsg1.c:169:18: warning: passing arguments to 'tail_of_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | tail_of_string(addr_string, 40)); | ^ mailmsg1.c:185:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | int get_to(to) | ^ mailmsg1.c:261:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | static int send_msg_middle(current_header, | ^ mailmsg1.c:299:21: warning: address of 'headers.cc.surface_len' will always evaluate to 'true' [-Wpointer-bool-conversion] 299 | if (&headers.cc.surface_len) | ~~ ~~~~~~~~~~~^~~~~~~~~~~ mailmsg1.c:303:27: warning: address of 'headers.reply_to.surface_len' will always evaluate to 'true' [-Wpointer-bool-conversion] 303 | if (&headers.reply_to.surface_len) | ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mailmsg1.c:307:22: warning: address of 'headers.bcc.surface_len' will always evaluate to 'true' [-Wpointer-bool-conversion] 307 | if (&headers.bcc.surface_len) | ~~ ~~~~~~~~~~~~^~~~~~~~~~~ mailmsg1.c:367:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | int send_msg_l(current_header, | ^ mailmsg1.c:390:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | int send_msg_argv(argv, given_subject, options, form) | ^ mailmsg1.c:412:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | static int get_subject(subject_field, size) | ^ mailmsg1.c:477:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | static int get_copies(cc,copy_message) | ^ mailmsg1.c:545:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | static int copy_the_msg(headers,is_a_response, options) | ^ mailmsg1.c:579:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | int a_sendmsg(edit_message, form_letter) | ^ 73 warnings generated. cc -I../hdrs -O2 -pipe -c mailmsg2.c In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from mailmsg2.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ mailmsg2.c:28: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] 28 | char *error_description(), *strip_parens(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ mailmsg2.c:28:29: warning: a function 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] 28 | char *error_description(), *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ mailmsg2.c:30: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] 30 | long ftell(); | ^ /usr/include/stdio.h:150:7: note: conflicting prototype is here 150 | long ftell(FILE *); | ^ mailmsg2.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | int mail_backend(real_reply,headers,dsn,func,encoding_top,title,resend) | ^ mailmsg2.c:224:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | int mail(current_header,options,form, headers) | ^ mailmsg2.c:248:25: warning: a function 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] 248 | char *whole_msg_file, *tempnam(); | ^ /usr/include/stdio.h:260:7: note: conflicting prototype is here 260 | char *tempnam(const char *, const char *); | ^ mailmsg2.c:306:17: warning: call to undeclared function 'recall_last_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | retransmit = recall_last_msg(cur_editfile, copy_msg, &cancelled_msg, | ^ mailmsg2.c:326:9: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | (void) elm_chown(cur_editfile, userid, groupid); | ^ mailmsg2.c:330:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 330 | while (line_len = fread(very_long_buffer, 1, sizeof(very_long_buffer), stdin)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailmsg2.c:330:20: note: place parentheses around the assignment to silence this warning 330 | while (line_len = fread(very_long_buffer, 1, sizeof(very_long_buffer), stdin)) | ^ | ( ) mailmsg2.c:330:20: note: use '==' to turn this assignment into an equality comparison 330 | while (line_len = fread(very_long_buffer, 1, sizeof(very_long_buffer), stdin)) | ^ | == mailmsg2.c:360:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 360 | printf(catgets(elm_msg_cat, ElmSet, ElmCouldNotFindForm, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 361 | "Couldn't find forms file!")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailmsg2.c:360:15: note: treat the string as an argument to avoid this 360 | printf(catgets(elm_msg_cat, ElmSet, ElmCouldNotFindForm, | ^ | "%s", mailmsg2.c:875:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 875 | printf(catgets(elm_msg_cat, ElmSet, ElmCouldNotMakeTemp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 876 | "Sorry - couldn't make temp file name!")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailmsg2.c:875:13: note: treat the string as an argument to avoid this 875 | printf(catgets(elm_msg_cat, ElmSet, ElmCouldNotMakeTemp, | ^ | "%s", mailmsg2.c:952:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | static void mail_sent (fd,title,rs,ret,exit_code) | ^ mailmsg2.c:986:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | int mail_form(current_header, address, subj) | ^ mailmsg2.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | recall_last_msg(filename, copy_msg, cancelled_msg, already_has_text) | ^ mailmsg2.c:1065:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | void dsn_menu(dsn) | ^ mailmsg2.c:1099:3: warning: call to undeclared function 'generic_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1099 | generic_menu(dsn_items,sizeof dsn_items / sizeof (struct menu_item), | ^ mailmsg2.c:1125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | verify_transmission(filename, form_p, need_redraw_p, | ^ mailmsg2.c:1485:10: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1485 | if (subshell() != 0) { | ^ mailmsg2.c:1519:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | FILE * write_header_info(filename, headers, | ^ mailmsg2.c:1557:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1557 | save_file_stats(filename); | ^ mailmsg2.c:1578:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1578 | restore_file_stats(filename); | ^ mailmsg2.c:1800:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | void copy_message_across(source, dest, copy, mime_info) | ^ mailmsg2.c:1821:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1821 | while (line_len = mail_gets(buffer, SLEN-1, source)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailmsg2.c:1821:18: note: place parentheses around the assignment to silence this warning 1821 | while (line_len = mail_gets(buffer, SLEN-1, source)) { | ^ | ( ) mailmsg2.c:1821:18: note: use '==' to turn this assignment into an equality comparison 1821 | while (line_len = mail_gets(buffer, SLEN-1, source)) { | ^ | == mailmsg2.c:1875:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1875 | printf(catgets(elm_msg_cat, ElmSet, ElmNoEncryptInBatch, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1876 | "Sorry. Cannot send encrypted mail in \"batch mode\".\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailmsg2.c:1875:15: note: treat the string as an argument to avoid this 1875 | printf(catgets(elm_msg_cat, ElmSet, ElmNoEncryptInBatch, | ^ | "%s", mailmsg2.c:1972:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1972 | fprintf(dest, "%d", mime_info->cl_end - mime_info->cl_start); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld mailmsg2.c:1985:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1985 | static int append_sig(file, headers) | ^ mailmsg2.c:2069:13: warning: call to undeclared function 'append'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2069 | (void) append(file, filename2, (sig_dashes ? "\n-- \n" : NULL)); | ^ mailmsg2.c:2077:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | int check_8bit_str (str) | ^ 82 warnings generated. cc -I../hdrs -O2 -pipe -c menu.c In file included from menu.c:36: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from menu.c:36: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ menu.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 | MenuInit (m, t, p, h) | ^ menu.c:78:22: warning: passing arguments to 'DestroyDynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | DestroyDynamicArray(m->data); | ^ menu.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 | MenuDestroy (m) | ^ menu.c:88:37: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | m->data = (char **) DynamicArray(m->data, sizeof(char*), | ^ menu.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | MenuAdd (m, s) | ^ menu.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 | MenuPrintLine (s, voffset, isCurrent) | ^ menu.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 | MenuLoop (m) | ^ 61 warnings generated. cc -I../hdrs -O2 -pipe -c menu2.c In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from menu2.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ menu2.c:21:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | static int do_item (it) | ^ menu2.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | generic_menu (items, max, title, prompt) | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c metapager.c In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from metapager.c:12: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ metapager.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | metapager (fp, hdr, do_headers) | ^ | int metapager.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] metapager.c:64:27: warning: call to undeclared function 'mime_needs_processing'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | (decoder != copy_mime || mime_needs_processing (&hdr->mime_rec)) | ^ metapager.c:179:34: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | text = (char **) DynamicArray (text, sizeof (char *), &text_len, 5); | ^ metapager.c:189:47: warning: call to undeclared function 'matches_weedlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | if ((len = strlen(hdr->subject)) > 0 && matches_weedlist("subject:")) { | ^ metapager.c:262:6: warning: call to undeclared function 'matches_weedlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | if (matches_weedlist (buf)) { | ^ metapager.c:311:36: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | text = (char **) DynamicArray (text, sizeof (char *), &text_len, 5); | ^ metapager.c:325:37: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | text = (char **) DynamicArray (text, sizeof (char *), &text_len, 5); | ^ metapager.c:353:25: warning: passing arguments to 'DestroyDynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | DestroyDynamicArray (text); | ^ metapager.c:197:24: warning: unsequenced modification and access to 'text_idx' [-Wunsequenced] 197 | text[text_idx++] = strmcpy(text[text_idx], buf); | ^ ~~~~~~~~ 64 warnings generated. cc -I../hdrs -O2 -pipe -c mime.c In file included from mime.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from mime.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ mime.c:22:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | int check_for_multipart(filedesc, mime_info) | ^ mime.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Include_Part(dest, buffer, check, mime_info, copy) | ^ mime.c:137:10: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | (void) expand_env(Expanded_Filename, Include_Filename, | ^ mime.c:328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | int needs_encoding (fp) | ^ mime.c:376: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] 376 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ 59 warnings generated. cc -I../hdrs -O2 -pipe -c mime_encode.c In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from mime_encode.c:13: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ mime_encode.c:35:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | int update_encoding(top_encoding,encoding) | ^ mime_encode.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | print_EOLN(fp,top_encoding) | ^ mime_encode.c:70:37: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | char * mime_generate_boundary (str, size) | ^ 71 | char *str; 72 | { mime_encode.c:70:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | char * mime_generate_boundary (str, size) | ^ mime_encode.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void add_parameter_t (t,name,value,quoted) | ^ mime_encode.c:101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | void add_parameter(opts,name,value,size,quoted) | ^ mime_encode.c:140:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | static char * std_str(str) | ^ mime_encode.c:147:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | static int rfc1522_encode_word(buf,size,source, hibit) | ^ mime_encode.c:269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | void rfc1522_encode_text(buf,size,source,flag) | ^ mime_encode.c:464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | void attach_generate_message (gopher, fpout, copy, mime_info) | ^ mime_encode.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | base64_encode (srcfp, fpout, istext, mime_info) | ^ mime_encode.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | line_quoted_printable_encode (input,fpout,copy,len,istext,mime_info) | ^ mime_encode.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | quoted_printable_encode (srcfp, fpout, copy, istext, mime_info) | ^ mime_encode.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | is_text_type (primary_type, subtype, enc) | ^ mime_encode.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | write_encoded (srcfp, fpout, encoding, copy, is_text, mime_info) | ^ mime_encode.c:941:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | void mime_write_header(fp, ptr, top) | ^ 70 warnings generated. cc -I../hdrs -O2 -pipe -c mkhdrs.c In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from mkhdrs.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ mkhdrs.c:24: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] 24 | char *elm_date_str(); | ^ ../hdrs/me.h:408:15: note: conflicting prototype is here 408 | extern char * elm_date_str P_((char *buf, time_t seconds, int size)); | ^ mkhdrs.c:29:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | void generate_reply_to(current_header,headers) | ^ mkhdrs.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void add_mailheaders(filedesc) | ^ mkhdrs.c:125:15: warning: call to undeclared function 'occurances_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | else if (occurances_of(BACKQUOTE, buffer) >= 2) | ^ mkhdrs.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | static void expand_backquote(buffer, filedesc) | ^ mkhdrs.c:178:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 178 | fprintf(filedesc, prefix); | ^~~~~~ mkhdrs.c:178:22: note: treat the string as an argument to avoid this 178 | fprintf(filedesc, prefix); | ^ | "%s", 60 warnings generated. cc -I../hdrs -O2 -pipe -c newmbox.c In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from newmbox.c:16: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ newmbox.c:25: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] 25 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ newmbox.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 | long bytes(); | ^ ../hdrs/me.h:246:13: note: conflicting prototype is here 246 | extern long bytes P_((char *)); | ^ newmbox.c:40:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | static void open_temphandle(new_folder,temp_handle) | ^ newmbox.c:65:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | static void truncate_tempfolder(folder) | ^ newmbox.c:107:7: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | elm_chown(folder->cur_tempfolder, userid, groupid); | ^ newmbox.c:113:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | void close_folder(folder) | ^ newmbox.c:159:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | static void leave_old_folder(folder) | ^ newmbox.c:184:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | struct folder_info *enter_new_folder(new_file) | ^ newmbox.c:210:35: warning: call to undeclared function 'get_folder_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | if((new_folder -> folder_type = get_folder_type(new_file)) == SPOOL) { | ^ newmbox.c:229:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | static void session_lock_folder(folder) | ^ newmbox.c:282:5: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | elm_chown(folder->cur_tempfolder, userid, groupid); | ^ newmbox.c:318:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | int reopen_folder_lock_sessionlock(folder) | ^ newmbox.c:365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | int open_folder_lock(direction,folder) | ^ newmbox.c:405:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | int newmbox(new_file, adds_only) | ^ newmbox.c:539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | int get_folder_type(filename) | ^ newmbox.c:600:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | int same_file(name1,name2) | ^ newmbox.c:637:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | static int is_in_spool(mbox) | ^ newmbox.c:682:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | static void mk_temp_mail_fn(tempfn, mbox, tempfn_size) | ^ newmbox.c:739:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | void header_clear(h) | ^ newmbox.c:768:3: warning: call to undeclared function 'mime_t_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 768 | mime_t_clear (&(h->mime_rec)); | ^ newmbox.c:775:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | void header_zero(h) | ^ newmbox.c:805:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | PUBLIC int is_pre_mime_content_type (ptr,content_type) | ^ newmbox.c:851:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | static int read_headers(add_new_only) | ^ newmbox.c:911:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 911 | printf(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekTempEnd, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 912 | "\nCouldn't fseek to end of temp mbox.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmbox.c:911:15: note: treat the string as an argument to avoid this 911 | printf(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekTempEnd, | ^ | "%s", newmbox.c:1037:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1037 | printf(catgets(elm_msg_cat, ElmSet, ElmFolderCorrupt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1038 | "\nFolder is corrupt!! I can't read it!!\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmbox.c:1037:15: note: treat the string as an argument to avoid this 1037 | printf(catgets(elm_msg_cat, ElmSet, ElmFolderCorrupt, | ^ | "%s", newmbox.c:1108:12: warning: call to undeclared function 'real_from'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1108 | if (real_from(buffer, headers[count])) { | ^ newmbox.c:1231:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1231 | printf(catgets(elm_msg_cat, ElmSet, ElmFolderCorrupt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1232 | "\nFolder is corrupt!! I can't read it!!\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmbox.c:1231:15: note: treat the string as an argument to avoid this 1231 | printf(catgets(elm_msg_cat, ElmSet, ElmFolderCorrupt, | ^ | "%s", newmbox.c:1402:25: warning: call to undeclared function 'mime_notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1402 | if (mime_notplain(¤t_header->mime_rec)) | ^ newmbox.c:1580:12: warning: call to undeclared function 'mime_notplain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1580 | if (mime_notplain(¤t_header->mime_rec)) | ^ newmbox.c:1837:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1837 | printf(catgets(elm_msg_cat, ElmSet, ElmLengthNESpool, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1838 | "\nnewmbox - length of mbox. != spool mailbox length!!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmbox.c:1837:13: note: treat the string as an argument to avoid this 1837 | printf(catgets(elm_msg_cat, ElmSet, ElmLengthNESpool, | ^ | "%s", newmbox.c:1896:9: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1896 | get_page(current); | ^ 85 warnings generated. cc -I../hdrs -O2 -pipe -c options.c In file included from options.c:60: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from options.c:60: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ options.c:83:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | static int post_cal(f) | ^ options.c:86:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | (void) expand_env(calendar_file, raw_calendar_file, sizeof(calendar_file)); | ^ options.c:91:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | static int post_editor(f) | ^ options.c:94:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | (void) expand_env(editor, raw_editor, sizeof(editor)); | ^ options.c:99:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | static int post_pager(f) | ^ options.c:102:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | (void) expand_env(pager, raw_pager, sizeof(pager)); | ^ options.c:108:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | static int post_folder(f) | ^ options.c:111:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | (void) expand_env(folders, raw_folders, sizeof(folders)); | ^ options.c:116:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | static int post_sort(f) | ^ options.c:125:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | static int post_sent(f) | ^ options.c:130:10: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | (void) expand_env(sent_mail, raw_sentmail, sizeof(sent_mail)); | ^ options.c:144:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | static int post_print(f) | ^ options.c:147:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | (void) expand_env(printout, raw_printout, sizeof(printout)); | ^ options.c:152:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | static int post_menu(f) | ^ options.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | find_cfg_opts(c) | ^ options.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | one_liner_for(c) | ^ options.c:306:21: warning: passing arguments to 'str_opt_nam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | str_opt_nam(o->parm, FULL)); | ^ options.c:341:7: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | display_helpfile(OPTIONS_HELP); | ^ options.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | level_name(n) | ^ options.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 subsequent definition [-Wdeprecated-non-prototype] 76 | char *level_name(); | ^ options.c:461:9: warning: call to undeclared function 'info_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | y = info_enter(o->parm, y, 23, FALSE, FALSE); | ^ options.c:463:18: 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] 463 | (o->post)(y); | ^ options.c:490:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | static void on_or_off(var, x, y) | ^ options.c:515:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | static void switch_user_level(ulevel, x, y) | ^ options.c:534:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 534 | change_sort(var, x, y) | ^ | int options.c:568:31: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | PutLine0(x, y, sort_name(PAD)); | ^ options.c:574:31: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | PutLine0(x, y, sort_name(PAD)); | ^ options.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | change_sort(var, x, y) | ^ options.c:595:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | static void one_liner(string) | ^ options.c:605:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | static void sort_one_liner(sorting_by) | ^ options.c:683:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 683 | change_alias_sort(var, x, y) | ^ | int options.c:718:37: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | PutLine0(x, y, alias_sort_name(PAD)); | ^ options.c:724:37: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | PutLine0(x, y, alias_sort_name(PAD)); | ^ options.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | change_alias_sort(var, x, y) | ^ options.c:747:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | static void alias_sort_one_liner(sorting_by) | ^ options.c:790:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 790 | info_enter(name, ypos, xpos, append_current, passwd) | ^ | int options.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 warnings generated. cc -I../hdrs -O2 -pipe -c out_utils.c In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from out_utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ out_utils.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void set_error(s) | ^ out_utils.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | static void error_help (s) | ^ out_utils.c:60:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | int error(s) | ^ out_utils.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | void lower_prompt(s) | ^ out_utils.c:112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | void prompt(s) | ^ out_utils.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void set_central_message(string, arg) | ^ 60 warnings generated. cc -I../hdrs -O2 -pipe -c pattern.c In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from pattern.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ pattern.c:30: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] 30 | char *error_description(), *shift_lower(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ pattern.c:30:29: warning: a function 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 | char *error_description(), *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ pattern.c:147:10: warning: call to undeclared function 'name_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | if (name_matches(i, meta_pattern) || | ^ pattern.c:148:10: warning: call to undeclared function 'alias_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | alias_matches(i, meta_pattern)) { | ^ pattern.c:168:21: warning: call to undeclared function 'DoAll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | count = DoAll(function); | ^ pattern.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | meta_match(function) | ^ pattern.c:262:16: warning: call to undeclared function 'name_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | matched = name_matches(i, pattern) || alias_matches(i, pattern); | ^ pattern.c:262:44: warning: call to undeclared function 'alias_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | matched = name_matches(i, pattern) || alias_matches(i, pattern); | ^ pattern.c:264:18: warning: call to undeclared function 'comment_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | matched = comment_matches(i, pattern) || | ^ pattern.c:265:4: warning: call to undeclared function 'address_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | address_matches(i, pattern); | ^ pattern.c:294:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | int from_matches(message_number, pat) | ^ pattern.c:316:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | int to_matches(message_number, pat) | ^ pattern.c:337:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | int cc_matches(message_number, pat) | ^ pattern.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | int subject_matches(message_number, pat) | ^ pattern.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | name_matches(message_number, pat) | ^ pattern.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 | alias_matches(message_number, pat) | ^ pattern.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | comment_matches(message_number, pat) | ^ pattern.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | address_matches(message_number, pat) | ^ pattern.c:436:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | int match_in_message(pat) | ^ pattern.c:498:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 498 | DoAll(func) | ^ | int pattern.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 warnings generated. cc -I../hdrs -O2 -pipe -c pgp.c In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from pgp.c:11: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ pgp.c:32:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | static char * PGPSelectKey (n, k, len) | ^ pgp.c:45:5: warning: call to undeclared function 'MenuInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | MenuInit (&menu, buf, catgets(elm_msg_cat, ElmSet, ElmPgpSelectKey, | ^ pgp.c:50:2: warning: call to undeclared function 'MenuAdd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | MenuAdd(&menu, k[i]); | ^ pgp.c:53:10: warning: call to undeclared function 'MenuLoop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | switch (MenuLoop(&menu)) { | ^ pgp.c:55:6: warning: call to undeclared function 'MenuDestroy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | MenuDestroy(&menu); | ^ pgp.c:69:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | static int GetPGPKey (name, target, targetsize, v) | ^ pgp.c:138:13: warning: enumeration values 'pgp_none' and 'PGP_NUM' not handled in switch [-Wswitch] 138 | switch(v) { | ^ pgp.c:193:31: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | keys = (char**)DynamicArray(keys, sizeof(char*), | ^ pgp.c:200:14: warning: enumeration values 'pgp_none', 'pgp5', and 'PGP_NUM' not handled in switch [-Wswitch] 200 | switch(v) { | ^ pgp.c:215:31: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | keys = (char**)DynamicArray(keys, sizeof(char*), | ^ pgp.c:176:13: warning: enumeration values 'pgp_none' and 'PGP_NUM' not handled in switch [-Wswitch] 176 | switch(v) { | ^ pgp.c:265:24: warning: passing arguments to 'DestroyDynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | DestroyDynamicArray(keys); | ^ pgp.c:279:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | static int pgp_call (filename, opts, headers, v) | ^ pgp.c:360:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | static void close_it(rs) | ^ pgp.c:369:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | static int pgp_encrypt (filename, ids, sig, opts, metoo, v) | ^ pgp.c:412:7: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | CleartoEOS (); | ^ pgp.c:452:34: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | id_array = (char**)DynamicArray(id_array, sizeof(char*), &id_max, 25); | ^ pgp.c:466:33: warning: passing arguments to 'DynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | id_array = (char**)DynamicArray(id_array, sizeof(char*), &id_max, 1); | ^ pgp.c:481:12: warning: enumeration values 'pgp_none', 'gpg', and 'PGP_NUM' not handled in switch [-Wswitch] 481 | switch(v) { | ^ pgp.c:505:12: warning: enumeration values 'pgp_none' and 'PGP_NUM' not handled in switch [-Wswitch] 505 | switch(v) { | ^ pgp.c:671:21: warning: passing arguments to 'DestroyDynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | DestroyDynamicArray(id_array); /* don't need this any more... */ | ^ pgp.c:678:24: warning: passing arguments to 'DestroyDynamicArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | DestroyDynamicArray(id_array); /* don't need this any more... */ | ^ pgp.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | pgp_menu (filename, headers) | ^ pgp.c:747:6: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | CleartoEOS (); | ^ pgp.c:816:5: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 816 | CleartoEOS (); | ^ pgp.c:839:12: warning: enumeration values 'pgp_none' and 'PGP_NUM' not handled in switch [-Wswitch] 839 | switch(version) { | ^~~~~~~ pgp.c:969:12: warning: enumeration values 'pgp_none' and 'PGP_NUM' not handled in switch [-Wswitch] 969 | switch(version) { | ^~~~~~~ 81 warnings generated. cc -I../hdrs -O2 -pipe -c quit.c In file included from quit.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from quit.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ quit.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 | long bytes(); | ^ ../hdrs/me.h:246:13: note: conflicting prototype is here 246 | extern long bytes P_((char *)); | ^ quit.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 *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ quit.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 28 | extern void init_helpmsg(); | ^ ../hdrs/me.h:150:6: note: conflicting prototype is here 150 | void init_helpmsg P_(( char *, char *, int, int )); | ^ quit.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | void quit(prompt) | ^ quit.c:120:5: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | newmbox(current_folder->cur_folder, FALSE); | ^ quit.c:127:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | change_file() | ^ | int quit.c:146:4: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | CleartoEOS(); | ^ quit.c:186:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 186 | printf( helpmsg ) ; | ^~~~~~~ quit.c:186:16: note: treat the string as an argument to avoid this 186 | printf( helpmsg ) ; | ^ | "%s", quit.c:198:11: warning: call to undeclared function 'has_wildcards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | if ( has_wildcards( newfile ) ) { | ^ quit.c:281:4: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | newmbox(newfile, FALSE); | ^ 64 warnings generated. cc -I../hdrs -O2 -pipe -c read_rc.c In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from read_rc.c:90: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ read_rc.c:99:8: warning: a function 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] 99 | char *error_description(), *shift_lower(), *mode_to_str(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ read_rc.c:99:30: warning: a function 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] 99 | char *error_description(), *shift_lower(), *mode_to_str(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ read_rc.c:116:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 116 | printf(catgets(elm_msg_cat, ElmSet, ElmBatchDirNotice, "\nNotice:\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | \nThis version of ELM requires the use of a .elm directory to store your\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | \nelmrc and alias files. I'd like to create the directory .elm for you\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | \nand set it up, but I can't in \"batch mode\".\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | \nPlease run ELM in \"normal mode\" first.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:116:14: note: treat the string as an argument to avoid this 116 | printf(catgets(elm_msg_cat, ElmSet, ElmBatchDirNotice, "\nNotice:\ | ^ | "%s", read_rc.c:146:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 146 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeNo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | "No.\n\rVery well. I won't create it.\n\rBut, you may run into difficulties later.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:146:13: note: treat the string as an argument to avoid this 146 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeNo, | ^ | "%s", read_rc.c:152:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 152 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeYes, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | "Yes.\n\rGreat! I'll do it now.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:152:13: note: treat the string as an argument to avoid this 152 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeYes, | ^ | "%s", read_rc.c:157:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 157 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeQuit, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 158 | "Quit.\n\rOK. Bailing out of ELM.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:157:13: note: treat the string as an argument to avoid this 157 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeQuit, | ^ | "%s", read_rc.c:198:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 198 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeNo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | "No.\n\rVery well. I won't create it.\n\rBut, you may run into difficulties later.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:198:14: note: treat the string as an argument to avoid this 198 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeNo, | ^ | "%s", read_rc.c:204:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 204 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeYes, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | "Yes.\n\rGreat! I'll do it now.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:204:14: note: treat the string as an argument to avoid this 204 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeYes, | ^ | "%s", read_rc.c:209:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 209 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeQuit, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | "Quit.\n\rOK. Bailing out of ELM.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:209:14: note: treat the string as an argument to avoid this 209 | printf(catgets(elm_msg_cat, ElmSet, ElmDirNoticeQuit, | ^ | "%s", read_rc.c:228:24: warning: passing arguments to 'find_cfg_opts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | o = find_cfg_opts(*s); | ^ read_rc.c:289:19: warning: passing arguments to 'mode_to_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | s = mode_to_str(*SAVE_INFO_NUM(i)); | ^ read_rc.c:297:17: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | s = sort_name(SHORT); | ^ read_rc.c:301:23: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | s = alias_sort_name(SHORT); | ^ 67 warnings generated. cc -I../hdrs -O2 -pipe -c remail.c In file included from remail.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from remail.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ remail.c:28: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] 28 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ remail.c:29: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] 29 | extern void display_to(); | ^ ../hdrs/me.h:263:13: note: conflicting prototype is here 263 | extern void display_to P_((struct expanded_address address)); | ^ remail.c:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern char *tempnam(); | ^ /usr/include/stdio.h:260:7: note: conflicting prototype is here 260 | char *tempnam(const char *, const char *); | ^ remail.c:86:10: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | (void) elm_chown(filename, userid, groupid); | ^ remail.c:149:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | static void remail_sent (fd,title,rs,ret,exit_code) | ^ 59 warnings generated. cc -I../hdrs -O2 -pipe -c reply.c In file included from reply.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from reply.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ reply.c:29: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] 29 | char *strip_parens(), *get_token(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ reply.c:33: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] 33 | char *error_description(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ reply.c:39:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | static void get_reply_subj(out_subj,in_subj,dflt_subj, size) | ^ reply.c:62:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | static int optimize_and_add(new_address, full_address) | ^ reply.c:124:27: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | static struct addr_item * handle_reply_to(current_header) | ^ reply.c:231:27: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | static struct addr_item * get_and_expand_everyone(current_header, | ^ reply.c:254:13: warning: enumeration value 'h_done' not handled in switch [-Wswitch] 254 | switch (count) { | ^~~~~ reply.c:425:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | int get_return_name(address, name, trans_to_lowercase, size) | ^ reply.c:552:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 552 | while (c = strstr (&single_address[first], "::")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c:552:15: note: place parentheses around the assignment to silence this warning 552 | while (c = strstr (&single_address[first], "::")) { | ^ | ( ) reply.c:552:15: note: use '==' to turn this assignment into an equality comparison 552 | while (c = strstr (&single_address[first], "::")) { | ^ | == 63 warnings generated. cc -I../hdrs -O2 -pipe -c save_opts.c In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from save_opts.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ save_opts.c:34: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] 34 | char *error_description(), *sort_name(), *alias_sort_name(), *level_name(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ save_opts.c:36: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] 36 | long ftell(); | ^ /usr/include/stdio.h:150:7: note: conflicting prototype is here 150 | long ftell(FILE *); | ^ save_opts.c:74:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | save_file_stats(newfname); | ^ save_opts.c:80:11: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | (void) elm_chown(oldfname, userid, groupid); | ^ save_opts.c:101:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | restore_file_stats(newfname); | ^ save_opts.c:107:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | static char *str_opt(x, f) | ^ save_opts.c:127:17: warning: passing arguments to 'mode_to_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | s = mode_to_str(*SAVE_INFO_NUM(x)); | ^ save_opts.c:146:19: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | s = sort_name(SHORT); | ^ save_opts.c:157:25: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | s = alias_sort_name(SHORT); | ^ save_opts.c:186:17: warning: passing arguments to 'level_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | s = level_name(*SAVE_INFO_NUM(x)); | ^ save_opts.c:210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | find_opt(s) | ^ | int save_opts.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] save_opts.c:226:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | char *str_opt_nam(s, f) | ^ save_opts.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | void save_user_options(elminfo_fd, newelmrc) | ^ save_opts.c:253:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 253 | fprintf(newelmrc, catgets(elm_msg_cat, ElmrcSet, ElmrcOptionsFile, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 254 | "#\n# .elm/elmrc - options file for the ELM mail system\n#\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save_opts.c:253:20: note: treat the string as an argument to avoid this 253 | fprintf(newelmrc, catgets(elm_msg_cat, ElmrcSet, ElmrcOptionsFile, | ^ | "%s", save_opts.c:416:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | static void add_comment(iindex, fd) | ^ save_opts.c:443:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | static void build_offset_table(elminfo_fd) | ^ save_opts.c:458:13: warning: call to undeclared function 'find_and_store_loc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | if (find_and_store_loc(line_buffer, ftell(elminfo_fd))) { | ^ save_opts.c:466:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 466 | find_and_store_loc(name, offset) | ^ | int save_opts.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 warnings generated. cc -I../hdrs -O2 -pipe -c savecopy.c In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from savecopy.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ savecopy.c:26:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 26 | char *format_long(), *error_description(), *ctime(); | ^ ../hdrs/me.h:318:14: note: conflicting prototype is here 318 | extern char *error_description P_((int)); | ^ savecopy.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int save_copy(headers, filename, copy_file, form, mime_info) | ^ savecopy.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | cf_english(fn) | ^ savecopy.c:245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | int name_copy_file(fn, size) | ^ savecopy.c:268:5: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | CleartoEOS(); | ^ savecopy.c:336:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | int append_copy_to_file(headers, fname_copy, fname_mssg, form, mime_info) | ^ savecopy.c:345:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 345 | extern FILE *write_header_info(); | ^ ../hdrs/me.h:336:16: note: conflicting prototype is here 336 | extern FILE * write_header_info P_((char *filename, | ^ savecopy.c:363:5: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | save_file_stats(fname_copy); | ^ savecopy.c:370:5: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | restore_file_stats(fname_copy); | ^ 63 warnings generated. cc -I../hdrs -O2 -pipe -c screen.c In file included from screen.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from screen.c:18: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ screen.c:36:2: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | show_headers(); | ^ screen.c:69:33: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | strfcpy(folder_string, nameof(current_folder->cur_folder), | ^ screen.c:145:6: warning: call to undeclared function 'fix_header_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | if (fix_header_page()) | ^ screen.c:152:15: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | this_msg = visible_to_index(header_page * headers_per_page + 1); | ^ screen.c:212:22: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | if ((this_msg = next_message(this_msg, FALSE)) < 0) | ^ screen.c:253:9: warning: call to undeclared function 'fix_header_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | (void) fix_header_page(); /* Who cares what it does? ;-) */ | ^ screen.c:272:18: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | last_line = ((compute_visible(last_current)-1) % | ^ screen.c:297:11: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | && compute_visible(last_current) <= last | ^ screen.c:329:8: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | if (on_page(last_current-1)) | ^ screen.c:338:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | static void build_header_line(buffer, entry, message_number, highlight, | ^ screen.c:397:19: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | show_status(entry->status,entry), | ^ screen.c:466:26: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | if (selected) message = compute_visible(message); | ^ screen.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 | on_page(message) | ^ screen.c:475:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | char *show_status(status,hdr) | ^ screen.c:24:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | char *nameof(), *show_status(); | ^ 69 warnings generated. cc -I../hdrs -O2 -pipe -c showmsg.c In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from showmsg.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ showmsg.c:28:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | static int need_meta (hdr) | ^ showmsg.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | show_msg(number) | ^ 56 warnings generated. cc -I../hdrs -O2 -pipe -c showmsg_c.c In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from showmsg_c.c:50: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ showmsg_c.c:81:21: warning: call to undeclared function 'help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | case '?' : if (help(TRUE)) { | ^ showmsg_c.c:88:17: warning: call to undeclared function 'do_pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | (void) do_pipe(); /* do pipe - ignore return val */ | ^ showmsg_c.c:96:17: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | (void) subshell(); | ^ showmsg_c.c:106:10: warning: call to undeclared function 'scan_calendar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | scan_calendar(); | ^ showmsg_c.c:143:13: warning: call to undeclared function 'forward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | if(forward()) put_border(); | ^ showmsg_c.c:148:17: warning: call to undeclared function 'reply_to_everyone'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | (void) reply_to_everyone(); | ^ showmsg_c.c:154:21: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | intbuf = show_msg(current); | ^ showmsg_c.c:158:19: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | return(show_msg(current)); | ^ showmsg_c.c:161:24: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | case 'i' : (void) get_page(current); | ^ showmsg_c.c:172:16: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | if((i=next_message(current-1, TRUE)) != -1) | ^ showmsg_c.c:185:16: warning: call to undeclared function 'prev_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | if((i=prev_message(current-1, TRUE)) != -1) | ^ showmsg_c.c:209:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | if(reply()) put_border(); | ^ showmsg_c.c:215:17: warning: call to undeclared function 'save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | (void) save(&intbuf, TRUE, (command != 'C')); | ^ showmsg_c.c:221:26: warning: call to undeclared function 'tag_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | case 't' : istagged=tag_message(FALSE); | ^ showmsg_c.c:274:10: warning: call to undeclared function 'exit_prog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | exit_prog(); | ^ showmsg_c.c:293:6: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | CleartoEOS(); | ^ showmsg_c.c:300:6: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | CleartoEOS(); | ^ showmsg_c.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | process_showmsg_cmd(command) | ^ showmsg_c.c:313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | void put_cmd_name(command, will_mangle) | ^ showmsg_c.c:328:4: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | CleartoEOS(); | ^ showmsg_c.c:341:3: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | CleartoEOS(); | ^ 75 warnings generated. cc -I../hdrs -O2 -pipe -c signals.c In file included from signals.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from signals.c:21: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ signals.c:28:13: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | quit_signal(sig) | ^ 29 | { signals.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | quit_signal(sig) | ^ signals.c:35:12: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | hup_signal(sig) | ^ 36 | { signals.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | hup_signal(sig) | ^ signals.c:42:13: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | term_signal(sig) | ^ 43 | { signals.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | term_signal(sig) | ^ signals.c:49:12: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | ill_signal(sig) | ^ 50 | { signals.c:54:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 54 | printf(catgets(elm_msg_cat, ElmSet, ElmIllegalInstructionSignal, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | "\n\nIllegal Instruction signal!\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:54:9: note: treat the string as an argument to avoid this 54 | printf(catgets(elm_msg_cat, ElmSet, ElmIllegalInstructionSignal, | ^ | "%s", signals.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | ill_signal(sig) | ^ signals.c:60:12: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | fpe_signal(sig) | ^ 61 | { signals.c:65:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 65 | printf(catgets(elm_msg_cat, ElmSet, ElmFloatingPointSignal, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | "\n\nFloating Point Exception signal!\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:65:9: note: treat the string as an argument to avoid this 65 | printf(catgets(elm_msg_cat, ElmSet, ElmFloatingPointSignal, | ^ | "%s", signals.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | fpe_signal(sig) | ^ signals.c:72:12: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | bus_signal(sig) | ^ 73 | { signals.c:77:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 77 | printf(catgets(elm_msg_cat, ElmSet, ElmBusErrorSignal, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | "\n\nBus Error signal!\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:77:9: note: treat the string as an argument to avoid this 77 | printf(catgets(elm_msg_cat, ElmSet, ElmBusErrorSignal, | ^ | "%s", signals.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | bus_signal(sig) | ^ signals.c:84:13: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | segv_signal(sig) | ^ 85 | { signals.c:89:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 89 | printf(catgets(elm_msg_cat, ElmSet, ElmSegmentViolationSignal, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | "\n\nSegment Violation signal!\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:89:9: note: treat the string as an argument to avoid this 89 | printf(catgets(elm_msg_cat, ElmSet, ElmSegmentViolationSignal, | ^ | "%s", signals.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 | segv_signal(sig) | ^ signals.c:95:14: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 95 | alarm_signal(sig) | ^ 96 | { signals.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | alarm_signal(sig) | ^ signals.c:110:13: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | pipe_signal(sig) | ^ 111 | { signals.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | pipe_signal(sig) | ^ signals.c:124:15: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 124 | sig_user_stop(sig) | ^ 125 | { signals.c:140:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 140 | printf(catgets(elm_msg_cat, ElmSet, ElmStoppedUseFGToReturn, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "\n\nStopped. Use \"fg\" to return to ELM\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:140:9: note: treat the string as an argument to avoid this 140 | printf(catgets(elm_msg_cat, ElmSet, ElmStoppedUseFGToReturn, | ^ | "%s", signals.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 | sig_user_stop(sig) | ^ signals.c:147:27: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 147 | sig_return_from_user_stop(sig) | ^ 148 | { signals.c:157:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 157 | printf(catgets(elm_msg_cat, ElmSet, ElmBackInElmRedraw, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 158 | "\nBack in ELM. (You might need to explicitly request a redraw.)\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c:157:9: note: treat the string as an argument to avoid this 157 | printf(catgets(elm_msg_cat, ElmSet, ElmBackInElmRedraw, | ^ | "%s", signals.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | sig_return_from_user_stop(sig) | ^ signals.c:176:14: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | winch_signal(sig) | ^ 177 | { signals.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | winch_signal(sig) | ^ signals.c:194:13: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | usr1_signal(sig) | ^ 195 | { signals.c:207:5: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | newmbox(current_folder->cur_folder, TRUE); | ^ signals.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | usr1_signal(sig) | ^ signals.c:214:13: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | usr2_signal(sig) | ^ 215 | { signals.c:226:5: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | newmbox(current_folder->cur_folder, TRUE); | ^ signals.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | usr2_signal(sig) | ^ 90 warnings generated. cc -I../hdrs -O2 -pipe -c sort.c In file included from sort.c:22: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from sort.c:22: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ sort.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | find_old_current(iindex) | ^ sort.c:76:16: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | sort_name(FULL)); | ^ sort.c:135:2: warning: call to undeclared function 'clear_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | clear_error(); | ^ sort.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | void sort_mailbox(entries, visible) | ^ sort.c:138:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | static int subject_compare(p1, p2) | ^ sort.c:147:30: warning: passing arguments to 'skip_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | strfcpy(from1, skip_re(shift_lower(first->subject)), | ^ sort.c:150:36: warning: passing arguments to 'skip_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | return strcmp(from1, skip_re(shift_lower(second->subject))); | ^ sort.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | compare_headers(p1, p2) | ^ sort.c:267:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | char *sort_name(type) | ^ sort.c:25: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] 25 | char *sort_name(), *skip_re(); | ^ sort.c:356:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | char *skip_re(string) | ^ sort.c:25:21: warning: a function declaration without a prototype is 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 | char *sort_name(), *skip_re(); | ^ 64 warnings generated. cc -I../hdrs -O2 -pipe -c string2.c In file included from string2.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from string2.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ string2.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | occurances_of(ch, string) | ^ string2.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | qoccurances_of(ch, string) | ^ string2.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void remove_possible_trailing_spaces(string) | ^ 55 warnings generated. cc -I../hdrs -O2 -pipe -c strings.c In file included from strings.c:23: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from strings.c:23: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ strings.c:29:21: warning: a function 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] 29 | *get_token(), *strip_parens(), *argv_zero(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ strings.c:31:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | void copy_sans_escape(dest, source, len) | ^ strings.c:88:26: warning: passing arguments to 'get_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | while ((word = get_token(bufptr,",", depth)) != NULL) { | ^ strings.c:63:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | char *format_long(inbuff, init_len) | ^ strings.c:28: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] 28 | char *format_long(), *strip_commas(), *tail_of_string(), | ^ strings.c:142:15: warning: call to undeclared function 'rfc822_toklen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | int len = rfc822_toklen(ptr); | ^ strings.c:156:15: warning: call to undeclared function 'rfc822_toklen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | int len = rfc822_toklen(ptr); | ^ strings.c:161:7: warning: call to undeclared function 'rfc822_reap_comments'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | rfc822_reap_comments(last,NULL,0); | ^ strings.c:183:5: warning: call to undeclared function 'rfc822_reap_comments'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | rfc822_reap_comments(last,NULL,0); | ^ strings.c:130:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | char **argv_from_to(to) | ^ strings.c:200:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | char *strip_commas(string) | ^ strings.c:28:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | char *format_long(), *strip_commas(), *tail_of_string(), | ^ strings.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void split_word(buffer, first, rest) | ^ strings.c:271:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | char *tail_of_string(string, maxchars) | ^ strings.c:28:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | char *format_long(), *strip_commas(), *tail_of_string(), | ^ strings.c:322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | void Centerline(line, string) | ^ strings.c:340:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | char *argv_zero(string) | ^ strings.c:29:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | *get_token(), *strip_parens(), *argv_zero(); | ^ strings.c:376:5: warning: call to undeclared function 'emergency_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | emergency_exit(0); | ^ strings.c:360:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | char *get_token(source, keys, depth) | ^ strings.c:29: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] 29 | *get_token(), *strip_parens(), *argv_zero(); | ^ 73 warnings generated. cc -I../hdrs -O2 -pipe -c syscall.c In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from syscall.c:20: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ syscall.c:54:2: warning: call to undeclared function 'CleartoEOS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | CleartoEOS(); | ^ syscall.c:85:2: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | umask(original_umask); /* restore original umask so users new files are ok */ | ^ syscall.c:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | int system_call(string, options) | ^ syscall.c:180:10: warning: call to undeclared function 'create_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | if (create_folder_state_file() != 0) | ^ syscall.c:244:35: warning: passing arguments to 'argv_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | if (string) execl(sh, argv_zero(sh), "-c", string, (char *) 0); | ^ syscall.c:245:28: warning: passing arguments to 'argv_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | else execl(sh, argv_zero(sh), (char *) 0); | ^ syscall.c:287:13: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | (void) remove_folder_state_file(); | ^ syscall.c:391:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | int print_msg(pause_on_scroll) | ^ syscall.c:455:6: warning: call to undeclared function 'create_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | if (create_folder_state_file() != 0) | ^ syscall.c:529:9: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 529 | (void) remove_folder_state_file(); | ^ syscall.c:537:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | void list_folders(numlines, helpmsg, wildcard) | ^ syscall.c:561:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 561 | printf(helpmsg); | ^~~~~~~ syscall.c:561:11: note: treat the string as an argument to avoid this 561 | printf(helpmsg); | ^ | "%s", syscall.c:565:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 565 | printf(catgets(elm_msg_cat, ElmSet, ElmContentsOfYourFolderDir, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 566 | "\n\rContents of your folder directory:\n\r\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ syscall.c:565:11: note: treat the string as an argument to avoid this 565 | printf(catgets(elm_msg_cat, ElmSet, ElmContentsOfYourFolderDir, | ^ | "%s", 67 warnings generated. cc -I../hdrs -O2 -pipe -c utils.c In file included from utils.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from utils.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ utils.c:33:9: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | (void) elm_chown(folders, userid, groupid); | ^ utils.c:45:9: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | (void) elm_chown( source, userid, groupid); | ^ utils.c:54:31: warning: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | void malloc_failed_exit(proc, len) | ^ 55 | { utils.c:54:25: warning: parameter 'proc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | void malloc_failed_exit(proc, len) | ^ 55 | { utils.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void malloc_failed_exit(proc, len) | ^ utils.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void emergency_exit(interrupt) | ^ utils.c:74:8: warning: a function 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] 74 | char *mk_lockname(); | ^ ../hdrs/elmlib.h:62:15: note: conflicting prototype is here 62 | extern char * mk_lockname P_((char *)); | ^ utils.c:122:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 122 | catgets(elm_msg_cat, ElmSet, ElmEmergencyExitTaken, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 | "\nEmergency exit taken! All temp files intact!\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:122:3: note: treat the string as an argument to avoid this 122 | catgets(elm_msg_cat, ElmSet, ElmEmergencyExitTaken, | ^ | "%s", utils.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void leave (interrupt) | ^ utils.c:275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | void leave_locked(val) | ^ utils.c:339:18: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | msg_pointer = compute_visible(msg_pointer); | ^ utils.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | get_page(msg_pointer) | ^ utils.c:356:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | char *nameof(filename) | ^ utils.c:394:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | int elm_chown(file, userid, groupid) | ^ 68 warnings generated. cc -I../hdrs -O2 -pipe -c wildcards.c In file included from wildcards.c:20: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from wildcards.c:20: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from wildcards.c:20: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from wildcards.c:20: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from wildcards.c:20: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from wildcards.c:20: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ wildcards.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | has_wildcards( name ) | ^ 41 warnings generated. cc -I../hdrs -O2 -pipe -c wordwrap.c In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:744: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 declaration [-Wdeprecated-non-prototype] 744 | FILE *open_end_update(); | ^ ../hdrs/me.h:157:14: note: conflicting prototype is here 157 | extern FILE *open_end_update P_((char *name)); | ^ In file included from wordwrap.c:19: In file included from ../hdrs/headers.h:23: ../hdrs/defs.h:723: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 declaration [-Wdeprecated-non-prototype] 723 | char *get_alias_address(); | ^ ../hdrs/me.h:291:14: note: conflicting prototype is here 291 | extern char *get_alias_address P_(( | ^ wordwrap.c:25:10: warning: a function 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 | unsigned alarm(); | ^ /usr/include/unistd.h:326:14: note: conflicting prototype is here 326 | unsigned int alarm(unsigned int); | ^ wordwrap.c:119:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | erase_tab(tabs[tindex]); | ^ wordwrap.c:33:27: note: expanded from macro 'erase_tab' 33 | #define erase_tab(nr) do Writechar(BACKSPACE); while (--(nr) > 0) | ^ wordwrap.c:120:15: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | } else erase_a_char(); | ^ wordwrap.c:29:27: note: expanded from macro 'erase_a_char' 29 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ wordwrap.c:128:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | Writechar('\007'); | ^ wordwrap.c:194:8: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | erase_a_char(); | ^ wordwrap.c:29:27: note: expanded from macro 'erase_a_char' 29 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ wordwrap.c:200:5: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | erase_tab(tabs[tindex]); | ^ wordwrap.c:33:27: note: expanded from macro 'erase_tab' 33 | #define erase_tab(nr) do Writechar(BACKSPACE); while (--(nr) > 0) | ^ wordwrap.c:201:10: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | } else erase_a_char(); | ^ wordwrap.c:29:27: note: expanded from macro 'erase_a_char' 29 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ wordwrap.c:207:10: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | erase_a_char(); | ^ wordwrap.c:29:27: note: expanded from macro 'erase_a_char' 29 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ wordwrap.c:245:6: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | Writechar('\007'); | ^ wordwrap.c:254:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | Writechar(BACKSPACE); | ^ wordwrap.c:264:3: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | Writechar(ch); | ^ wordwrap.c:37:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | int wrapped_enter(string, tail, x, y, edit_fd, append_current, | ^ wordwrap.c:278:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | static int line_wrap(string,tail,count,tabs, size_tail) | ^ wordwrap.c:319:4: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | erase_a_char(); | ^ wordwrap.c:29:27: note: expanded from macro 'erase_a_char' 29 | #define erase_a_char() { Writechar(BACKSPACE); Writechar(' '); \ | ^ wordwrap.c:323:34: warning: call to undeclared function 'Writechar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | if (string[*count] == '\t') erase_tab(*tabs--); | ^ wordwrap.c:33:27: note: expanded from macro 'erase_tab' 33 | #define erase_tab(nr) do Writechar(BACKSPACE); while (--(nr) > 0) | ^ 69 warnings generated. cc -o ../bin/elm addr_util.o alias.o aliaslib.o args.o attach_menu.o a_edit.o a_screen.o a_sort.o a_quit.o builtin++.o calendar.o curses.o date.o delete.o edit.o editmsg.o elm.o encode.o exitprog.o expires.o file.o file_util.o fileio.o find_alias.o forms.o hdrconfg.o help.o in_utils.o init.o leavembox.o lock.o limit.o mailmsg1.o mailmsg2.o menu.o menu2.o metapager.o mime.o mime_encode.o mkhdrs.o newmbox.o options.o out_utils.o pattern.o pgp.o quit.o read_rc.o remail.o reply.o save_opts.o savecopy.o screen.o showmsg.o showmsg_c.o signals.o sort.o string2.o strings.o syscall.o utils.o wildcards.o wordwrap.o ../melib/libme.a ../lib/libutil.a -ltermlib ld: warning: mailmsg2.c(mailmsg2.o:(mail)): warning: tempnam() possibly used unsafely; consider using mkstemp() ld: warning: utils.c(utils.o:(create_new_elmdir)): warning: sprintf() is often misused, please use snprintf() cd utils; /usr/bin/make all /bin/chmod u+w ../hdrs/elmutil.h /usr/bin/touch ../hdrs/elmutil.h cc -I../hdrs -O2 -pipe -c answer.c In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from answer.c:23: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from answer.c:23: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from answer.c:23: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ In file included from answer.c:26: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ answer.c:37:43: warning: a function 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] 37 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ answer.c:37:60: warning: a function 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] 37 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ answer.c:91:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 91 | prompt: printf(catgets(elm_msg_cat, AnswerSet, AnswerMessageTo, "\nMessage to: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.c:91:18: note: treat the string as an argument to avoid this 91 | prompt: printf(catgets(elm_msg_cat, AnswerSet, AnswerMessageTo, "\nMessage to: ")); | ^ | "%s", answer.c:113:31: warning: passing arguments to 'get_alias_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | address = get_alias_address(name, 1, 0); | ^ answer.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | int main(argc, argv) | ^ answer.c:259:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | static int translate(fullname, name, namesize) | ^ answer.c:279:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 279 | printf(catgets(elm_msg_cat, AnswerSet, AnswerCannotHaveMoreNames, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | "** Can't have more than 'FirstName LastName' as address!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.c:279:15: note: treat the string as an argument to avoid this 279 | printf(catgets(elm_msg_cat, AnswerSet, AnswerCannotHaveMoreNames, | ^ | "%s", answer.c:283:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 283 | else | ^ answer.c:349:43: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 349 | if (expand_group(sprbuffer, buffer + (int) entry.address, | ^~~~~~~~~~~~~~~~~~~ answer.c:355:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 355 | buffer + (int) entry.address, | ^~~~~~~~~~~~~~~~~~~ answer.c:356:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 356 | buffer + (int) entry.name); | ^~~~~~~~~~~~~~~~ answer.c:320:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | char *get_alias_address(name, mailing, depth) | ^ answer.c:37: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] 37 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ answer.c:361:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | static int expand_group(target, members, depth, targetsize) | ^ answer.c:379:35: warning: passing arguments to 'get_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | while ((word = (char *) get_token(bufptr, "!, ", depth)) != NULL) { | ^ answer.c:397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | void print_long(buffer, init_len) | ^ answer.c:443: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] 443 | extern char *strpbrk(); | ^ answer.c:445:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | char *get_token(string, sepset, depth) | ^ answer.c:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ 75 warnings generated. cc -I../hdrs -O2 -pipe -c elmalias.c In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from elmalias.c:69: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from elmalias.c:69: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from elmalias.c:69: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ elmalias.c:74: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] 74 | char *getenv(); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ elmalias.c:94: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] 94 | extern char *next_addr_in_list(); | ^ ../hdrs/elmlib.h:58:14: note: conflicting prototype is here 58 | extern char *next_addr_in_list P_((char **)); | ^ elmalias.c:115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | void malloc_fail_handler(proc, size) | ^ elmalias.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | main(argc, argv) | ^ | int elmalias.c:240:30: warning: passing arguments to 'fetch_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | while ((ar = fetch_alias(dblist[d], (char *)NULL)) != NULL) { | ^ elmalias.c:241:14: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | print_alias(out_fmt, ar); | ^ elmalias.c:258:27: warning: passing arguments to 'fetch_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if ((ar = fetch_alias(dblist[d], argv[i])) != NULL) | ^ elmalias.c:272:25: warning: passing arguments to 'make_dummy_rec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | ar = make_dummy_rec(argv[i]); | ^ elmalias.c:273:17: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | print_alias(out_fmt, ar); | ^ elmalias.c:275:21: warning: passing arguments to 'exp_print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | exp_print_alias(dblist, out_fmt, ar); | ^ elmalias.c:277:17: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | print_alias(out_fmt, ar); | ^ elmalias.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | main(argc, argv) | ^ elmalias.c:306:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | struct alias_rec *make_dummy_rec(val) | ^ elmalias.c:100:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | struct alias_rec *make_dummy_rec(); | ^ elmalias.c:350:28: warning: passing arguments to 'fetch_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | if ((ar0 = fetch_alias(dblist[d], acurr)) != NULL) | ^ elmalias.c:358:17: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | print_alias(fmt, ar0); | ^ elmalias.c:326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | void exp_print_alias(dblist, fmt, ar) | ^ elmalias.c:101: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] 101 | void exp_print_alias(), print_alias(); | ^ elmalias.c:407:28: warning: passing arguments to 'sel_alias_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | if ((s = sel_alias_mem(ar, *fmt)) == NULL) { | ^ elmalias.c:428:20: warning: passing arguments to 'sel_alias_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | s = sel_alias_mem(ar, *++fmt); | ^ elmalias.c:369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | void print_alias(fmt, ar) | ^ elmalias.c:101:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | void exp_print_alias(), print_alias(); | ^ elmalias.c:471:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | char *sel_alias_mem(ar, sel) | ^ elmalias.c:102: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] 102 | char *sel_alias_mem(); | ^ cc -I../hdrs -O2 -pipe -c fastmail.c 78 warnings generated. In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from fastmail.c:45: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from fastmail.c:45: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from fastmail.c:45: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ fastmail.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | main(argc, argv) | ^ | int fastmail.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] 56 warnings generated. cc -I../hdrs -O2 -pipe -c from.c In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from from.c:20: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from from.c:20: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from from.c:20: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ from.c:190:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | if (no_files = optind == argc) { /* assignment intentional */ | ~~~~~~~~~^~~~~~~~~~~~~~~~ from.c:190:15: note: place parentheses around the assignment to silence this warning 190 | if (no_files = optind == argc) { /* assignment intentional */ | ^ | ( ) from.c:190:15: note: use '==' to turn this assignment into an equality comparison 190 | if (no_files = optind == argc) { /* assignment intentional */ | ^ | == from.c:253:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 253 | printf(catgets(elm_msg_cat,FromSet,FromNoMail,"No mail.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:253:12: note: treat the string as an argument to avoid this 253 | printf(catgets(elm_msg_cat,FromSet,FromNoMail,"No mail.\n")); | ^ | "%s", from.c:313:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 313 | printf(catgets(elm_msg_cat,FromSet,FromNoMesgInFolder, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | "No messages in that folder!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:313:12: note: treat the string as an argument to avoid this 313 | printf(catgets(elm_msg_cat,FromSet,FromNoMesgInFolder, | ^ | "%s", from.c:88:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | int main(argc, argv) | ^ from.c:362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | static void read_headers(user_mailbox, total_msgs, selected, realname) | ^ from.c:411:44: warning: call to undeclared function 'real_from'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 411 | if (first_word(buffer, "From ") && real_from(buffer, &hdr)) { | ^ from.c:539:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 539 | printf(catgets(elm_msg_cat,FromSet,FromFolderContains, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 540 | "Folder contains ")); | ~~~~~~~~~~~~~~~~~~~ from.c:539:11: note: treat the string as an argument to avoid this 539 | printf(catgets(elm_msg_cat,FromSet,FromFolderContains, | ^ | "%s", from.c:583:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 583 | printf(catgets(elm_msg_cat,FromSet,FromNoMessages, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | "no messages.\n")); | ~~~~~~~~~~~~~~~~~ from.c:583:11: note: treat the string as an argument to avoid this 583 | printf(catgets(elm_msg_cat,FromSet,FromNoMessages, | ^ | "%s", from.c:591:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | char * whos_mail(filename, | ^ from.c:622:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | static void usage(prog) | ^ from.c:633:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 633 | printf(catgets(elm_msg_cat,FromSet,FromHelpTitle, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 634 | "frm -- list from and subject lines of messages in mailbox or folder\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:633:13: note: treat the string as an argument to avoid this 633 | printf(catgets(elm_msg_cat,FromSet,FromHelpTitle, | ^ | "%s", from.c:637:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 637 | printf(catgets(elm_msg_cat,FromSet,FromHelpText, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "\noption summary:\n\ | ~~~~~~~~~~~~~~~~~~~~~ 639 | -h\tprint this help message.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 640 | -n\tdisplay the message number of each message printed.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 641 | -Q\tvery quiet -- no output is produced. This option allows shell\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 642 | \tscripts to check frm's return status without having output.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 643 | -q\tquiet -- only print summaries for each mailbox or folder.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 644 | -S\tsummarize the number of messages in each mailbox or folder.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | -s status only -- select messages with the specified status.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 646 | \t'status' is one of \"new\", \"old\", \"unread\" (same as \"old\"),\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 647 | \tor \"read\". Only the first letter need be specified.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 648 | -t\ttry to align subjects even if 'from' text is long.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 649 | -v\tprint a verbose header.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:637:13: note: treat the string as an argument to avoid this 637 | printf(catgets(elm_msg_cat,FromSet,FromHelpText, | ^ | "%s", from.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | explain(selection, how_to_say) | ^ 67 warnings generated. cc -I../hdrs -O2 -pipe -c newalias.c In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from newalias.c:33: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from newalias.c:33: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from newalias.c:33: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ In file included from newalias.c:35: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ newalias.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | main(argc, argv) | ^ | int newalias.c:72:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 72 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdateSystem, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | "Updating the system alias file...")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newalias.c:72:13: note: treat the string as an argument to avoid this 72 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdateSystem, | ^ | "%s", newalias.c:80:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 80 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdatePersonal, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | "Updating your personal alias file...")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newalias.c:80:13: note: treat the string as an argument to avoid this 80 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdatePersonal, | ^ | "%s", newalias.c:84:15: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasNoHOME, | ^ newalias.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | main(argc, argv) | ^ newalias.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | error(err_message) | ^ newalias.c:37:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | void error(); | ^ 63 warnings generated. cc -I../hdrs -O2 -pipe -c newmail.c In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from newmail.c:59: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from newmail.c:59: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from newmail.c:59: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ newmail.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | main(argc, argv) | ^ | int newmail.c:231:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 231 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailShort, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | "Warning: interval set to 1 second. I hope you know what you're doing!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmail.c:231:22: note: treat the string as an argument to avoid this 231 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailShort, | ^ | "%s", newmail.c:233:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 233 | else | ^ newmail.c:262:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 262 | printf(catgets(elm_msg_cat, NewmailSet, NewmailIncommingMail, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | "Incoming mail:\n")); | ~~~~~~~~~~~~~~~~~~~ newmail.c:262:11: note: treat the string as an argument to avoid this 262 | printf(catgets(elm_msg_cat, NewmailSet, NewmailIncommingMail, | ^ | "%s", newmail.c:288:26: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if ((newsize = bytes(cur_folder->foldername)) == | ^ newmail.c:307:26: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | if ((newsize = bytes(cur_folder->foldername)) > | ^ newmail.c:323:12: warning: call to undeclared function 'read_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | if (read_headers(cur_folder) && ! in_window) | ^ newmail.c:336:36: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | cur_folder->filesize = bytes(cur_folder->foldername); | ^ newmail.c:342:25: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | newsize = bytes(cur_folder->foldername); | ^ newmail.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | main(argc, argv) | ^ newmail.c:407:39: warning: call to undeclared function 'real_from'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 407 | first_word(buffer, "From ") && real_from(buffer, &hdr); | ^ newmail.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | read_headers(cur_folder) | ^ newmail.c:504:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | static void add_folder(name) | ^ newmail.c:584:13: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | bytes(folder_list[current_folder].foldername); | ^ newmail.c:612:33: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | folder_list[0].filesize = bytes(folder_list[0].foldername); | ^ newmail.c:625:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | static void show_header(hdr, cur_folder) | ^ newmail.c:691:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 691 | else | ^ newmail.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | bytes(name) | ^ newmail.c:113: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] 113 | long bytes(); | ^ newmail.c:712:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 712 | char *return_value, *getlogin(), *cuserid(); | ^ ../hdrs/elmlib.h:206:14: note: conflicting prototype is here 206 | extern char *cuserid P_((char *)); | ^ newmail.c:716:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 716 | printf(catgets(elm_msg_cat, NewmailSet, NewmailErrUsername, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 717 | "Newmail: I can't get username!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmail.c:716:13: note: treat the string as an argument to avoid this 716 | printf(catgets(elm_msg_cat, NewmailSet, NewmailErrUsername, | ^ | "%s", newmail.c:724:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | static void usage(name) | ^ newmail.c:737:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 737 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailArgsHelp2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 738 | "folders can be specified by relative or absolute path names, can be the name\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 739 | of a mailbox in the incoming mail directory to check, or can have one of the\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 740 | standard Elm mail directory prefix chars (e.g. '+', '=' or '%%').\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 741 | Furthermore, any folder can have '=string' as a suffix to indicate a folder\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 742 | identifier other than the basename of the file\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmail.c:737:18: note: treat the string as an argument to avoid this 737 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailArgsHelp2, | ^ | "%s", newmail.c:746:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | void expand_filename(name, store_space,size) | ^ 78 warnings generated. cc -I../hdrs -O2 -pipe -c readmsg.c In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from readmsg.c:68: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from readmsg.c:68: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from readmsg.c:68: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ readmsg.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void malloc_fail_handler(proc, size) | ^ readmsg.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | main(argc, argv) | ^ | int readmsg.c:175:9: warning: call to undeclared function 'load_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | if (load_folder_state_file(&fstate) != 0) { | ^ readmsg.c:269:34: warning: passing arguments to 'mssg_num_to_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | if ((idx = mssg_num_to_index(fstate.sel_list[i])) == -1L) | ^ readmsg.c:271:25: warning: passing arguments to 'print_mssg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | else if (print_mssg(fp, idx, hdr_disp_level, do_page_breaks) != 0) | ^ readmsg.c:283:25: warning: passing arguments to 'print_patmatch_mssg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | if (print_patmatch_mssg(fp, buf, do_all_matches, | ^ readmsg.c:291:19: warning: passing arguments to 'load_folder_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | load_folder_index(fp); | ^ readmsg.c:303:34: warning: passing arguments to 'mssg_num_to_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | if ((idx = mssg_num_to_index(i)) == -1L) | ^ readmsg.c:305:25: warning: passing arguments to 'print_mssg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | else if (print_mssg(fp, idx, hdr_disp_level, do_page_breaks) != 0) | ^ readmsg.c:326:30: warning: passing arguments to 'mssg_num_to_index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if ((idx = mssg_num_to_index(i)) == -1L) | ^ readmsg.c:328:21: warning: passing arguments to 'print_mssg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | else if (print_mssg(fp, idx, hdr_disp_level, do_page_breaks) != 0) | ^ readmsg.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | main(argc, argv) | ^ readmsg.c:363:6: warning: call to undeclared function 'real_from'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | real_from(buf, (struct header_rec *)NULL)) | ^ readmsg.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | void load_folder_index(fp) | ^ readmsg.c:101: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] 101 | void load_folder_index(); | ^ readmsg.c:409:6: warning: call to undeclared function 'real_from'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 409 | real_from(buf, (struct header_rec *)NULL)) | ^ readmsg.c:418:20: warning: passing arguments to 'print_mssg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | if (print_mssg(fp, mssg_idx, hdr_disp_level, do_page_breaks) != 0) | ^ readmsg.c:381:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | int print_patmatch_mssg(fp, pat, do_all_matches, hdr_disp_level, do_page_breaks) | ^ readmsg.c:102: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] 102 | int print_patmatch_mssg(); | ^ readmsg.c:473:10: warning: call to undeclared function 'real_from'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | real_from(buf, (struct header_rec *)NULL); | ^ readmsg.c:496:19: warning: passing arguments to 'weed_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | weed_headers((char *)NULL); | ^ readmsg.c:508:15: warning: passing arguments to 'weed_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | weed_headers(buf); | ^ readmsg.c:435:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | int print_mssg(fp, offset, hdr_disp_level, do_page_breaks) | ^ readmsg.c:103: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] 103 | int print_mssg(); | ^ readmsg.c:566:24: warning: passing arguments to 'skip_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | for (s = skip_word(save_from) ; *s != '\0' && !isspace(*s) ; ++s) | ^ readmsg.c:571:44: warning: passing arguments to 'skip_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | printf("Date: %s", skip_word(skip_word(save_from))); | ^ readmsg.c:571:34: warning: passing arguments to 'skip_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | printf("Date: %s", skip_word(skip_word(save_from))); | ^ readmsg.c:553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | void weed_headers(buf) | ^ readmsg.c:104: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] 104 | void weed_headers(); | ^ readmsg.c:601:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | long mssg_num_to_index(mssgno) | ^ readmsg.c:105: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] 105 | long mssg_num_to_index(); | ^ readmsg.c:617:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | char *skip_word(str) | ^ readmsg.c:106: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] 106 | char *skip_word(); | ^ 87 warnings generated. cc -I../hdrs -O2 -pipe -c prlong.c In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from prlong.c:53: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from prlong.c:53: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from prlong.c:53: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ prlong.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | void usage_error(prog) | ^ prlong.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | main(argc, argv) | ^ | int prlong.c:125:24: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | outb_col = calc_col(0, one_ldr); | ^ prlong.c:147:23: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (calc_col(calc_col(outb_col, curr_sep), inbuf) >= maxwid) { | ^ prlong.c:147:14: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (calc_col(calc_col(outb_col, curr_sep), inbuf) >= maxwid) { | ^ prlong.c:159:21: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | outb_col = calc_col(outb_col, outbuf+outb_len); | ^ prlong.c:166:21: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | outb_col = calc_col(outb_col, outbuf+outb_len); | ^ prlong.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | main(argc, argv) | ^ prlong.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int calc_col(col, s) | ^ prlong.c:66: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] 66 | int calc_col(); /* calculate output column position */ | ^ 64 warnings generated. cc -I../hdrs -O2 -pipe -c elmcharset.c In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:20: ../hdrs/../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../hdrs/../config.h:81:23: warning: '/*' within block comment [-Wcomment] 81 | /*#undef NO_INTTYPES /**/ | ^ ../hdrs/../config.h:94:22: warning: '/*' within block comment [-Wcomment] 94 | /*#undef ASCII_CTYPE /**/ | ^ ../hdrs/../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef BROKE_CTYPE /**/ | ^ ../hdrs/../config.h:118:31: warning: '/*' within block comment [-Wcomment] 118 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../hdrs/../config.h:129:23: warning: '/*' within block comment [-Wcomment] 129 | /*#undef HAS_CUSERID /**/ | ^ ../hdrs/../config.h:135:20: warning: '/*' within block comment [-Wcomment] 135 | /*#undef DISP_HOST /**/ | ^ ../hdrs/../config.h:151:28: warning: '/*' within block comment [-Wcomment] 151 | /*#undef USEGETDOMAINNAME /**/ | ^ ../hdrs/../config.h:170:31: warning: '/*' within block comment [-Wcomment] 170 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../hdrs/../config.h:172:28: warning: '/*' within block comment [-Wcomment] 172 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../hdrs/../config.h:192:19: warning: '/*' within block comment [-Wcomment] 192 | /*#undef DOUNAME /**/ | ^ ../hdrs/../config.h:193:23: warning: '/*' within block comment [-Wcomment] 193 | /*#undef HOSTCOMPILED /**/ | ^ ../hdrs/../config.h:209:23: warning: '/*' within block comment [-Wcomment] 209 | /*#undef index strchr /* cultural */ | ^ ../hdrs/../config.h:210:25: warning: '/*' within block comment [-Wcomment] 210 | /*#undef rindex strrchr /* differences? */ | ^ ../hdrs/../config.h:243:18: warning: '/*' within block comment [-Wcomment] 243 | /*#undef USENLS /**/ | ^ ../hdrs/../config.h:291:34: warning: '/*' within block comment [-Wcomment] 291 | /*#undef USE_BINARYMIME /**/ | ^ ../hdrs/../config.h:302:15: warning: '/*' within block comment [-Wcomment] 302 | /*#undef MMDF /**/ | ^ ../hdrs/../config.h:319:21: warning: '/*' within block comment [-Wcomment] 319 | /*#undef USE_DOMAIN /**/ | ^ ../hdrs/../config.h:325:21: warning: '/*' within block comment [-Wcomment] 325 | /*#undef NO_XHEADER /**/ | ^ ../hdrs/../config.h:337:16: warning: '/*' within block comment [-Wcomment] 337 | /*#undef PTEM /**/ | ^ ../hdrs/../config.h:352:25: warning: '/*' within block comment [-Wcomment] 352 | /*#undef REMOVE_AT_LAST /**/ | ^ ../hdrs/../config.h:359:32: warning: '/*' within block comment [-Wcomment] 359 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../hdrs/../config.h:390:18: warning: '/*' within block comment [-Wcomment] 390 | /*#undef SIGVEC /**/ | ^ ../hdrs/../config.h:392:20: warning: '/*' within block comment [-Wcomment] 392 | /*#undef SIGVECTOR /**/ | ^ ../hdrs/../config.h:394:17: warning: '/*' within block comment [-Wcomment] 394 | /*#undef SIGSET /**/ | ^ ../hdrs/../config.h:398:21: warning: '/*' within block comment [-Wcomment] 398 | /*#undef HASSIGHOLD /**/ | ^ ../hdrs/../config.h:400:22: warning: '/*' within block comment [-Wcomment] 400 | /*#undef HASSIGBLOCK /**/ | ^ ../hdrs/../config.h:439:19: warning: '/*' within block comment [-Wcomment] 439 | /*#undef STRINGS /**/ | ^ ../hdrs/../config.h:440:19: warning: '/*' within block comment [-Wcomment] 440 | /*#undef PWDINSYS /**/ | ^ ../hdrs/../config.h:475:18: warning: '/*' within block comment [-Wcomment] 475 | /*#undef TERMIO /**/ | ^ ../hdrs/../config.h:532:25: warning: '/*' within block comment [-Wcomment] 532 | /*#undef SYSTIMEKERNEL /**/ | ^ ../hdrs/../config.h:549:21: warning: '/*' within block comment [-Wcomment] 549 | /*#undef I_SYSUTIME /**/ | ^ ../hdrs/../config.h:567:20: warning: '/*' within block comment [-Wcomment] 567 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../hdrs/../config.h:590:16: warning: '/*' within block comment [-Wcomment] 590 | /*#undef XENIX /**/ | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: In file included from ../hdrs/defs.h:21: ../hdrs/sysdefs.h:100:29: warning: '/*' within block comment [-Wcomment] 100 | /* #define cat "/bin/cat" /* how to display files */ | ^ ../hdrs/sysdefs.h:103:38: warning: '/*' within block comment [-Wcomment] 103 | /* #define uuname "/usr/bin/uuname" /* how to get a uuname */ | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:304: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] 304 | extern struct tm *localtime(); | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:305:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 305 | extern time_t time(); | ^ /usr/include/time.h:123:8: note: conflicting prototype is here 123 | time_t time(time_t *); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:719: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] 719 | char *ctime(); | ^ /usr/include/time.h:115:7: note: conflicting prototype is here 115 | char *ctime(const time_t *); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:735: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] 735 | char *strtok(); | ^ ../hdrs/defs.h:742: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 declaration [-Wdeprecated-non-prototype] 742 | FILE *safeopen(); | ^ ../hdrs/elmlib.h:23:14: note: conflicting prototype is here 23 | extern FILE *safeopen P_((char *)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:743: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 declaration [-Wdeprecated-non-prototype] 743 | FILE *safeopen_rdwr(); | ^ ../hdrs/elmlib.h:24:14: note: conflicting prototype is here 24 | extern FILE *safeopen_rdwr P_((char *)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:720: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 declaration [-Wdeprecated-non-prototype] 720 | char *error_description(); | ^ ../hdrs/elmlib.h:112:14: note: conflicting prototype is here 112 | extern char *error_description P_((int)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:739: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 declaration [-Wdeprecated-non-prototype] 739 | char *header_cmp(); | ^ ../hdrs/elmlib.h:160:15: note: conflicting prototype is here 160 | extern char * header_cmp P_((char *, char *, char *)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:733: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 declaration [-Wdeprecated-non-prototype] 733 | char *qstrpbrk(); | ^ ../hdrs/elmlib.h:282:14: note: conflicting prototype is here 282 | extern char *qstrpbrk P_((char *, char *)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:746:10: warning: a function declaration 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] 746 | malloc_t safe_malloc(); | ^ ../hdrs/elmlib.h:300:17: note: conflicting prototype is here 300 | extern malloc_t safe_malloc P_((unsigned)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:747:10: warning: a function declaration 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] 747 | malloc_t safe_realloc(); | ^ ../hdrs/elmlib.h:301:17: note: conflicting prototype is here 301 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:740: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 declaration [-Wdeprecated-non-prototype] 740 | char *safe_strdup(); | ^ ../hdrs/elmlib.h:302:14: note: conflicting prototype is here 302 | extern char *safe_strdup P_((CONST char *)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:730: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 declaration [-Wdeprecated-non-prototype] 730 | char *shift_lower(); | ^ ../hdrs/elmlib.h:306:14: note: conflicting prototype is here 306 | extern char *shift_lower P_((CONST char *)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:734: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 declaration [-Wdeprecated-non-prototype] 734 | char *strfcpy(); | ^ ../hdrs/elmlib.h:310:14: note: conflicting prototype is here 310 | extern char *strfcpy P_((char *, CONST char *, int)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:732: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 declaration [-Wdeprecated-non-prototype] 732 | char *strip_parens(); | ^ ../hdrs/elmlib.h:323:14: note: conflicting prototype is here 323 | extern char *strip_parens P_((CONST char *s)); | ^ In file included from elmcharset.c:9: In file included from ../hdrs/elmutil.h:23: ../hdrs/defs.h:626: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 declaration [-Wdeprecated-non-prototype] 626 | char *strtokq(); /* our own quote minding strtok */ | ^ ../hdrs/elmlib.h:341:14: note: conflicting prototype is here 341 | extern char *strtokq P_((char *, char *,int)); | ^ In file included from elmcharset.c:9: ../hdrs/elmutil.h:51: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] 51 | extern char *gcos_name(); | ^ ../hdrs/elmlib.h:120:15: note: conflicting prototype is here 120 | extern char * gcos_name P_((char *, char *)); | ^ In file included from elmcharset.c:9: ../hdrs/elmutil.h:52: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] 52 | extern char *get_full_name(); | ^ ../hdrs/elmlib.h:152:15: note: conflicting prototype is here 152 | extern char * get_full_name P_((char *)); | ^ elmcharset.c:61:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 61 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsIngoringDebug, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | "Warning: system created without debugging enabled - request ignored\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elmcharset.c:61:14: note: treat the string as an argument to avoid this 61 | printf(catgets(elm_msg_cat, ElmSet, ElmArgsIngoringDebug, | ^ | "%s", elmcharset.c:16:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | int main(argc, argv) | ^ 56 warnings generated. cc -o ../bin/answer answer.o ../lib/libutil.a /bin/cp checkalias ../bin/checkalias /bin/chmod u+w,a+rx ../bin/checkalias cc -o ../bin/elmalias elmalias.o ../lib/libutil.a cc -o ../bin/fastmail fastmail.o ../lib/libutil.a cc -o ../bin/frm from.o ../lib/libutil.a /bin/cp listalias ../bin/listalias /bin/chmod u+w,a+rx ../bin/listalias /bin/cp messages ../bin/messages /bin/chmod u+w,a+rx ../bin/messages cc -o ../bin/newalias newalias.o ../lib/libutil.a cc -o ../bin/newmail newmail.o ../lib/libutil.a /bin/cp printmail ../bin/printmail /bin/chmod u+w,a+rx ../bin/printmail cc -o ../bin/readmsg readmsg.o ../lib/libutil.a cc -o ../bin/prlong prlong.o ../lib/libutil.a cc -o ../bin/elmcharset elmcharset.o ../lib/libutil.a # cd filter; /usr/bin/make all cd doc; /usr/bin/make all >>> Running package in mail/elm at 1764444338.98 ===> mail/elm ===> Faking installation for elm-2.4ME+66p5 cd melib; /usr/bin/make install cd lib; /usr/bin/make install cd src; /usr/bin/make install /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm.old /bin/cp ../bin/elm /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm : wheel /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm /bin/chmod 755 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elm ../bin/elmcharset -G -w /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm.mimecharsets ../bin/elm.mimecharsets /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm.mimecharsets cd utils; /usr/bin/make install /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/answer /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/answer.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/answer: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/answer' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/answer.old /bin/cp ../bin/answer /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/answer /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/answer /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/checkalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/checkalias.old *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/checkalias' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/checkalias.old /bin/cp ../bin/checkalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/checkalias /bin/chmod a+rx /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/checkalias /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elmalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elmalias.old *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elmalias' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elmalias.old /bin/cp ../bin/elmalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elmalias /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elmalias /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/fastmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/fastmail.old *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/fastmail' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/fastmail.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/checkalias: No such file or directory mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/elmalias: No such file or directory mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/fastmail: No such file or directory /bin/cp ../bin/fastmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/fastmail /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/fastmail /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm.old /bin/cp ../bin/frm /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/listalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/listalias.old *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/listalias' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/listalias.old /bin/cp ../bin/listalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/listalias /bin/chmod a+rx /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/listalias mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/listalias: No such file or directory /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/messages /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/messages.old *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/messages' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/messages.old /bin/cp ../bin/messages /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/messages /bin/chmod a+rx /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/messages /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newalias.old *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newalias' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newalias.old /bin/cp ../bin/newalias /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newalias /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newalias mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/messages: No such file or directory mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newalias: No such file or directory /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail.old /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail /bin/cp ../bin/newmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/printmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/printmail.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/printmail: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/printmail' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/printmail.old /bin/cp ../bin/printmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/printmail /bin/chmod a+rx /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/printmail /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/readmsg /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/readmsg.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/readmsg: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/readmsg' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/readmsg.old /bin/cp ../bin/readmsg /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/readmsg /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/readmsg /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/prlong /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/prlong.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/prlong: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/prlong' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/prlong.old /bin/cp ../bin/prlong /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/prlong /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/prlong /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmcharset /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmcharset.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmcharset: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmcharset' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmcharset.old /bin/cp ../bin/elmcharset /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmcharset /bin/chmod a+x /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmcharset /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail.old /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail /bin/ln /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail /bin/mv /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm.old mv: /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm: No such file or directory *** Error 1 in target '/exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm' (ignored) /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm.old /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm /bin/ln /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm # cd filter; /usr/bin/make install cd doc; /usr/bin/make install /bin/cp elm-help.0 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.0 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.0 /bin/cp elm-help.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.1 /bin/cp elm-help.2 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.2 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.2 /bin/cp elm-help.3 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.3 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm-help.3 /bin/cp elmrc-info /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmrc-info /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elmrc-info /bin/cp answer.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/answer.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/answer.1 /bin/cp chkalias.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/checkalias.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/checkalias.1 /bin/cp elm.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/elm.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/elm.1 /bin/cp elmalias.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/elmalias.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/elmalias.1 /bin/cp fastmail.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/fastmail.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/fastmail.1 /bin/cp frm.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/frm.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/frm.1 /bin/cp listalias.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/listalias.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/listalias.1 /bin/cp messages.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/messages.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/messages.1 /bin/cp newalias.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/newalias.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/newalias.1 /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/newmail.1 /bin/cp newmail.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/newmail.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/newmail.1 /bin/cp printmail.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/printmail.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/printmail.1 /bin/cp readmsg.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/readmsg.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/readmsg.1 /bin/cp elmcharset.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/elmcharset.1 /bin/chmod u=rw,go=r /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/elmcharset.1 /bin/rm -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/wnewmail.1 /bin/ln /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/newmail.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/wnewmail.1 /exopi-obj/pobj/elm-2.4ME+66/bin/install -d -m 755 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/share/nls/C ./Install LANGS /usr/bin/gencat elm2.4me+.cat /usr/bin/gencat /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/share/nls/C/elm2.4me+.cat C/C/C/*.m /exopi-obj/pobj/elm-2.4ME+66/bin/install -c -m 644 /exopi-cvs/ports/mail/elm/files/elm.mimetypes /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/lib/elm.mimetypes-dist ln -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/newmail.1 /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/man/man1/wnewmail.1 ln -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/frm /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/nfrm ln -f /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/newmail /exopi-obj/pobj/elm-2.4ME+66/fake-amd64/usr/local/bin/wnewmail ===> Building package for elm-2.4ME+66p5 Create /exopi-cvs/ports/packages/amd64/all/elm-2.4ME+66p5.tgz Creating package elm-2.4ME+66p5 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 2% checksumming|** | 4% checksumming|**** | 6% checksumming|***** | 8% checksumming|****** | 10% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************ | 20% checksumming|************* | 22% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************** | 32% checksumming|********************* | 34% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************ | 40% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 46% checksumming|***************************** | 48% checksumming|******************************* | 50% checksumming|******************************** | 52% checksumming|********************************* | 54% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************* | 60% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|**************************************** | 66% checksumming|***************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|************************************************ | 78% checksumming|************************************************* | 80% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 90% checksumming|******************************************************** | 92% checksumming|********************************************************* | 94% checksumming|*********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**** | 6% archiving|*************************** | 42% archiving|******************************* | 49% archiving|*********************************** | 54% archiving|*************************************** | 61% archiving|******************************************* | 68% archiving|************************************************ | 74% archiving|**************************************************** | 81% archiving|******************************************************* | 86% archiving|********************************************************** | 91% archiving|*********************************************************** | 92% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/elm-2.4ME+66p5.tgz >>> Running clean in mail/elm at 1764444341.44 ===> mail/elm ===> Cleaning for elm-2.4ME+66p5 >>> Ended at 1764444341.75 max_stuck=0.00/build=32.03/package=2.57/clean=0.35