>>> Building on exopi-2 under mail/metamail DIST = [mail/metamail:mm2.7.tar.Z] FULLPKGNAME = metamail-2.7p6 distfiles size=262881 >>> Running build in mail/metamail at 1764696083.82 ===> mail/metamail ===> Building from scratch metamail-2.7p6 ===> Verifying specs: c curses ===> found c.102.2 curses.16.0 ===> Checking files for metamail-2.7p6 `/exopi-cvs/ports/distfiles/mm2.7.tar.Z' is up to date. >> (SHA256) all files: OK ===> Extracting for metamail-2.7p6 ===> Patching for metamail-2.7p6 ===> Applying OpenBSD patch patch-src_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/Makefile.orig Wed Jan 26 18:32:33 1994 |+++ src/Makefile Fri Nov 29 23:29:41 2013 -------------------------- Patching file src/Makefile using Plan A... Hunk #1 succeeded at 38. Hunk #2 succeeded at 72. Hunk #3 succeeded at 91. Hunk #4 succeeded at 117. Hunk #5 succeeded at 145. done ===> Applying OpenBSD patch patch-src_bin_showaudio Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/bin/showaudio.orig Wed Feb 2 23:21:26 1994 |+++ src/bin/showaudio Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/bin/showaudio using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 59. Hunk #3 succeeded at 199. Hunk #4 succeeded at 232. done ===> Applying OpenBSD patch patch-src_bin_showexternal Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/bin/showexternal.orig Tue Feb 8 16:39:05 1994 |+++ src/bin/showexternal Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/bin/showexternal using Plan A... Hunk #1 succeeded at 15. done ===> Applying OpenBSD patch patch-src_bin_showpartial Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/bin/showpartial.orig Wed Feb 2 23:21:29 1994 |+++ src/bin/showpartial Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/bin/showpartial using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 71. done ===> Applying OpenBSD patch patch-src_bin_showpicture Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/bin/showpicture.orig Mon Feb 7 17:59:54 1994 |+++ src/bin/showpicture Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/bin/showpicture using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 84. done ===> Applying OpenBSD patch patch-src_bin_sun2mime Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/bin/sun2mime.orig Sat Nov 13 14:54:05 1993 |+++ src/bin/sun2mime Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/bin/sun2mime using Plan A... Hunk #1 succeeded at 11. done ===> Applying OpenBSD patch patch-src_config_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/config.h.orig Wed Nov 24 15:36:07 1993 |+++ src/config.h Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/config.h using Plan A... Hunk #1 succeeded at 73. Hunk #2 succeeded at 155. Hunk #3 succeeded at 177. done ===> Applying OpenBSD patch patch-src_fonts_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/fonts/Makefile.orig Mon May 31 21:49:27 1993 |+++ src/fonts/Makefile Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/fonts/Makefile using Plan A... Hunk #1 succeeded at 28. done ===> Applying OpenBSD patch patch-src_metamail_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/metamail/Makefile.orig Sun Aug 1 22:04:53 1993 |+++ src/metamail/Makefile Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/metamail/Makefile using Plan A... Hunk #1 succeeded at 51. done ===> Applying OpenBSD patch patch-src_metamail_codes_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/metamail/codes.c |--- src/metamail/codes.c.orig |+++ src/metamail/codes.c -------------------------- Patching file src/metamail/codes.c using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 32. Hunk #3 succeeded at 178. Hunk #4 succeeded at 355. done ===> Applying OpenBSD patch patch-src_metamail_mailto_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/metamail/mailto.c |--- src/metamail/mailto.c.orig |+++ src/metamail/mailto.c -------------------------- Patching file src/metamail/mailto.c using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 53. Hunk #3 succeeded at 61. Hunk #4 succeeded at 205. Hunk #5 succeeded at 215. Hunk #6 succeeded at 580. Hunk #7 succeeded at 602. Hunk #8 succeeded at 689. Hunk #9 succeeded at 728. Hunk #10 succeeded at 740. Hunk #11 succeeded at 819. Hunk #12 succeeded at 980. Hunk #13 succeeded at 1002. Hunk #14 succeeded at 1053. Hunk #15 succeeded at 1142. Hunk #16 succeeded at 1153. Hunk #17 succeeded at 1342. Hunk #18 succeeded at 1760. Hunk #19 succeeded at 1789. Hunk #20 succeeded at 1807. Hunk #21 succeeded at 1826. Hunk #22 succeeded at 1883. Hunk #23 succeeded at 1954. Hunk #24 succeeded at 2091. Hunk #25 succeeded at 2231. Hunk #26 succeeded at 2310. Hunk #27 succeeded at 2378. Hunk #28 succeeded at 2458. done ===> Applying OpenBSD patch patch-src_metamail_metamail_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/metamail/metamail.c |--- src/metamail/metamail.c.orig |+++ src/metamail/metamail.c -------------------------- Patching file src/metamail/metamail.c using Plan A... Hunk #1 succeeded at 20. Hunk #2 succeeded at 32. Hunk #3 succeeded at 49. Hunk #4 succeeded at 105. Hunk #5 succeeded at 304. Hunk #6 succeeded at 563. Hunk #7 succeeded at 1186. Hunk #8 succeeded at 1807. Hunk #9 succeeded at 1884. Hunk #10 succeeded at 2007. Hunk #11 succeeded at 2017. Hunk #12 succeeded at 2359. Hunk #13 succeeded at 2373. Hunk #14 succeeded at 2389. Hunk #15 succeeded at 2485. Hunk #16 succeeded at 2651. Hunk #17 succeeded at 2678. done ===> Applying OpenBSD patch patch-src_metamail_mmencode_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/metamail/mmencode.c.orig Wed Jan 26 18:47:37 1994 |+++ src/metamail/mmencode.c Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/metamail/mmencode.c using Plan A... Hunk #1 succeeded at 13. done ===> Applying OpenBSD patch patch-src_metamail_shared_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/metamail/shared.c.orig Sun May 16 19:19:32 1993 |+++ src/metamail/shared.c Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/metamail/shared.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 8. done ===> Applying OpenBSD patch patch-src_metamail_splitmail_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/metamail/splitmail.c.orig Mon Jan 31 22:23:14 1994 |+++ src/metamail/splitmail.c Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/metamail/splitmail.c using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 30. Hunk #3 succeeded at 42. Hunk #4 succeeded at 195. Hunk #5 succeeded at 340. Hunk #6 succeeded at 363. done ===> Applying OpenBSD patch patch-src_metamail_uue_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/metamail/uue.c |--- src/metamail/uue.c.orig |+++ src/metamail/uue.c -------------------------- Patching file src/metamail/uue.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 33. Hunk #3 succeeded at 65. Hunk #4 succeeded at 74. Hunk #5 succeeded at 86. done ===> Applying OpenBSD patch patch-src_richmail_iso2022_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/richmail/iso2022.c |--- src/richmail/iso2022.c.orig |+++ src/richmail/iso2022.c -------------------------- Patching file src/richmail/iso2022.c using Plan A... Hunk #1 succeeded at 41. Hunk #2 succeeded at 74. done ===> Applying OpenBSD patch patch-src_richmail_richlex_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/richmail/richlex.c.orig Thu Feb 3 02:29:37 1994 |+++ src/richmail/richlex.c Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/richmail/richlex.c using Plan A... Hunk #1 succeeded at 43. done ===> Applying OpenBSD patch patch-src_richmail_richset_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/richmail/richset.c.orig Wed Oct 21 19:04:19 1992 |+++ src/richmail/richset.c Sat Mar 17 10:51:52 2012 -------------------------- Patching file src/richmail/richset.c using Plan A... Hunk #1 succeeded at 34. done ===> Applying OpenBSD patch patch-src_richmail_richtext_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/richmail/richtext.c |--- src/richmail/richtext.c.orig |+++ src/richmail/richtext.c -------------------------- Patching file src/richmail/richtext.c using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 31. Hunk #3 succeeded at 84. Hunk #4 succeeded at 910. Hunk #5 succeeded at 930. 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 metamail-2.7p6 ===> Configuring for metamail-2.7p6 ===> Building for metamail-2.7p6 (cd metamail ; make CONFIGDIR=../. CFLAGS="-DHAVE_TCGETATTR -O2 -pipe " CC="cc" LDLIBS="") rm -f metamail.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe metamail.c metamail.c:115: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] 115 | extern FILE *popen(); | ^ /usr/include/stdio.h:236:7: note: conflicting prototype is here 236 | FILE *popen(const char *, const char *); | ^ metamail.c:199:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | char *Cleanse(s) /* no leading or trailing space, all lower case */ | ^ metamail.c:223:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | if (!ans) ExitWithError(nomem); | ^ metamail.c:216:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | char *UnquoteString(s) | ^ metamail.c:244:5: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | RestoreTtyState(); | ^ metamail.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 | cleanup(signum) | ^ metamail.c:197: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] 197 | sigtype cleanup(); | ^ metamail.c:251:1: warning: non-void function does not return a value [-Wreturn-type] 251 | } | ^ metamail.c:274:17: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | if (!s) ExitWithError(nomem); | ^ metamail.c:293:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | if (!newpath) ExitWithError(nomem); | ^ metamail.c:283:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | void modpath(auxpath) | ^ metamail.c:300:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 300 | main(argc, argv) | ^ | int metamail.c:313:17: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | if (!s) ExitWithError(nomem); | ^ metamail.c:318:5: warning: call to undeclared function 'ProcessArguments'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | ProcessArguments(argc, argv); /* calls ExitWithError on error */ | ^ metamail.c:327:15: warning: call to undeclared function 'HandleMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | retcode = HandleMessage(NULL, 0); | ^ metamail.c:338:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | if (!InputFP) ExitWithError("Can't read input file"); | ^ metamail.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | main(argc, argv) | ^ metamail.c:362:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 362 | if (!tmp) ExitWithError(nomem); | ^ metamail.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | QueueNextFile(fname) | ^ metamail.c:374:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 374 | HandleMessage(SquirrelFile, nestingdepth) | ^ | int metamail.c:383:14: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | if (!lc2strncmp(ContentType, "message/", 8) | ^ metamail.c:389:6: warning: call to undeclared function 'Read822Prefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | if (Read822Prefix(SquirrelFile?0:1, nestingdepth)) { | ^ metamail.c:393:5: warning: call to undeclared function 'PrepareMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | PrepareMessage(); | ^ metamail.c:394:28: warning: call to undeclared function 'ProcessMailcapFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | if (!FileWriteOnly && !ProcessMailcapFiles(SquirrelFile)) return(0); | ^ metamail.c:395:10: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | if (!lc2strcmp(ContentType, "message") | ^ metamail.c:397:34: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | if (SquirrelFile) return(SaveSquirrelFile(SquirrelFile)); | ^ metamail.c:402:25: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | boundary = FindParam("boundary"); | ^ metamail.c:404:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | if (!lc2strncmp(ContentType, "multipart", 9)) { | ^ metamail.c:412:34: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | if (SquirrelFile) return(SaveSquirrelFile(SquirrelFile)); | ^ metamail.c:427:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 427 | MkTmpFileName(NewSquirrelFile); | ^ metamail.c:431:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 431 | if (!LineBuf) ExitWithError(nomem); | ^ metamail.c:471:34: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | ConsumeRestOfPart(NULL); | ^ metamail.c:479:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | ConsumeRestOfPart(NULL); | ^ metamail.c:500:28: warning: call to undeclared function 'TryBuiltIns'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | if (!FileWriteOnly && !TryBuiltIns(SquirrelFile)) return(0); | ^ metamail.c:505:34: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | suggestedname = FindParam("name"); | ^ metamail.c:507:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | MkTmpFileName(SugBuf); | ^ metamail.c:532:25: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 532 | TranslateInputToOutput(InputFP, stdout, EncodingCode, "text"); | ^ metamail.c:551:37: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 551 | MkTmpFileName(Fname); | ^ metamail.c:585:42: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | ConsumeRestOfPart(NULL); | ^ metamail.c:630:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | ConsumeRestOfPart(NULL); | ^ metamail.c:633:22: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 633 | if (!fp) ExitWithError("Cannot open temporary file"); | ^ metamail.c:634:13: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 634 | TranslateInputToOutput(InputFP, fp, EncodingCode, ContentType); | ^ metamail.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | HandleMessage(SquirrelFile, nestingdepth) | ^ metamail.c:648:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 648 | ProcessArguments(argc, argv) | ^ | int metamail.c:668:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | if (!QuietCopy) ExitWithError(nomem); | ^ metamail.c:707:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 707 | if (!NoAskCopy) ExitWithError(nomem); | ^ metamail.c:755:24: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 755 | if (++i >= argc) usage(); | ^ metamail.c:757:25: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 757 | if (!ContentType) ExitWithError(nomem); | ^ metamail.c:761:21: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | StripTrailingSpace(ContentType); | ^ metamail.c:762:43: warning: passing arguments to 'ParseContentParameters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | ParseContentParameters(ContentType); | ^ metamail.c:861:9: warning: call to undeclared function 'RunInNewWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 861 | RunInNewWindow(argv, argc, &SourceFileName); | ^ metamail.c:870:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | usage(); | ^ metamail.c:874:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 874 | usage(); | ^ metamail.c:879:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 879 | usage(); | ^ metamail.c:885:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | if (!InputFP) ExitWithError("Can't read input file"); | ^ metamail.c:919:9: warning: call to undeclared function 'RunInNewWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 919 | RunInNewWindow(argv, argc, &SourceFileName); | ^ metamail.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | ProcessArguments(argc, argv) | ^ metamail.c:927:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 927 | usage() { | ^ | int metamail.c:929:5: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 929 | ExitWithError(NULL); | ^ metamail.c:930:1: warning: non-void function does not return a value [-Wreturn-type] 930 | } | ^ metamail.c:932:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 932 | RunInNewWindow(argv, argc, SourceFileNamePtr) | ^ | int metamail.c:943:23: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 943 | if (!LineBuf) ExitWithError(nomem); | ^ metamail.c:945:9: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 945 | MkTmpFileName(TmpName); | ^ metamail.c:958:19: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 958 | if (!FullCmd) ExitWithError(nomem); | ^ metamail.c:968:5: warning: call to undeclared function 'CreateNewWindowPrefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 968 | CreateNewWindowPrefix(FullCmd); | ^ metamail.c:991:5: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 991 | SetUpEnvironment(); | ^ metamail.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | RunInNewWindow(argv, argc, SourceFileNamePtr) | ^ metamail.c:1013:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1013 | ProcessMailcapFiles(SquirrelFile) | ^ | int metamail.c:1045:26: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1045 | if (!p || !path) ExitWithError(nomem); | ^ metamail.c:1054:24: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1054 | if (!pathcopy) ExitWithError(nomem); | ^ metamail.c:1061:14: warning: call to undeclared function 'ProcessMailcapFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1061 | if (!ProcessMailcapFile(path, SquirrelFile)) return(0); | ^ metamail.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 | ProcessMailcapFiles(SquirrelFile) | ^ metamail.c:1069:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1069 | TryBuiltIns(SquirrelFile) | ^ | int metamail.c:1076:14: warning: call to undeclared function 'TryMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1076 | if (!TryMailcapEntry(SquirrelFile ? BuiltInsAlternative[i] : BuiltIns[i], SquirrelFile)) return(0); | ^ metamail.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | TryBuiltIns(SquirrelFile) | ^ metamail.c:1081:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1081 | ProcessMailcapFile(file, SquirrelFile) | ^ | int metamail.c:1088:11: warning: call to undeclared function 'IsDirectory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1088 | res = IsDirectory(file); | ^ metamail.c:1102:6: warning: call to undeclared function 'GetMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1102 | if (GetMailcapEntry(fp, &mc)) { | ^ metamail.c:1103:18: warning: call to undeclared function 'TryMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1103 | if (!TryMailcapEntry(mc, SquirrelFile)) { | ^ metamail.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | ProcessMailcapFile(file, SquirrelFile) | ^ metamail.c:1120:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | char *ShortCommand(progname) | ^ metamail.c:1153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1153 | TryMailcapEntry(mc, SquirrelFile) | ^ | int metamail.c:1157:5: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1157 | StripTrailingSpace(mc.contenttype); | ^ metamail.c:1160:9: warning: call to undeclared function 'CtypeMatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1160 | if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { | ^ metamail.c:1160:52: warning: call to undeclared function 'PassesTest'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1160 | if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { | ^ metamail.c:1162:20: warning: call to undeclared function 'SaveSquirrelFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1162 | return(SaveSquirrelFile(SquirrelFile)); | ^ metamail.c:1165:13: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1165 | MkTmpFileName(TmpFileName); | ^ metamail.c:1166:20: warning: call to undeclared function 'ExecuteMailcapEntry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1166 | return(ExecuteMailcapEntry(mc, TmpFileName, ContentType)); | ^ metamail.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | TryMailcapEntry(mc, SquirrelFile) | ^ metamail.c:1176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1176 | SaveSquirrelFile(SquirrelFile) | ^ | int metamail.c:1194:5: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1194 | TranslateInputToOutput(InputFP, outfp, EncodingCode, ContentType); | ^ metamail.c:1196:9: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1196 | ExitWithError("fclose failed"); | ^ metamail.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | SaveSquirrelFile(SquirrelFile) | ^ metamail.c:1201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1201 | ExecuteMailcapEntry(mc, TmpFileName, ThisContentType) | ^ | int metamail.c:1210:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1210 | if (!cmd) ExitWithError(nomem); | ^ metamail.c:1212:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1212 | BuildCommand(cmd, PrintingMode ? mc.printcommand : mc.command, TmpFileName, &UsedTmpFileName, &PartsWritten); | ^ metamail.c:1230:9: warning: call to undeclared function 'SaveTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1230 | SaveTtyState(); | ^ metamail.c:1232:10: warning: call to undeclared function 'NeedToAskBeforeExecuting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1232 | if (!NeedToAskBeforeExecuting(ThisContentType) | ^ metamail.c:1233:13: warning: call to undeclared function 'OKToRun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1233 | || OKToRun(ThisContentType, cmd, mc.label)) { | ^ metamail.c:1253:17: warning: call to undeclared function 'strcatquoting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1253 | strcatquoting(cmd, CParams[j]); | ^ metamail.c:1259:13: warning: call to undeclared function 'CreateNewWindowPrefix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1259 | CreateNewWindowPrefix(FullCmd); | ^ metamail.c:1271:27: warning: call to undeclared function 'WriteTmpFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1271 | isempty = WriteTmpFile(TmpFileName, ThisContentType); | ^ metamail.c:1284:21: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1284 | SetUpEnvironment(); | ^ metamail.c:1285:34: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1285 | resultcode = ExecuteCommand(TmpCmd, 1); | ^ metamail.c:1288:21: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1288 | SetUpEnvironment(); | ^ metamail.c:1289:34: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1289 | resultcode = ExecuteCommand(FullCmd, 1); | ^ metamail.c:1298:13: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1298 | SetUpEnvironment(); | ^ metamail.c:1299:20: warning: call to undeclared function 'ExecuteCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1299 | (void) ExecuteCommand(FullCmd, 0); | ^ metamail.c:1301:13: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1301 | TranslateInputToOutput(InputFP, tmpfp, EncodingCode, ThisContentType); | ^ metamail.c:1307:13: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1307 | RestoreTtyState(); | ^ metamail.c:1320:13: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1320 | RestoreTtyState(); | ^ metamail.c:1323:45: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | if (!PartsWritten) ConsumeRestOfPart(NULL); | ^ metamail.c:1342:9: warning: call to undeclared function 'RestoreTtyState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1342 | RestoreTtyState(); | ^ metamail.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | ExecuteMailcapEntry(mc, TmpFileName, ThisContentType) | ^ metamail.c:1348:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1348 | PassesTest(mc) | ^ | int metamail.c:1355:5: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1355 | MkTmpFileName(TmpFileName); | ^ metamail.c:1357:15: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1357 | if (!cmd) ExitWithError(nomem); | ^ metamail.c:1358:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1358 | BuildCommand(cmd, mc->testcommand, TmpFileName, NULL, NULL); | ^ metamail.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | PassesTest(mc) | ^ metamail.c:1376:14: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1376 | if (!s2) ExitWithError(nomem); | ^ metamail.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | GetCommand(s, t) | ^ metamail.c:1401:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1401 | GetMailcapEntry(fp, mc) | ^ | int metamail.c:1409:19: warning: call to undeclared function 'ExitWithError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1409 | if (!LineBuf) ExitWithError(nomem); | ^ metamail.c:1483:3: warning: call to undeclared function 'ExceptionalNewline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1483 | ExceptionalNewline(mc->contenttype, atoi(eq)); | ^ metamail.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | GetMailcapEntry(fp, mc) | ^ metamail.c:1494:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1494 | ExitWithError(txt) | ^ | int metamail.c:1494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1502 | FreshHeaderCopy(s) | ^ metamail.c:1521:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1521 | Read822Prefix(PrintHeads, nestingdepth) | ^ | int metamail.c:1569:27: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1569 | if (!ContentType && !lc2strncmp(s, "\ncontent-type:", 14)) { | ^ metamail.c:1588:17: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1588 | StripTrailingSpace(ContentType); | ^ metamail.c:1589:39: warning: passing arguments to 'ParseContentParameters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | ParseContentParameters(ContentType); | ^ metamail.c:1619:21: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1619 | phead(s+1); | ^ metamail.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | Read822Prefix(PrintHeads, nestingdepth) | ^ metamail.c:1641:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1641 | PrepareMessage() { | ^ | int metamail.c:1648:9: warning: call to undeclared function 'StripTrailingSpace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1648 | StripTrailingSpace(ContentEncoding); | ^ metamail.c:1649:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1649 | if (!lc2strcmp(ContentEncoding, "base64")) { | ^ metamail.c:1653:21: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1653 | } else if (!lc2strncmp (ContentEncoding, "x-uue", 5)) { | ^ metamail.c:1672:5: warning: call to undeclared function 'SetUpEnvironment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1672 | SetUpEnvironment(); | ^ metamail.c:1673:1: warning: non-void function does not return a value [-Wreturn-type] 1673 | } | ^ metamail.c:1675:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1675 | SetUpEnvironment() { | ^ | int metamail.c:1696:5: warning: call to undeclared function 'EliminateNastyChars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1696 | EliminateNastyChars(MailSummary); | ^ metamail.c:1764:1: warning: non-void function does not return a value [-Wreturn-type] 1764 | } | ^ metamail.c:1796:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1796 | OKToRun(ctype, progname, label) | ^ | int metamail.c:1796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1821:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1821 | EliminateNastyChars(s) | ^ | int metamail.c:1821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1833:1: warning: non-void function does not return a value [-Wreturn-type] 1833 | } | ^ metamail.c:1835:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1835 | StripTrailingSpace(s) | ^ | int metamail.c:1835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:1840:1: warning: non-void function does not return a value [-Wreturn-type] 1840 | } | ^ metamail.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | findcolon(hdr) | ^ metamail.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | maybephead(hdr) | ^ metamail.c:1901:22: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1901 | || !lc2strncmp(hdr, KeyHeadList[numkeys], len)) { | ^ metamail.c:1902:17: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1902 | if (!KeyKeep) phead(hdr); | ^ metamail.c:1906:15: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1906 | if (KeyKeep) phead(hdr); | ^ metamail.c:1912:8: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1912 | || !lc2strncmp(">from", KeyHeadList[numkeys], 5)) { | ^ metamail.c:1913:17: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1913 | if (!KeyKeep) phead(hdr); | ^ metamail.c:1917:15: warning: call to undeclared function 'phead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1917 | if (KeyKeep) phead(hdr); | ^ metamail.c:1922:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1922 | phead(s) | ^ | int metamail.c:1935:16: warning: passing arguments to 'PrintHeader' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1935 | PrintHeader(s, 1); | ^ metamail.c:1922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1922 | phead(s) | ^ metamail.c:1938:1: warning: non-void function does not return a value [-Wreturn-type] 1938 | } | ^ metamail.c:2007:9: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2007 | if (lc2strcmp(charset, PrevCharset)) { | ^ metamail.c:2023:9: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2023 | MkTmpFileName(TmpFile); | ^ metamail.c:2043:17: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2043 | TranslateInputToOutput(fp, stdout, ecode, "text"); | ^ metamail.c:1943:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | void PrintHeader(s, ShowLeadingWhitespace) | ^ metamail.c:193: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] 193 | void PrintHeader(); | ^ metamail.c:2055:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2055 | BuildCommand(Buf, controlstring, TmpFileName, UsedTmpFileName, PartsWritten) | ^ | int metamail.c:2094:45: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | boundary = FindParam("boundary"); | ^ metamail.c:2173:29: warning: call to undeclared function 'MkTmpFileName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2173 | MkTmpFileName(TmpFileNameBuf); | ^ metamail.c:2177:29: warning: call to undeclared function 'WriteTmpFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2177 | WriteTmpFile(thispart->fname, thispart->ctype); | ^ metamail.c:2196:46: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | ConsumeRestOfPart(NULL); | ^ metamail.c:2237:34: warning: passing arguments to 'FindParam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2237 | p = FindParam(from); | ^ metamail.c:2243:21: warning: call to undeclared function 'strcpynoquotes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2243 | strcpynoquotes(to, p); | ^ metamail.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | BuildCommand(Buf, controlstring, TmpFileName, UsedTmpFileName, PartsWritten) | ^ metamail.c:2265:1: warning: non-void function does not return a value [-Wreturn-type] 2265 | } | ^ metamail.c:2267:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2267 | strcpynoquotes(t,f) | ^ | int metamail.c:2267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2276:1: warning: non-void function does not return a value [-Wreturn-type] 2276 | } | ^ metamail.c:2278:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2278 | WriteTmpFile(fname, ctype) | ^ | int metamail.c:2290:5: warning: call to undeclared function 'TranslateInputToOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2290 | TranslateInputToOutput(InputFP, fpout, EncodingCode, ctype); | ^ metamail.c:2278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | WriteTmpFile(fname, ctype) | ^ metamail.c:2297:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2297 | TranslateInputToOutput(InputFP, OutputFP, Ecode, ctype) | ^ | int metamail.c:2306:13: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2306 | from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); | ^ metamail.c:2306:85: warning: call to undeclared function 'DoesNeedPortableNewlines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2306 | from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); | ^ metamail.c:2309:13: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2309 | fromqp(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt); | ^ metamail.c:2312:7: warning: call to undeclared function 'fromuue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2312 | fromuue(InputFP, OutputFP, InMultipart ? Boundaries: NULL, &BoundaryCt); | ^ metamail.c:2315:30: warning: passing arguments to 'ConsumeRestOfPart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2315 | ConsumeRestOfPart(OutputFP); | ^ metamail.c:2297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2297 | TranslateInputToOutput(InputFP, OutputFP, Ecode, ctype) | ^ metamail.c:2322:1: warning: non-void function does not return a value [-Wreturn-type] 2322 | } | ^ metamail.c:2324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2324 | CreateNewWindowPrefix(Prefix) | ^ | int metamail.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2359:1: warning: non-void function does not return a value [-Wreturn-type] 2359 | } | ^ metamail.c:2373:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2373 | SaveTtyState() { | ^ | int metamail.c:2388:1: warning: non-void function does not return a value [-Wreturn-type] 2388 | } | ^ metamail.c:2390:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2390 | RestoreTtyState() { | ^ | int metamail.c:2409:1: warning: non-void function does not return a value [-Wreturn-type] 2409 | } | ^ metamail.c:2411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2411 | NeedToAskBeforeExecuting(type) | ^ | int metamail.c:2417:13: warning: call to undeclared function 'CtypeMatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2417 | if (CtypeMatch(type, nai->type)) return(0); | ^ metamail.c:2411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | NeedToAskBeforeExecuting(type) | ^ metamail.c:2422:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2422 | NeedToBeQuiet(cmd) | ^ | int metamail.c:2427:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2427 | if (!lc2strcmp(nai->type, cmd)) return(1); | ^ metamail.c:2422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | NeedToBeQuiet(cmd) | ^ metamail.c:2432:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2432 | CtypeMatch(ctype, pat) | ^ | int metamail.c:2438:10: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2438 | if (!lc2strcmp(ctype, pat)) { | ^ metamail.c:2450:15: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2450 | && (!lc2strncmp(ctype, pat, len)) | ^ metamail.c:2432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | CtypeMatch(ctype, pat) | ^ metamail.c:2458:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2458 | ExecuteCommand(cmd, really) | ^ | int metamail.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2483:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2483 | MkTmpFileName(name) | ^ | int metamail.c:2483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2501:1: warning: non-void function does not return a value [-Wreturn-type] 2501 | } | ^ metamail.c:2546:17: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2546 | && PendingBoundary(Buf, Boundaries, &BoundaryCt)) { | ^ metamail.c:2528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2528 | ConsumeRestOfPart(outfp) | ^ metamail.c:194: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] 194 | void ConsumeRestOfPart(); | ^ metamail.c:2554:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2554 | char *paramend(s) | ^ metamail.c:2576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2576 | ParseContentParameters(ct) | ^ metamail.c:195: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] 195 | void ParseContentParameters(); | ^ metamail.c:2618:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2618 | char *FindParam(s) | ^ metamail.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 subsequent definition [-Wdeprecated-non-prototype] 114 | char *FindParam(); | ^ metamail.c:2639:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2639 | strcatquoting(s1, s2) | ^ | int metamail.c:2639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] metamail.c:2652:1: warning: non-void function does not return a value [-Wreturn-type] 2652 | } | ^ metamail.c:2667:9: warning: call to undeclared function 'StartRawStdin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2667 | if (StartRawStdin() != -1) { | ^ metamail.c:2679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2679 | StartRawStdin() { | ^ | int metamail.c:2711:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2711 | int IsDirectory(fname) | ^ 227 warnings generated. rm -f codes.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe codes.c codes.c:20: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] 20 | extern char *index(); | ^ codes.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int nextcharin(infile, PortableNewlines) | ^ codes.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | to64(infile, outfile, PortableNewlines) | ^ | int codes.c:85:13: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | output64chunk(c1, 0, 0, 2, outfile); | ^ codes.c:89:17: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | output64chunk(c1, c2, 0, 1, outfile); | ^ codes.c:91:17: warning: call to undeclared function 'output64chunk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | output64chunk(c1, c2, c3, 0, outfile); | ^ codes.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | to64(infile, outfile, PortableNewlines) | ^ codes.c:102:1: warning: non-void function does not return a value [-Wreturn-type] 102 | } | ^ codes.c:104:27: warning: parameter 'pads' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | output64chunk(c1, c2, c3, pads, outfile) | ^ 105 | FILE *outfile; 106 | { codes.c:104:23: warning: parameter 'c3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | output64chunk(c1, c2, c3, pads, outfile) | ^ 105 | FILE *outfile; 106 | { codes.c:104:19: warning: parameter 'c2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | output64chunk(c1, c2, c3, pads, outfile) | ^ 105 | FILE *outfile; 106 | { codes.c:104:15: warning: parameter 'c1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | output64chunk(c1, c2, c3, pads, outfile) | ^ 105 | FILE *outfile; 106 | { codes.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | output64chunk(c1, c2, c3, pads, outfile) | ^ | int codes.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] codes.c:119:1: warning: non-void function does not return a value [-Wreturn-type] 119 | } | ^ codes.c:121:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 121 | PendingBoundary(s, Boundaries, BoundaryCt) | ^ | int codes.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] codes.c:147:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 147 | almostputc(c, outfile, PortableNewlines) | ^ | int codes.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] codes.c:170:1: warning: non-void function does not return a value [-Wreturn-type] 170 | } | ^ codes.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | from64(infile, outfile, boundaries, boundaryct, PortableNewlines) | ^ codes.c:283:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 283 | toqp(infile, outfile) | ^ | int codes.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] codes.c:356:1: warning: non-void function does not return a value [-Wreturn-type] 356 | } | ^ codes.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 | fromqp(infile, outfile, boundaries, boundaryct) | ^ 25 warnings generated. rm -f uue.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe uue.c uue.c:11:21: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 11 | uueget (ptr, outfp, n) | ^ 12 | char *ptr; 13 | FILE *outfp; 14 | { uue.c:11:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 11 | uueget (ptr, outfp, n) | ^ | int uue.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] uue.c:33:1: warning: non-void function does not return a value [-Wreturn-type] 33 | } | ^ uue.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 36 | get_line (buf, size, fp) | ^ | int uue.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] uue.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 | fromuue (infp, outfp, boundaries, ctptr) | ^ uue.c:84:24: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if (boundaries && PendingBoundary (buf, boundaries, ctptr)) | ^ uue.c:96:24: warning: call to undeclared function 'PendingBoundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | if (boundaries && PendingBoundary (buf, boundaries, ctptr)) { | ^ 9 warnings generated. rm -f shared.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe shared.c shared.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | ExceptionalNewline(contenttype, needsportable) | ^ | int shared.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] shared.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | DoesNeedPortableNewlines(ctype) | ^ | int shared.c:51:14: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | if (!lc2strcmp(ctype, Exceptions[i])) { | ^ shared.c:56:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | if (!lc2strncmp(ctype, "text", 4)) { | ^ shared.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | DoesNeedPortableNewlines(ctype) | ^ shared.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | lc2strncmp(s1, s2, len) | ^ | int shared.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] shared.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 82 | lc2strcmp(s1, s2) | ^ | int shared.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] shared.c:113:9: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | gethostname(hostname, sizeof(hostname)); | ^ 11 warnings generated. rm -f metamail cc -I../. -DHAVE_TCGETATTR -O2 -pipe -o metamail metamail.o codes.o uue.o shared.o ld: warning: metamail.c(metamail.o:(ResetGlobals)): warning: sprintf() is often misused, please use snprintf() ld: warning: metamail.c(metamail.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: metamail.c(metamail.o:(HandleMessage)): warning: strcat() is almost always misused, please use strlcat() rm -f mmencode.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe mmencode.c mmencode.c:25:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 25 | main(argc, argv) | ^ | int mmencode.c:87:13: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | to64(fp, fpo, portablenewlines); | ^ mmencode.c:89:13: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | from64(fp,fpo, (char **) NULL, (int *) 0, portablenewlines); | ^ mmencode.c:92:21: warning: call to undeclared function 'toqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (encode) toqp(fp, fpo); else fromqp(fp, fpo, NULL, 0); | ^ mmencode.c:92:41: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (encode) toqp(fp, fpo); else fromqp(fp, fpo, NULL, 0); | ^ mmencode.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 | main(argc, argv) | ^ 6 warnings generated. rm -f mmencode cc -I../. -DHAVE_TCGETATTR -O2 -pipe -o mmencode mmencode.o codes.o rm -f mailto.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe mailto.c mailto.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | EightBitCharHelp() { | ^ | int mailto.c:188:1: warning: non-void function does not return a value [-Wreturn-type] 188 | } | ^ mailto.c:193:13: warning: call to undeclared function 'nomemabort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | if (!s) nomemabort(); | ^ mailto.c:212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | TildeHelp() { | ^ | int mailto.c:269:1: warning: non-void function does not return a value [-Wreturn-type] 269 | } | ^ mailto.c:311:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 311 | InitTerminal() { | ^ | int mailto.c:323:17: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | if (term && tgetent(tbuf, term) != 1) { | ^ mailto.c:328:13: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | if (tgetstr("ks", &dum)) *dum = '\0'; else KS[0] = '\0'; | ^ mailto.c:343:23: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | termcolumns = tgetnum("co"); | ^ mailto.c:361:1: warning: non-void function does not return a value [-Wreturn-type] 361 | } | ^ mailto.c:363:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 363 | FinalizeTerminal() { | ^ | int mailto.c:364:5: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | tfputs(standendbuf); | ^ mailto.c:370:1: warning: non-void function does not return a value [-Wreturn-type] 370 | } | ^ mailto.c:376:13: warning: call to undeclared function 'nomemabort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | if (!p) nomemabort(); | ^ mailto.c:388:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 388 | nomemabort() { | ^ | int mailto.c:390:5: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | cleanexit(-1); | ^ mailto.c:391:1: warning: non-void function does not return a value [-Wreturn-type] 391 | } | ^ mailto.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | freshcopy(s) | ^ mailto.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | GetLineMalloced(prompt, def) | ^ mailto.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | EditString(prompt, s) | ^ mailto.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | AddCommasToAddressList(s) | ^ mailto.c:444:19: warning: expression result unused [-Wunused-value] 444 | if (!ans) nomemabort; | ^~~~~~~~~~ mailto.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | AddToList(List, entry, definitelynew) | ^ mailto.c:497:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 497 | main(argc, argv) | ^ 498 | char **argv; 499 | { mailto.c:497:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 497 | main(argc, argv) | ^ | int mailto.c:512:5: warning: call to undeclared function 'ProcessInitFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 512 | ProcessInitFiles(); | ^ mailto.c:513:5: warning: call to undeclared function 'InitSignals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | InitSignals(); | ^ mailto.c:536:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | cleanexit(-1); | ^ mailto.c:555:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | cleanexit(-1); | ^ mailto.c:565:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | cleanexit(-1); | ^ mailto.c:570:21: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | cleanexit(-1); | ^ mailto.c:591:5: warning: call to undeclared function 'ProcessMailcapFiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | ProcessMailcapFiles(); | ^ mailto.c:608:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 608 | cleanexit(-1); | ^ mailto.c:641:25: warning: call to undeclared function 'TryClosingStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 641 | TryClosingStyle("indentright", fpout, CurrentPart); | ^ mailto.c:643:25: warning: call to undeclared function 'TryOpeningStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 643 | TryOpeningStyle("indent", fpout, CurrentPart, NULL); | ^ mailto.c:650:25: warning: call to undeclared function 'TryOpeningStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 650 | TryOpeningStyle("indentright", fpout, CurrentPart, NULL); | ^ mailto.c:652:25: warning: call to undeclared function 'TryClosingStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | TryClosingStyle("indent", fpout, CurrentPart); | ^ mailto.c:684:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 684 | TempCloseStyles(fpout); | ^ mailto.c:695:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 695 | cleanexit(-1); | ^ mailto.c:697:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | ReopenStyles(fpout, CurrentPart); | ^ mailto.c:701:21: warning: call to undeclared function 'ToggleStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 701 | ToggleStyle("bold", fpout, CurrentPart, BoldOn, BoldOff); | ^ mailto.c:724:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 724 | TempCloseStyles(fpout); | ^ mailto.c:736:28: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 736 | (void) TranslateInputToEncodedOutput(fpin, fpout, ENC_NONE, ""); | ^ mailto.c:746:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 746 | cleanexit(-1); | ^ mailto.c:748:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 748 | ReopenStyles(fpout, CurrentPart); | ^ mailto.c:787:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 787 | EndStyle(fpout, "center"); | ^ mailto.c:789:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 789 | EndStyle(fpout, "flushright"); | ^ mailto.c:791:33: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 791 | EndStyle(fpout, "flushleft"); | ^ mailto.c:798:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 798 | StartStyle(fpout, "center", NULL); | ^ mailto.c:800:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 800 | StartStyle(fpout, "flushright", NULL); | ^ mailto.c:802:29: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 802 | StartStyle(fpout, "flushleft", NULL); | ^ mailto.c:824:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 824 | TempCloseStyles(fptmp); | ^ mailto.c:829:25: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 829 | cleanexit(-1); | ^ mailto.c:834:21: warning: call to undeclared function 'RestoreCurrentStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 834 | RestoreCurrentStyles(); | ^ mailto.c:838:21: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 838 | TempCloseStyles(fpout); | ^ mailto.c:840:26: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 840 | if (!WriteDeadLetter()) cleanexit(0); | ^ mailto.c:840:45: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 840 | if (!WriteDeadLetter()) cleanexit(0); | ^ mailto.c:855:36: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | EightBitSeen = TranslateInputToEncodedOutput(fpin, fpout, ENC_NONE, ""); | ^ mailto.c:862:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 862 | SwitchToEuropean(); | ^ mailto.c:943:21: warning: call to undeclared function 'StartStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 943 | StartStyle(fpout, "signature", NULL); | ^ mailto.c:950:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 950 | SwitchToEuropean(); | ^ mailto.c:954:21: warning: call to undeclared function 'EndStyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 954 | EndStyle(fpout, "signature"); | ^ mailto.c:995:29: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 995 | SwitchToEuropean(); | ^ mailto.c:1010:21: warning: call to undeclared function 'ReopenStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1010 | ReopenStyles(fpout, CurrentPart); | ^ mailto.c:1021:5: warning: call to undeclared function 'TempCloseStyles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1021 | TempCloseStyles(fpout); | ^ mailto.c:1032:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1032 | (void) WriteDeadLetter(); | ^ mailto.c:1033:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1033 | cleanexit(-1); | ^ mailto.c:1038:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1038 | (void) WriteDeadLetter(); | ^ mailto.c:1039:9: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1039 | cleanexit(-1); | ^ mailto.c:1041:5: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1041 | cleanexit(0); /* Never returns */ | ^ mailto.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | main(argc, argv) | ^ mailto.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | WriteOutMessage(fp, ToList, Subject, CCList, FirstPart) | ^ mailto.c:1066:9: warning: call to undeclared function 'EmitHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1066 | EmitHeader(fp, "In-Reply-To", InReplyTo); | ^ mailto.c:1068:5: warning: call to undeclared function 'EmitHeaderWithAliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1068 | EmitHeaderWithAliases(fp, "To", ToList); | ^ mailto.c:1070:5: warning: call to undeclared function 'EmitHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1070 | EmitHeader(fp, "Subject", Subject); | ^ mailto.c:1111:13: warning: call to undeclared function 'WriteContentTypeAndEncoding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1111 | WriteContentTypeAndEncoding(fp, FirstPart); | ^ mailto.c:1116:17: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1116 | cleanexit(-1); | ^ mailto.c:1118:20: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1118 | (void) TranslateInputToEncodedOutput(fpin, fp, FirstPart->encoding_type_needed, FirstPart->content_type); | ^ mailto.c:1124:9: warning: call to undeclared function 'WriteContentTypeAndEncoding'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1124 | WriteContentTypeAndEncoding(fp, FirstPart); | ^ mailto.c:1129:13: warning: call to undeclared function 'cleanexit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1129 | cleanexit(-1); | ^ mailto.c:1131:16: warning: call to undeclared function 'TranslateInputToEncodedOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1131 | (void) TranslateInputToEncodedOutput(fpin, fp, FirstPart->encoding_type_needed, FirstPart->content_type); | ^ mailto.c:1136:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1136 | WriteContentTypeAndEncoding(fp, part) | ^ | int mailto.c:1153:13: warning: call to undeclared function 'WriteCtypeNicely'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1153 | WriteCtypeNicely(fp, part->content_type); | ^ mailto.c:1163:9: warning: call to undeclared function 'WriteCtypeNicely'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1163 | WriteCtypeNicely(fp, part->content_type); /* fixes some syntactic junk */ | ^ mailto.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | WriteContentTypeAndEncoding(fp, part) | ^ mailto.c:1175:1: warning: non-void function does not return a value [-Wreturn-type] 1175 | } | ^ mailto.c:1177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1177 | TranslateInputToEncodedOutput(InputFP, OutputFP, Ecode, ctype) | ^ | int mailto.c:1186:13: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1186 | to64(InputFP, OutputFP, DoesNeedPortableNewlines(ctype)); | ^ mailto.c:1186:37: warning: call to undeclared function 'DoesNeedPortableNewlines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1186 | to64(InputFP, OutputFP, DoesNeedPortableNewlines(ctype)); | ^ mailto.c:1189:13: warning: call to undeclared function 'toqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1189 | toqp(InputFP, OutputFP); | ^ mailto.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | TranslateInputToEncodedOutput(InputFP, OutputFP, Ecode, ctype) | ^ mailto.c:1209:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1209 | TempCloseStyles(fp) | ^ | int mailto.c:1216:5: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1216 | tfputs(StopUnderline); | ^ mailto.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | TempCloseStyles(fp) | ^ mailto.c:1220:1: warning: non-void function does not return a value [-Wreturn-type] 1220 | } | ^ mailto.c:1222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1222 | RestoreCurrentStyles() { | ^ | int mailto.c:1226:13: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1226 | tfputs(EnvStartStack[i]); | ^ mailto.c:1230:1: warning: non-void function does not return a value [-Wreturn-type] 1230 | } | ^ mailto.c:1232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1232 | ReopenStyles(fp, part) | ^ | int mailto.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1242:1: warning: non-void function does not return a value [-Wreturn-type] 1242 | } | ^ mailto.c:1244:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1244 | richtextreset() | ^ | int mailto.c:1247:1: warning: non-void function does not return a value [-Wreturn-type] 1247 | } | ^ mailto.c:1249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1249 | AlreadyInStyle(s) | ^ | int mailto.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1259 | StartStyle(fp, s, envstartstr) | ^ | int mailto.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1273:1: warning: non-void function does not return a value [-Wreturn-type] 1273 | } | ^ mailto.c:1275:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1275 | EndStyle(fp, s) | ^ | int mailto.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1297:1: warning: non-void function does not return a value [-Wreturn-type] 1297 | } | ^ mailto.c:1299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1299 | ToggleStyle(name, fp, part, turnonstr, turnoffstr) | ^ | int mailto.c:1308:25: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1308 | if (turnoffstr) tfputs(turnoffstr); | ^ mailto.c:1314:24: warning: call to undeclared function 'tfputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1314 | if (turnonstr) tfputs(turnonstr); | ^ mailto.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | ToggleStyle(name, fp, part, turnonstr, turnoffstr) | ^ mailto.c:1316:1: warning: non-void function does not return a value [-Wreturn-type] 1316 | } | ^ mailto.c:1318:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1318 | TryOpeningStyle(name, fp, part, envstartstr) | ^ | int mailto.c:1318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1330:1: warning: non-void function does not return a value [-Wreturn-type] 1330 | } | ^ mailto.c:1332:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1332 | TryClosingStyle(name, fp, part) | ^ | int mailto.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:1343:1: warning: non-void function does not return a value [-Wreturn-type] 1343 | } | ^ mailto.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | FputsQuotingLT(s, fp, part, EightBitMode, RightToLeftMode) | ^ mailto.c:1399:25: warning: call to undeclared function 'SwitchToEuropean'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1399 | SwitchToEuropean(); | ^ mailto.c:1411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1411 | cleanexit(code) | ^ | int mailto.c:1414:5: warning: call to undeclared function 'finalize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1414 | finalize(); | ^ mailto.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | cleanexit(code) | ^ mailto.c:1418:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1418 | finalize() { | ^ | int mailto.c:1424:1: warning: non-void function does not return a value [-Wreturn-type] 1424 | } | ^ mailto.c:1435:16: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1435 | (void) WriteDeadLetter(); | ^ mailto.c:1442:20: warning: call to undeclared function 'WriteDeadLetter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1442 | (void) WriteDeadLetter(); | ^ mailto.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | cleanup(signum) | ^ mailto.c:1454:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1454 | InitSignals() { | ^ | int mailto.c:1472:1: warning: non-void function does not return a value [-Wreturn-type] 1472 | } | ^ mailto.c:1474:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1474 | WriteDeadLetter() | ^ | int mailto.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | GetCommand(s, t) | ^ mailto.c:1550:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | char *Cleanse(s, dolc) /* no leading or trailing space, all lower case */ | ^ mailto.c:1568:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | char *DeQuote(s) | ^ mailto.c:1670:13: warning: call to undeclared function 'ExceptionalNewline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1670 | ExceptionalNewline(mc->contenttype, atoi(eq)); | ^ mailto.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | GetMailcapEntry(fp) | ^ mailto.c:1680:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1680 | ProcessMailcapFiles() | ^ | int mailto.c:1822:112: warning: call to undeclared function 'lc2strcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1822 | if (mc->contenttype && index(mc->contenttype, '/') && !index(mc->contenttype, '*') && !lc2strcmp(mc->contenttype, lc)) { | ^ mailto.c:1848:36: warning: call to undeclared function 'WhichEncodingForFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1848 | mp->encoding_type_needed = WhichEncodingForFile(mp->filename, mp->content_type); | ^ mailto.c:1851:9: warning: call to undeclared function 'SetTextFlags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1851 | SetTextFlags(mp); | ^ mailto.c:1868:5: warning: call to undeclared function 'BuildCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1868 | BuildCommand(CmdBuf, mc->composecommand ? mc->composecommand : mc->composetypedcommand, mp->filename); | ^ mailto.c:1884:36: warning: call to undeclared function 'WhichEncodingForFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1884 | mp->encoding_type_needed = WhichEncodingForFile(mp->filename, mp->content_type); | ^ mailto.c:1965:17: warning: call to undeclared function 'from64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1965 | from64(fp, fpout, NULL, &bct, 0); | ^ mailto.c:1968:17: warning: call to undeclared function 'fromqp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1968 | fromqp(fp, fpout, NULL, &bct); | ^ mailto.c:1981:5: warning: call to undeclared function 'SetTextFlags'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1981 | SetTextFlags(mp); | ^ mailto.c:1988:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1988 | SetTextFlags(mp) | ^ | int mailto.c:1991:10: warning: call to undeclared function 'lc2strncmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1991 | if (!lc2strncmp(mp->content_type, "text/", 5)) { | ^ mailto.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | SetTextFlags(mp) | ^ mailto.c:1997:1: warning: non-void function does not return a value [-Wreturn-type] 1997 | } | ^ mailto.c:1999:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1999 | WhichEncodingForFile(fname, ctype) | ^ | int mailto.c:1999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2035:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2035 | BuildCommand(Buf, controlstring, TmpFileName) | ^ | int mailto.c:2035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2071:1: warning: non-void function does not return a value [-Wreturn-type] 2071 | } | ^ mailto.c:2073:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2073 | CtypeMatch(ctype, pat) | ^ | int mailto.c:2073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | EditCurrentMessage(UseVisual) | ^ mailto.c:2125:14: warning: call to undeclared function 'ContainsEightBitChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2125 | ContainsEightBitChar(FirstPart->filename)) { | ^ mailto.c:2171:14: warning: call to undeclared function 'ContainsEightBitChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2171 | ContainsEightBitChar(mp->filename)) { | ^ mailto.c:2184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2184 | ProcessInitFiles() { | ^ | int mailto.c:2196:1: warning: non-void function does not return a value [-Wreturn-type] 2196 | } | ^ mailto.c:2199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2199 | NextAliasLine(LineBuf, LineAlloced, LineCount, fp, IsAndrew) | ^ mailto.c:2235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2235 | ProcessOneMailRC(fname, IsAndrew) | ^ mailto.c:2256:13: warning: call to undeclared function 'HandleSetCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2256 | HandleSetCommand(LineBuf+4, 1); | ^ mailto.c:2258:13: warning: call to undeclared function 'HandleSetCommand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2258 | HandleSetCommand(LineBuf+6, 0); | ^ mailto.c:2269:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2269 | HandleSetCommand(cmd, DoSet) | ^ | int mailto.c:2269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2306:1: warning: non-void function does not return a value [-Wreturn-type] 2306 | } | ^ mailto.c:2314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2314 | HandleAliasCommand(aliasline) | ^ mailto.c:2343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2343 | EmitHeader(fp, hdr, body) | ^ | int mailto.c:2343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2353:1: warning: non-void function does not return a value [-Wreturn-type] 2353 | } | ^ mailto.c:2356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2356 | firstbad(s) | ^ mailto.c:2369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | firstgood(s) | ^ mailto.c:2382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2382 | HeaderFputs(s, fp, hdr) | ^ mailto.c:2406:17: warning: call to undeclared function 'PutQP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2406 | PutQP(*s, fp); | ^ mailto.c:2423:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2423 | PutQP(c, fp) | ^ | int mailto.c:2423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2430:1: warning: non-void function does not return a value [-Wreturn-type] 2430 | } | ^ mailto.c:2432:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2432 | EmitHeaderWithAliases(fp, hdr, names) | ^ | int mailto.c:2439:5: warning: call to undeclared function 'EmitAddresses'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2439 | EmitAddresses(fp, names, hdr); | ^ mailto.c:2432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | EmitHeaderWithAliases(fp, hdr, names) | ^ mailto.c:2441:1: warning: non-void function does not return a value [-Wreturn-type] 2441 | } | ^ mailto.c:2443:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2443 | EmitAddresses(fp, names, hdr) | ^ | int mailto.c:2443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2459:1: warning: non-void function does not return a value [-Wreturn-type] 2459 | } | ^ mailto.c:2462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2462 | DeAlias(name, fp, hdr) | ^ mailto.c:2488:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2488 | WriteCtypeNicely(fp, ct) | ^ | int mailto.c:2517:13: warning: call to undeclared function 'fputsquoting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2517 | fputsquoting(s, fp); | ^ mailto.c:2488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2488 | WriteCtypeNicely(fp, ct) | ^ mailto.c:2521:1: warning: non-void function does not return a value [-Wreturn-type] 2521 | } | ^ mailto.c:2523:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2523 | fputsquoting(s, fp) | ^ | int mailto.c:2523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2552:1: warning: non-void function does not return a value [-Wreturn-type] 2552 | } | ^ mailto.c:2592:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2592 | controlputc(c) | ^ | int mailto.c:2592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2596:1: warning: non-void function does not return a value [-Wreturn-type] 2596 | } | ^ mailto.c:2607:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2607 | tfputs(s) | ^ | int mailto.c:2610:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2610 | tputs(s, 1, controlputc); | ^ mailto.c:2607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2607 | tfputs(s) | ^ mailto.c:2611:1: warning: non-void function does not return a value [-Wreturn-type] 2611 | } | ^ mailto.c:2613:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2613 | ContainsEightBitChar(fname) | ^ | int mailto.c:2613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mailto.c:2633:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2633 | SwitchToEuropean() { | ^ | int mailto.c:2642:1: warning: non-void function does not return a value [-Wreturn-type] 2642 | } | ^ 209 warnings generated. rm -f mailto cc -I../. -DHAVE_TCGETATTR -O2 -pipe -o mailto mailto.o codes.o shared.o -ltermcap ld: warning: mailto.c(mailto.o:(tmpname)): warning: sprintf() is often misused, please use snprintf() ld: warning: mailto.c(mailto.o:(TildeHelp)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: mailto.c(mailto.o:(AddToList)): warning: strcat() is almost always misused, please use strlcat() rm -f splitmail.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe splitmail.c splitmail.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | usageexit() { | ^ | int splitmail.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | endofheader(s) | ^ splitmail.c:71:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | main(argc, argv) | ^ 72 | char **argv; 73 | { splitmail.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | main(argc, argv) | ^ | int splitmail.c:198:6: warning: call to undeclared function 'ShareThisHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | if (ShareThisHeader(from, SubjectBuf, sizeof(SubjectBuf), &OrigID)) { | ^ splitmail.c:212:38: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | sprintf(id, "%d.%d.%d.%s", (int) getuid(), (int) getpid(), (int) time(0), getmyname()); | ^ splitmail.c:212:54: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | sprintf(id, "%d.%d.%d.%s", (int) getuid(), (int) getpid(), (int) time(0), getmyname()); | ^ splitmail.c:229:9: warning: call to undeclared function 'HandleOnePart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID); | ^ splitmail.c:236:9: warning: call to undeclared function 'HandleOnePart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID); | ^ splitmail.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | main(argc, argv) | ^ splitmail.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 242 | HandleOnePart(DoDeliver, deliverycmd, prefix, numparts, whichpart, SharedHeaders, SubjectBuf, id, MessageID, bigbuf, OrigID) | ^ | int splitmail.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] splitmail.c:331:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 331 | } | ^ splitmail.c:343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 343 | ShareThisHeader(s, SubjectBuf, size, OrigID) | ^ | int splitmail.c:353:10: warning: call to undeclared function 'ULstrcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | if (!ULstrcmp(s, "message-id")) { | ^ splitmail.c:370:13: warning: call to undeclared function 'IllegalContentType'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | if (IllegalContentType(colon+1)) { | ^ splitmail.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | ShareThisHeader(s, SubjectBuf, size, OrigID) | ^ splitmail.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | IllegalContentType(ctype) | ^ | int splitmail.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] splitmail.c:456:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | int ULstrcmp(s1, s2) | ^ 20 warnings generated. rm -f splitmail cc -I../. -DHAVE_TCGETATTR -O2 -pipe -o splitmail splitmail.o shared.o ld: warning: shared.c(shared.o:(ExceptionalNewline)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: splitmail.c(splitmail.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: splitmail.c(splitmail.o:(main)): warning: strcat() is almost always misused, please use strlcat() rm bin/metamail rm: bin/metamail: No such file or directory *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../metamail/metamail metamail) rm bin/mmencode rm: bin/mmencode: No such file or directory *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../metamail/mmencode mmencode) rm bin/mimencode rm: bin/mimencode: No such file or directory *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../metamail/mmencode mimencode) rm man/mimencode.1 rm: man/mimencode.1: No such file or directory *** Error 1 in target 'all' (ignored) (cd man; ln -s ../man/mmencode.1 mimencode.1) rm bin/mailto rm: bin/mailto: No such file or directory *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../metamail/mailto mailto) rm bin/splitmail rm: bin/splitmail: No such file or directory *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../metamail/splitmail splitmail) (cd richmail ; make CONFIGDIR=../. CFLAGS="-DHAVE_TCGETATTR -O2 -pipe " CC="cc" LDLIBS="") rm -f richtext.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe richtext.c In file included from richtext.c:20: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from richtext.c:21: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int richtext.c:87:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:87:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:87:34: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:87:56: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:87:65: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:87:85: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:87:98: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ~~~~~~ ^ | int richtext.c:129:10: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | kill(getpid(), signum); | ^ richtext.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 | cleanup(signum) | ^ richtext.c:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | static InitSignals() { | ~~~~~~ ^ | int richtext.c:152:1: warning: non-void function does not return a value [-Wreturn-type] 152 | } | ^ richtext.c:154:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 154 | static nomemabort() { | ~~~~~~ ^ | int richtext.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | main(argc, argv) | ^ | int richtext.c:175:8: warning: call to undeclared function 'richtext_main'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | exit(richtext_main(argc, argv)); | ^ richtext.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | main(argc, argv) | ^ richtext.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | richtext_main(argc, argv) | ^ | int richtext.c:330:23: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | if (UsePager && (!isatty(0) || !isatty(1) || NotTtyEnv)) { | ^ richtext.c:338:17: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | if (term && tgetent(tbuf, term) != 1) { | ^ richtext.c:343:13: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | if (tgetstr("ks", &dum)) *dum = '\0'; else KS[0] = '\0'; | ^ richtext.c:365:23: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | termcolumns = tgetnum("co"); | ^ richtext.c:405:20: warning: passing arguments to 'charsetnameinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | charsetnameinit(charsetname); | ^ richtext.c:408:24: warning: passing arguments to 'richtextcorrect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | richtextcorrect(InputFP,stdout,TextEnriched); | ^ richtext.c:411:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | FPUTS(KS, stdout); | ^ richtext.c:413:27: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | while((c = richtextlex(InputFP,token,TextEnriched, nofill)) != (RCHAR)EOF) { | ^ richtext.c:419:25: warning: passing arguments to 'charsetcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | if (charsetcommand (tok,negated)) | ^ richtext.c:429:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | if (FakeTerminal) outputstr(BoldOff); | ^ richtext.c:430:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 430 | else controloutput(BoldOff, 0); | ^ richtext.c:479:39: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | if (!atstart) OUTC('\n'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:494:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | if (FakeTerminal) outputstr(standendbuf); | ^ richtext.c:495:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | else controloutput(standendbuf, 0); | ^ richtext.c:516:4: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | OUTC('\n'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:522:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | OUTC('<'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:527:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | OUTC('\n'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:535:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | OUTC('\n'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:536:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | OUTC('\014'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:557:38: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | if (negated) OUTC('\n'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:558:25: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | OUTC('\n'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:563:20: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | c = richtextlex(InputFP,token,TextEnriched, nofill); | ^ richtext.c:588:39: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | if (!atstart) OUTC('\n'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:596:32: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | if (FakeTerminal) outputstr(StopUnderline); | ^ richtext.c:597:10: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | else controloutput(StopUnderline,0); | ^ richtext.c:613:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | OUTC(tempc); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:617:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | OUTC('<'); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:630:12: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | OUTC(token[i]); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:641:3: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | OUTC(c); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:643:17: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | OUTC(' '); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:647:13: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | OUTC(c); | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:652:9: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | controloutput(standendbuf, 0); | ^ richtext.c:655:5: warning: passing arguments to 'outputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | OUTC('\n'); /* for good measure */ | ^ richtext.c:89:26: note: expanded from macro 'OUTC' 89 | #define OUTC(c) (outputc((RCHAR)(c))) | ^ richtext.c:656:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | FPUTS(KE, stdout); | ^ richtext.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | richtext_main(argc, argv) | ^ richtext.c:667:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 667 | controlputc(c) | ^ | int richtext.c:670:20: warning: passing arguments to 'charmemberctrl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | charmemberctrl (&OutputBuf[PendingOutput],(RCHAR)c); | ^ richtext.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | controlputc(c) | ^ richtext.c:52: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] 52 | int controlputc(); | ^ richtext.c:673:1: warning: non-void function does not return a value [-Wreturn-type] 673 | } | ^ richtext.c:675:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 675 | static immediate_controlputc(c) | ~~~~~~ ^ | int richtext.c:678:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | (*RichtextPutc) (c, stdout); | ^ richtext.c:675:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | static immediate_controlputc(c) | ^ richtext.c:679:1: warning: non-void function does not return a value [-Wreturn-type] 679 | } | ^ richtext.c:681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 681 | controloutput(s, immediate) | ^ | int richtext.c:685:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 685 | tputs(s, 1, immediate ? immediate_controlputc : controlputc); | ^ richtext.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | controloutput(s, immediate) | ^ richtext.c:686:1: warning: non-void function does not return a value [-Wreturn-type] 686 | } | ^ richtext.c:688:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 688 | static folding_point (buf, pos) | ~~~~~~ ^ | int richtext.c:694:34: 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] 694 | if (!charisctrl (buf[i]) && charmemberfold (buf[i])) | ^ ./richset.h:162:34: note: expanded from macro 'charmemberfold' 162 | ((*((member).charset -> fold)) ((member).ch)) | ^ richtext.c:688:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | static folding_point (buf, pos) | ^ richtext.c:700:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 700 | static calc_column (buf, pos) | ~~~~~~ ^ | int richtext.c:708:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | col += charmemberwidth (*s); | ^ ./richset.h:156:35: note: expanded from macro 'charmemberwidth' 156 | ((*((member).charset -> width)) ((member).ch)) | ^ richtext.c:700:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | static calc_column (buf, pos) | ^ richtext.c:715:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 715 | static FlushOut() { | ~~~~~~ ^ | int richtext.c:745:20: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); | ^ richtext.c:797:24: warning: passing arguments to 'realoutputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | realoutputc(NewOutputBuf[j], 1); | ^ richtext.c:803:1: warning: non-void function does not return a value [-Wreturn-type] 803 | } | ^ richtext.c:805:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 805 | static outputc(c) | ~~~~~~ ^ | int richtext.c:809:16: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | charmember (&member,c); | ^ richtext.c:810:16: warning: passing arguments to 'realoutputc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | realoutputc(member, 0); | ^ richtext.c:805:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | static outputc(c) | ^ richtext.c:87: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] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:811:1: warning: non-void function does not return a value [-Wreturn-type] 811 | } | ^ richtext.c:813:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 813 | static realoutputc(c, alreadyformatted) | ~~~~~~ ^ | int richtext.c:820:17: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); | ^ richtext.c:826:21: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | charmember (&OutputBuf[PendingOutput],(RCHAR)'\n'); | ^ richtext.c:832:25: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | charmember (&OutputBuf[PendingOutput],(RCHAR)' '); | ^ richtext.c:843:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | charmember (&OutputBuf[PendingOutput],(RCHAR)'>'); | ^ richtext.c:848:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | charmember (&OutputBuf[PendingOutput],(RCHAR)'+'); | ^ richtext.c:853:29: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | charmember (&OutputBuf[PendingOutput],(RCHAR)' '); | ^ richtext.c:859:25: warning: passing arguments to 'charmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | charmember (&OutputBuf[PendingOutput],(RCHAR)'_'); | ^ richtext.c:864:24: 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] 864 | linepos += charmemberwidth (c); | ^ ./richset.h:156:35: note: expanded from macro 'charmemberwidth' 156 | ((*((member).charset -> width)) ((member).ch)) | ^ richtext.c:813:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | static realoutputc(c, alreadyformatted) | ^ richtext.c:87: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] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:883:1: warning: non-void function does not return a value [-Wreturn-type] 883 | } | ^ richtext.c:885:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 885 | static MakeWorkingMargins() { | ~~~~~~ ^ | int richtext.c:897:1: warning: non-void function does not return a value [-Wreturn-type] 897 | } | ^ richtext.c:899:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 899 | static Pause() | ~~~~~~ ^ | int richtext.c:908:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 908 | } | ^ richtext.c:913:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | static void fputsmovingright(s, fp) | ^ richtext.c:925:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | (*RichtextPutc) ((int)(s -> ch), fp); | ^ richtext.c:927:7: 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] 927 | charmemberrender (*s, fp); | ^ ./richset.h:168:36: note: expanded from macro 'charmemberrender' 168 | ((*((member).charset -> render)) ((member).ch,param)) | ^ richtext.c:935:53: warning: parameter 'modifiedbold' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 935 | StopUnderline, modifiedunderline, BoldOn, BoldOff, modifiedbold) | ^ 936 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 937 | *BoldOn, *BoldOff; 938 | { richtext.c:935:17: warning: parameter 'modifiedunderline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 935 | StopUnderline, modifiedunderline, BoldOn, BoldOff, modifiedbold) | ^ 936 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 937 | *BoldOn, *BoldOff; 938 | { richtext.c:934:28: warning: parameter 'modifiedstandout' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 934 | standoutbuf, standendbuf, modifiedstandout, StartUnderline, | ^ 935 | StopUnderline, modifiedunderline, BoldOn, BoldOff, modifiedbold) 936 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 937 | *BoldOn, *BoldOff; 938 | { richtext.c:933:67: warning: parameter 'bold' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 933 | static void ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ 934 | standoutbuf, standendbuf, modifiedstandout, StartUnderline, 935 | StopUnderline, modifiedunderline, BoldOn, BoldOff, modifiedbold) 936 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 937 | *BoldOn, *BoldOff; 938 | { richtext.c:933:56: warning: parameter 'underline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 933 | static void ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ 934 | standoutbuf, standendbuf, modifiedstandout, StartUnderline, 935 | StopUnderline, modifiedunderline, BoldOn, BoldOff, modifiedbold) 936 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 937 | *BoldOn, *BoldOff; 938 | { richtext.c:933:46: warning: parameter 'standout' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 933 | static void ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ 934 | standoutbuf, standendbuf, modifiedstandout, StartUnderline, 935 | StopUnderline, modifiedunderline, BoldOn, BoldOff, modifiedbold) 936 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 937 | *BoldOn, *BoldOff; 938 | { richtext.c:933:32: warning: parameter 'FakeTerminal' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 933 | static void ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ 934 | standoutbuf, standendbuf, modifiedstandout, StartUnderline, 935 | StopUnderline, modifiedunderline, BoldOn, BoldOff, modifiedbold) 936 | char *standoutbuf, *standendbuf, *StartUnderline, *StopUnderline, 937 | *BoldOn, *BoldOff; 938 | { richtext.c:933:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | static void ResetTerminalCodes(FakeTerminal, standout, underline, bold, | ^ richtext.c:946:61: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | if (modifiedstandout && standout == 1) outputstr(standoutbuf); | ^ richtext.c:951:53: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if (modifiedbold && bold == 1) outputstr(BoldOn); | ^ richtext.c:956:63: warning: passing arguments to 'outputstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | if (modifiedunderline && underline == 1) outputstr(StartUnderline); | ^ richtext.c:961:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 961 | static FinalizeTerminal() { | ~~~~~~ ^ | int richtext.c:962:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 962 | tputs(standendbuf, 1, immediate_controlputc); | ^ richtext.c:965:10: warning: passing arguments to 'FPUTS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | FPUTS(KE, stdout); | ^ richtext.c:966:1: warning: non-void function does not return a value [-Wreturn-type] 966 | } | ^ richtext.c:968:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 968 | static outputstr(s) | ~~~~~~ ^ | int richtext.c:968:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtext.c:87:85: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:972:1: warning: non-void function does not return a value [-Wreturn-type] 972 | } | ^ richtext.c:990:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 990 | static FPUTS(s,fp) | ~~~~~~ ^ | int richtext.c:994:30: 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] 994 | while(*s) (*RichtextPutc)((int)(*s++),fp); | ^ richtext.c:990:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | static FPUTS(s,fp) | ^ richtext.c:87:98: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), FinalizeTerminal(), outputstr(), FPUTS(); | ^ richtext.c:995:1: warning: non-void function does not return a value [-Wreturn-type] 995 | } | ^ richtext.c:997:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 997 | static lc2strcmp(s1, s2) | ~~~~~~ ^ | int richtext.c:997:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtext.c:1008:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1008 | static lc2strncmp(s1, s2, len) | ~~~~~~ ^ | int richtext.c:1008:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 warnings generated. rm -f richlex.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe richlex.c In file included from richlex.c:47: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from richlex.c:48: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int richlex.c:54: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 previous declaration [-Wdeprecated-non-prototype] 54 | extern int fgetc (); | ^ /usr/include/stdio.h:135:6: note: conflicting prototype is here 135 | int fgetc(FILE *); | ^ richlex.c:55: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 previous declaration [-Wdeprecated-non-prototype] 55 | extern int fputc (); | ^ /usr/include/stdio.h:141:6: note: conflicting prototype is here 141 | int fputc(int, FILE *); | ^ richlex.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | richtextreset() | ^ | int richlex.c:121:1: warning: non-void function does not return a value [-Wreturn-type] 121 | } | ^ richlex.c:127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | static void richtextpushback(c) | ^ richlex.c:136:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | static void richtextunget(c) | ^ richlex.c:148:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | static void richtextunget2(c1,c2) | ^ richlex.c:195:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | static richtextsingle(TextEnriched) | ~~~~~~ ^ | int richlex.c:198:27: warning: passing arguments to 'charsetsingle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | return (charsetsingle (NextToken) || | ^ richlex.c:195:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | static richtextsingle(TextEnriched) | ^ richlex.c:256:13: 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] 256 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:268:12: 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] 268 | if ((c = RGET(file)) == EOF) { | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:272:8: 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] 272 | c2 = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:282:12: 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] 282 | c2 = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:292:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | if ((c = RGET(file)) == '/') { | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:294:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:299:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:304:11: 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] 304 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:360:10: 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] 360 | c = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:362:10: 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] 362 | newc = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:364:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | newc = RGET(file); /* 4-byte ESC-$-)-? sequence */ | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:365:37: warning: data argument not used by format string [-Wformat-extra-args] 365 | sprintf(token,ISO2022_CHARSET,newc); | ~~~~~~~~~~~~~~~ ^ richlex.c:371:10: 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] 371 | newc = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:391: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] 391 | if ((newc = RGET(file)) == EOF) { | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:403:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | int c2 = RGET(file); | ^ richlex.c:81:54: note: expanded from macro 'RGET' 81 | #define RGET(f) (PushbackSize ? richtextgetback() : RGETRAW(f)) | ^ richlex.c:80:36: note: expanded from macro 'RGETRAW' 80 | #define RGETRAW(f) ((*RichtextGetc)(f)) | ^ richlex.c:225:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | RCHAR richtextlex(file,token,TextEnriched, nofill) | ^ In file included from richlex.c:47: ./richlex.h:118:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | extern RCHAR richtextlex( /* void *file,char *token,int TextEnriched */ ); | ^ richlex.c:420:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | static richtextoutstr(str,outparam) | ~~~~~~ ^ | int richlex.c:425:2: 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] 425 | RPUT(*str,outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:420:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static richtextoutstr(str,outparam) | ^ richlex.c:428:1: warning: non-void function does not return a value [-Wreturn-type] 428 | } | ^ richlex.c:434:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 434 | richtextcorrect(inparam,outparam,TextEnriched) | ^ | int richlex.c:442:6: 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] 442 | RPUT('<',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:444:6: 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] 444 | RPUT('>',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:446:6: 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] 446 | RPUT('<',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:447:6: 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] 447 | RPUT('/',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:449:6: 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] 449 | RPUT('>',outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:451:6: 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] 451 | RPUT(RICHCH2_FIRST(c),outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:452:6: 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] 452 | RPUT(RICHCH2_SECOND(c),outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.c:454:6: 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] 454 | RPUT(c,outparam); | ^ richlex.c:82:35: note: expanded from macro 'RPUT' 82 | #define RPUT(c,f) ((*RichtextPutc)(((int)(c)),(f))) | ^ richlex.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 | richtextcorrect(inparam,outparam,TextEnriched) | ^ In file included from richlex.c:47: ./richlex.h:126: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] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ^ richlex.c:457:1: warning: non-void function does not return a value [-Wreturn-type] 457 | } | ^ richlex.c:463:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 463 | richtextencoding(encoding) | ^ | int richlex.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from richlex.c:47: ./richlex.h:146: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] 146 | extern richtextencoding( /* int encoding */ ); | ^ richlex.c:483:1: warning: non-void function does not return a value [-Wreturn-type] 483 | } | ^ 57 warnings generated. rm -f richset.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe richset.c In file included from richset.c:38: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from richset.c:39: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int richset.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | charsetinit (charset,name) | ^ | int richset.c:71:3: 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] 71 | ((CharacterSets[temp] == charset ? name : NULL)); | ^ richset.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 | charsetinit (charset,name) | ^ In file included from richset.c:39: ./richset.h:92: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] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ^ richset.c:74:1: warning: non-void function does not return a value [-Wreturn-type] 74 | } | ^ richset.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | charsetnameinit (name) | ^ | int richset.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:98: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] 98 | extern charsetnameinit ( /* char *name */ ); | ^ richset.c:109:1: warning: non-void function does not return a value [-Wreturn-type] 109 | } | ^ richset.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | charsetpush (charset) | ^ | int richset.c:122:45: 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] 122 | (*(CharSets[NumCharSets - 1] -> encoding)) (-1); /* Leave current */ | ^ richset.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | charsetpush (charset) | ^ In file included from richset.c:39: ./richset.h:103: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] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ^ richset.c:125:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 125 | } | ^ richset.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | charsetpop (charset) | ^ | int richset.c:137:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | richtextencoding (CharEncStack[NumCharSets - 1]); | ^ richset.c:138:45: 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] 138 | (*(CharSets[NumCharSets - 1] -> encoding)) (RichtextCharEncoding); | ^ richset.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 | charsetpop (charset) | ^ In file included from richset.c:39: ./richset.h:110: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] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ^ richset.c:140:1: warning: non-void function does not return a value [-Wreturn-type] 140 | } | ^ richset.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int charsettop (charset) | ^ In file included from richset.c:39: ./richset.h:116: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] 116 | extern int charsettop ( /* struct charsetproc *charset */ ); | ^ richset.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | charmember (member,ch) | ^ | int richset.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:122: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] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ^ richset.c:166:1: warning: non-void function does not return a value [-Wreturn-type] 166 | } | ^ richset.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | charmemberspec (member,ch,charset) | ^ | int richset.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:127: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] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ^ richset.c:178:1: warning: non-void function does not return a value [-Wreturn-type] 178 | } | ^ richset.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | charmemberctrl (member,ch) | ^ | int richset.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from richset.c:39: ./richset.h:133: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] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ^ richset.c:189:1: warning: non-void function does not return a value [-Wreturn-type] 189 | } | ^ richset.c:202:46: 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] 202 | if ((*(CharacterSets[temp] -> command)) (token,negated)) | ^ richset.c:196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | int charsetcommand (token,negated) | ^ In file included from richset.c:39: ./richset.h:145: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] 145 | extern int charsetcommand ( /* char *token, int negated */ ); | ^ richset.c:217:45: 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] 217 | if ((*(CharacterSets[temp] -> single)) (token)) | ^ richset.c:212:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | int charsetsingle (token) | ^ In file included from richset.c:39: ./richset.h:150: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] 150 | extern int charsetsingle ( /* char *token */ ); | ^ 50 warnings generated. rm -f usascii.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe usascii.c In file included from usascii.c:38: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from usascii.c:39: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int usascii.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | usascii_init (name) | ^ | int usascii.c:48:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | richtextencoding (RICH_ENC_US_ASCII); | ^ usascii.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | usascii_init (name) | ^ usascii.c:49:1: warning: non-void function does not return a value [-Wreturn-type] 49 | } | ^ usascii.c:58:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | if (!strcmp(token,"us-ascii")) { | ^ usascii.c:58:10: note: include the header or explicitly provide a declaration for 'strcmp' usascii.c:60:17: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | charsetpop (&usascii_charset); | ^ usascii.c:62:18: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | charsetpush (&usascii_charset); | ^ usascii.c:63:23: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | richtextencoding (RICH_ENC_US_ASCII); | ^ usascii.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int usascii_command (token,negated) | ^ usascii.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | int usascii_single (token) | ^ usascii.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 usascii_width (ch) | ^ usascii.c:92:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | int usascii_fold (ch) | ^ usascii.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | usascii_render (ch,param) | ^ | int usascii.c:105:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | (*RichtextPutc) ((int)ch,param); | ^ usascii.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | usascii_render (ch,param) | ^ usascii.c:106:1: warning: non-void function does not return a value [-Wreturn-type] 106 | } | ^ usascii.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | usascii_encoding (newenc) | ^ | int usascii.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] usascii.c:115:1: warning: non-void function does not return a value [-Wreturn-type] 115 | } | ^ rm -f iso2022.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe iso2022.c cc -I../. -DHAVE_TCGETATTR -O2 -pipe -o richtext richtext.o richlex.o richset.o usascii.o iso2022.o -ltermcap 29 warnings generated. In file included from iso2022.c:45: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int In file included from iso2022.c:46: ./richset.h:92:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | extern charsetinit ( /* struct charsetproc *charset, char *name */ ); | ~~~~~~ ^ | int ./richset.h:98:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | extern charsetnameinit ( /* char *name */ ); | ~~~~~~ ^ | int ./richset.h:103:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | extern charsetpush ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:110:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | extern charsetpop ( /* struct charsetproc *charset */ ); | ~~~~~~ ^ | int ./richset.h:122:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | extern charmember ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int ./richset.h:127:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | extern charmemberspec ( /* struct charsetmember *member, RCHAR ch, | ~~~~~~ ^ | int ./richset.h:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | extern charmemberctrl ( /* struct charsetmember *member, RCHAR ch */ ); | ~~~~~~ ^ | int iso2022.c:91:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | richtextencoding (RICH_ENC_JP_ASCII); | ^ iso2022.c:93:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | richtextencoding (RICH_ENC_KR_ASCII); | ^ iso2022.c:94:2: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | controloutput("\033$)C",0); | ^ iso2022.c:96:19: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | richtextencoding (RICH_ENC_US_ASCII); | ^ iso2022.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 | iso2022_init (name) | ^ iso2022.c:110:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | controloutput("\033(B",0); | ^ iso2022.c:112:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | charsetpop(&iso2022_charset); | ^ iso2022.c:115:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | charsetpush(&iso2022_charset); | ^ iso2022.c:116:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | richtextencoding(RICH_ENC_US_ASCII); | ^ iso2022.c:117:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | controloutput("\033(B",0); | ^ iso2022.c:124:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | controloutput("\017",0); | ^ iso2022.c:125:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | charsetpop(&iso2022_charset); | ^ iso2022.c:128:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | charsetpush(&iso2022_charset); | ^ iso2022.c:129:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | richtextencoding(RICH_ENC_KR_ASCII); | ^ iso2022.c:130:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | controloutput("\033$)C\017",0); | ^ iso2022.c:136:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | controloutput("\033(B",0); | ^ iso2022.c:138:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | charsetpop(&iso2022_charset); | ^ iso2022.c:141:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | charsetpush(&iso2022_charset); | ^ iso2022.c:142:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | richtextencoding(RICH_ENC_JP_ASCII); | ^ iso2022.c:143:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | controloutput("\033(J",0); | ^ iso2022.c:150:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | controloutput("\033(B",0); | ^ iso2022.c:152:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | charsetpop(&iso2022_charset); | ^ iso2022.c:155:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | charsetpush(&iso2022_charset); | ^ iso2022.c:160:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | richtextencoding((SwToOther == '@' ? RICH_ENC_JIS_1978 : | ^ iso2022.c:162:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | controloutput("\033$",0); | ^ iso2022.c:163:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | controlputc(SwToOther); | ^ iso2022.c:169:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | controloutput("\017",0); | ^ iso2022.c:170:16: warning: passing arguments to 'charsetpop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | charsetpop(&iso2022_charset); | ^ iso2022.c:173:17: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | charsetpush(&iso2022_charset); | ^ iso2022.c:174:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | richtextencoding(RICH_ENC_KSC_5601); | ^ iso2022.c:175:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | controloutput("\033$)C\016",0); | ^ iso2022.c:185:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:186:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | charsetpush(&iso2022_charset); | ^ iso2022.c:187:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | richtextencoding((swchar == 'J' ? RICH_ENC_JP_ASCII : | ^ iso2022.c:189:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | controloutput("\033(",0); | ^ iso2022.c:190:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | controlputc(swchar); | ^ iso2022.c:194:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:195:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | charsetpush(&iso2022_charset); | ^ iso2022.c:196:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | richtextencoding((swchar == '@' ? RICH_ENC_JIS_1978 : | ^ iso2022.c:198:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | controloutput("\033$",0); | ^ iso2022.c:199:6: warning: call to undeclared function 'controlputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | controlputc(swchar); | ^ iso2022.c:208:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:209:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | charsetpush(&iso2022_charset); | ^ iso2022.c:210:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | richtextencoding(RICH_ENC_KSC_5601); | ^ iso2022.c:211:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | controloutput("\016",0); | ^ iso2022.c:215:21: warning: passing arguments to 'charsettop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (!charsettop(&iso2022_charset)) | ^ iso2022.c:216:19: warning: passing arguments to 'charsetpush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | charsetpush(&iso2022_charset); | ^ iso2022.c:217:22: warning: passing arguments to 'richtextencoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | richtextencoding(RICH_ENC_KR_ASCII); | ^ iso2022.c:218:6: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | controloutput("\017",0); | ^ iso2022.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int iso2022_command (token,negated) | ^ iso2022.c:229:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | int iso2022_single (token) | ^ iso2022.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 iso2022_width (ch) | ^ iso2022.c:249:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | int iso2022_fold (ch) | ^ iso2022.c:262:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | iso2022_render (ch,param) | ^ | int iso2022.c:271:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | (*RichtextPutc) (033,param); | ^ iso2022.c:272:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | (*RichtextPutc) ('$',param); | ^ iso2022.c:273:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | (*RichtextPutc) (SwToOther,param); | ^ iso2022.c:275:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | (*RichtextPutc) (SO,param); | ^ iso2022.c:278:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | (*RichtextPutc) ((int)((ch & 0xFF00) >> 8),param); | ^ iso2022.c:279:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | (*RichtextPutc) ((int)(ch & 0xFF),param); | ^ iso2022.c:285:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | (*RichtextPutc) (033,param); | ^ iso2022.c:286:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | (*RichtextPutc) ('(',param); | ^ iso2022.c:287:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | (*RichtextPutc) (SwToAscii,param); | ^ iso2022.c:289:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | (*RichtextPutc) (SI,param); | ^ iso2022.c:292: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] 292 | (*RichtextPutc) ((int)(ch & 0xFF),param); | ^ iso2022.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | iso2022_render (ch,param) | ^ iso2022.c:294:1: warning: non-void function does not return a value [-Wreturn-type] 294 | } | ^ iso2022.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 299 | iso2022_encoding (newenc) | ^ | int iso2022.c:303:26: warning: call to undeclared function 'controloutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | case RICH_ENC_US_ASCII: controloutput("\033(B",0); break; | ^ iso2022.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | iso2022_encoding (newenc) | ^ iso2022.c:311:1: warning: non-void function does not return a value [-Wreturn-type] 311 | } | ^ iso2022.c:318:5: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'void ()' [-Wincompatible-function-pointer-types] 318 | iso2022_init, | ^~~~~~~~~~~~ iso2022.c:330:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | int iso2022_fputc (ch,file) | ^ iso2022.c:377:1: warning: non-void function does not return a value [-Wreturn-type] 377 | } | ^ 84 warnings generated. ld: warning: richtext.c(richtext.o:(richtext_main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: richlex.c(richlex.o:(richtextlex)): warning: sprintf() is often misused, please use snprintf() rm -f richtoatk.o cc -c -I../. -DHAVE_TCGETATTR -O2 -pipe richtoatk.c In file included from richtoatk.c:17: ./richlex.h:104:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | extern richtextreset(); | ~~~~~~ ^ | int ./richlex.h:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | extern richtextcorrect( /* void *inparam,void *outparam,int TextEnriched */ ); | ~~~~~~ ^ | int ./richlex.h:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | extern richtextencoding( /* int encoding */ ); | ~~~~~~ ^ | int richtoatk.c:22:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | if (!strcmp(t, "fixed")) return("typewriter"); | ^ richtoatk.c:22:10: note: include the header or explicitly provide a declaration for 'strcmp' richtoatk.c:19:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | char *translate(t) | ^ richtoatk.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | main() { | ^ | int richtoatk.c:35:27: warning: passing arguments to 'richtextlex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | while((c = richtextlex(stdin,tok + 1, 0, 0)) != (RCHAR)EOF) { | ^ richtoatk.c:60:25: warning: call to undeclared function 'ignoretoken'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | } else if (!ignoretoken(token)) { | ^ richtoatk.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | ignoretoken(t) | ^ | int richtoatk.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtoatk.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | controlputc(c) | ^ | int richtoatk.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtoatk.c:92:1: warning: non-void function does not return a value [-Wreturn-type] 92 | } | ^ richtoatk.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | controloutput(s, immediate) | ^ | int richtoatk.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] richtoatk.c:98:1: warning: non-void function does not return a value [-Wreturn-type] 98 | } | ^ 16 warnings generated. cc -I../. -DHAVE_TCGETATTR -O2 -pipe -o richtoatk richtoatk.o richlex.o richset.o usascii.o iso2022.o ld: warning: richlex.c(richlex.o:(richtextlex)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: richlex.c(richlex.o:(richtextlex)): warning: sprintf() is often misused, please use snprintf() rm bin/richtext *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../richmail/richtext richtext) rm bin/richtoatk *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../richmail/richtoatk richtoatk) (cd fonts ; make PREFIX=/usr/local CONFIGDIR=../. CFLAGS="-DHAVE_TCGETATTR -O2 -pipe " CC="cc" LDLIBS="" FONTSUFFIX="pcf") sed -e s@/u/nsb/lib/fonts@/usr/local/lib/metamail/fonts@ < Xshownonascii > shownonascii chmod +x shownonascii bdftopcf heb6x13.bdf > heb6x13.pcf mkfontdir bdftopcf heb8x13.bdf > heb8x13.pcf mkfontdir bdftopcf heb8x13B.bdf > heb8x13B.pcf mkfontdir sed -e s@/u/nsb/lib/fonts@/usr/local/lib/metamail/fonts@ < Xmailto-hebrew > mailto-hebrew chmod +x mailto-hebrew rm bin/shownonascii *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../fonts/shownonascii shownonascii) rm bin/mailto-hebrew *** Error 1 in target 'all' (ignored) (cd bin; ln -s ../fonts/mailto-hebrew mailto-hebrew) rm: bin/richtext: No such file or directory rm: bin/richtoatk: No such file or directory rm: bin/shownonascii: No such file or directory rm: bin/mailto-hebrew: No such file or directory >>> Running package in mail/metamail at 1764696090.93 ===> mail/metamail ===> Faking installation for metamail-2.7p6 rm /exopi-obj/pobj/metamail-2.7/mm2.7/src/bin/*.orig.port (cd metamail ; make CONFIGDIR=../. CFLAGS="-DHAVE_TCGETATTR -O2 -pipe " CC="cc" LDLIBS="") rm bin/metamail (cd bin; ln -s ../metamail/metamail metamail) rm bin/mmencode (cd bin; ln -s ../metamail/mmencode mmencode) rm bin/mimencode (cd bin; ln -s ../metamail/mmencode mimencode) rm man/mimencode.1 (cd man; ln -s ../man/mmencode.1 mimencode.1) rm bin/mailto (cd bin; ln -s ../metamail/mailto mailto) rm bin/splitmail (cd bin; ln -s ../metamail/splitmail splitmail) (cd richmail ; make CONFIGDIR=../. CFLAGS="-DHAVE_TCGETATTR -O2 -pipe " CC="cc" LDLIBS="") rm bin/richtext (cd bin; ln -s ../richmail/richtext richtext) rm bin/richtoatk (cd bin; ln -s ../richmail/richtoatk richtoatk) (cd fonts ; make PREFIX=/exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local CONFIGDIR=../. CFLAGS="-DHAVE_TCGETATTR -O2 -pipe " CC="cc" LDLIBS="" FONTSUFFIX="pcf") rm bin/shownonascii (cd bin; ln -s ../fonts/shownonascii shownonascii) rm bin/mailto-hebrew (cd bin; ln -s ../fonts/mailto-hebrew mailto-hebrew) installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/audiocompose installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/audiosend installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/extcompose installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/getfilename installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/mailserver installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/mailto installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/mailto-hebrew installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/metamail installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/metasend installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/mimencode installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/mmencode installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/patch-metamail installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/rcvAppleSingle installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/richtext installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/richtoatk installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/showaudio installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/showexternal installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/shownonascii installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/showpartial installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/showpicture installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/sndAppleSingle installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/splitmail installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/sun-audio-file installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/sun-message.csh installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/sun-to-mime installing binary /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/bin/sun2mime installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/audiocompose.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/audiosend.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/extcompose.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/getfilename.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/mailto-hebrew.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/mailto.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/metamail.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/metasend.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/mime.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/mimencode.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/mmencode.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/patch-metamail.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/richtext.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/showaudio.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/showexternal.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/shownonascii.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/showpartial.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/showpicture.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man1/splitmail.1 installing man page /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man4/mailcap.4 Renaming old mailcap file to /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/lib/metamail/mailcap.old *** Error 1 in target 'install-all' (ignored) installing file /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/lib/metamail/mailcap cp mailcap /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/lib/metamail (cd fonts ; make PREFIX=/exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local CONFIGDIR=../. CFLAGS="-DHAVE_TCGETATTR -O2 -pipe " CC="cc" LDLIBS="" FONTSUFFIX="pcf" install) mv: /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/lib/metamail/mailcap: No such file or directory mkdir -p /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/lib/metamail/fonts install -c heb6x13.pcf heb8x13.pcf heb8x13B.pcf fonts.alias /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/lib/metamail/fonts if [ -d /usr/X11R6 ]; then mkfontdir /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/lib/metamail/fonts ; fi mv /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man4/mailcap.4 /exopi-obj/pobj/metamail-2.7/fake-amd64/usr/local/man/man5/mailcap.5 ===> Building package for metamail-2.7p6 Create /exopi-cvs/ports/packages/amd64/all/metamail-2.7p6.tgz Creating package metamail-2.7p6 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 2% checksumming|** | 3% checksumming|*** | 5% checksumming|**** | 6% checksumming|***** | 8% checksumming|****** | 9% checksumming|******* | 11% checksumming|******** | 13% checksumming|********* | 14% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 19% checksumming|************ | 20% checksumming|************* | 22% checksumming|************** | 23% checksumming|*************** | 25% checksumming|**************** | 27% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 45% checksumming|***************************** | 47% checksumming|****************************** | 48% checksumming|******************************* | 50% checksumming|******************************* | 52% checksumming|******************************** | 53% checksumming|********************************* | 55% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************* | 61% checksumming|************************************** | 63% checksumming|*************************************** | 64% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 73% checksumming|********************************************** | 75% checksumming|*********************************************** | 77% checksumming|************************************************ | 78% checksumming|************************************************* | 80% checksumming|************************************************** | 81% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|***************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|********** | 16% archiving|******************** | 31% archiving|********************** | 34% archiving|************************ | 37% archiving|***************************** | 45% archiving|******************************** | 51% archiving|*********************************** | 55% archiving|************************************ | 56% archiving|************************************ | 57% archiving|************************************* | 57% archiving|************************************* | 58% archiving|*************************************** | 61% archiving|*************************************** | 62% archiving|**************************************** | 63% archiving|***************************************** | 65% archiving|****************************************** | 65% archiving|****************************************** | 66% archiving|******************************************* | 67% archiving|********************************************* | 71% archiving|*********************************************** | 74% archiving|************************************************** | 77% archiving|*************************************************** | 80% archiving|**************************************************** | 81% archiving|******************************************************** | 87% archiving|********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/metamail-2.7p6.tgz >>> Running clean in mail/metamail at 1764696094.19 ===> mail/metamail ===> Cleaning for metamail-2.7p6 >>> Ended at 1764696094.60 max_stuck=0.00/build=7.12/package=3.18/clean=0.52