=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for metamail-2.7nb12 --- all --- (cd metamail ; /opt/pkg/bin/bmake CONFIGDIR=../. CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSYSV -I/opt/pkg/include/ncurses -I. " CC="gcc" LDLIBS="") --- metamail.o --- --- codes.o --- --- metamail.o --- rm -f metamail.o --- codes.o --- rm -f codes.o gcc -c -I../. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSYSV -I/opt/pkg/include/ncurses -I. codes.c --- metamail.o --- gcc -c -I../. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSYSV -I/opt/pkg/include/ncurses -I. metamail.c In file included from metamail.c:26: .././config.h:127:9: warning: 'bcopy' redefined 127 | #define bcopy(a, b, c) memmove(b, a, c) | ^~~~~ .././config.h:112:9: note: this is the location of the previous definition 112 | #define bcopy(a, b, c) memcpy(b, a, c) | ^~~~~ .././config.h:128:9: warning: 'initstate' redefined 128 | #define initstate srand48 | ^~~~~~~~~ .././config.h:119:9: note: this is the location of the previous definition 119 | #define initstate srand | ^~~~~~~~~ .././config.h:129:9: warning: 'random' redefined 129 | #define random lrand48 | ^~~~~~ .././config.h:120:9: note: this is the location of the previous definition 120 | #define random rand | ^~~~~~ --- codes.o --- In file included from codes.c:18: .././config.h:127:9: warning: 'bcopy' redefined 127 | #define bcopy(a, b, c) memmove(b, a, c) | ^~~~~ .././config.h:112:9: note: this is the location of the previous definition 112 | #define bcopy(a, b, c) memcpy(b, a, c) | ^~~~~ .././config.h:128:9: warning: 'initstate' redefined 128 | #define initstate srand48 | ^~~~~~~~~ .././config.h:119:9: note: this is the location of the previous definition 119 | #define initstate srand | ^~~~~~~~~ .././config.h:129:9: warning: 'random' redefined 129 | #define random lrand48 | ^~~~~~ .././config.h:120:9: note: this is the location of the previous definition 120 | #define random rand | ^~~~~~ .././config.h:117:15: error: conflicting types for 'strchr'; have 'char *(void)' 117 | #define index strchr | ^~~~~~ codes.c:22:14: note: in expansion of macro 'index' 22 | extern char *index(); | ^~~~~ In file included from /usr/include/string.h:35, from codes.c:17: /usr/include/iso/string_iso.h:140:14: note: previous declaration of 'strchr' with type 'char *(const char *, int)' 140 | extern char *strchr(const char *, int); | ^~~~~~ codes.c: In function 'nextcharin': codes.c:53:5: warning: old-style function definition [-Wold-style-definition] 53 | int nextcharin(infile, PortableNewlines) | ^~~~~~~~~~ codes.c: In function 'to64': codes.c:77:1: warning: old-style function definition [-Wold-style-definition] 77 | to64(infile, outfile, PortableNewlines) | ^~~~ codes.c:80:1: error: number of arguments doesn't match prototype 80 | { | ^ In file included from codes.c:20: metamail.h:12:6: error: prototype declaration 12 | void to64(); | ^~~~ codes.c:86:13: error: too many arguments to function 'output64chunk'; expected 0, have 5 86 | output64chunk(c1, 0, 0, 2, outfile); | ^~~~~~~~~~~~~ ~~ codes.c:23:6: note: declared here 23 | void output64chunk(); | ^~~~~~~~~~~~~ codes.c:90:17: error: too many arguments to function 'output64chunk'; expected 0, have 5 90 | output64chunk(c1, c2, 0, 1, outfile); | ^~~~~~~~~~~~~ ~~ codes.c:23:6: note: declared here 23 | void output64chunk(); | ^~~~~~~~~~~~~ codes.c:92:17: error: too many arguments to function 'output64chunk'; expected 0, have 5 92 | output64chunk(c1, c2, c3, 0, outfile); | ^~~~~~~~~~~~~ ~~ codes.c:23:6: note: declared here 23 | void output64chunk(); | ^~~~~~~~~~~~~ codes.c: In function 'output64chunk': codes.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | output64chunk(c1, c2, c3, pads, outfile) | ^~~~~~~~~~~~~ codes.c:109:1: error: number of arguments doesn't match prototype 109 | { | ^ codes.c:23:6: error: prototype declaration 23 | void output64chunk(); | ^~~~~~~~~~~~~ codes.c: In function 'PendingBoundary': codes.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | PendingBoundary(s, Boundaries, BoundaryCt) | ^~~~~~~~~~~~~~~ codes.c:129:1: error: number of arguments doesn't match prototype 129 | { | ^ metamail.h:14:5: error: prototype declaration 14 | int PendingBoundary(); | ^~~~~~~~~~~~~~~ codes.c: In function 'almostputc': codes.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | almostputc(c, outfile, PortableNewlines) | ^~~~~~~~~~ codes.c: In function 'from64': codes.c:186:6: warning: old-style function definition [-Wold-style-definition] 186 | void from64(infile, outfile, boundaries, boundaryct, PortableNewlines) | ^~~~~~ codes.c:191:1: error: number of arguments doesn't match prototype 191 | { | ^ metamail.h:9:6: error: prototype declaration 9 | void from64(); | ^~~~~~ codes.c:214:21: error: too many arguments to function 'PendingBoundary'; expected 0, have 3 214 | && PendingBoundary(Buf, boundaries, boundaryct)) { | ^~~~~~~~~~~~~~~ ~~~ codes.c:125:1: note: declared here 125 | PendingBoundary(s, Boundaries, BoundaryCt) | ^~~~~~~~~~~~~~~ codes.c: In function 'toqp': codes.c:288:1: warning: old-style function definition [-Wold-style-definition] 288 | toqp(infile, outfile) | ^~~~ codes.c:290:1: error: number of arguments doesn't match prototype 290 | { | ^ metamail.h:13:6: error: prototype declaration 13 | void toqp(); | ^~~~ codes.c: In function 'fromqp': codes.c:363:6: warning: old-style function definition [-Wold-style-definition] 363 | void fromqp(infile, outfile, boundaries, boundaryct) | ^~~~~~ codes.c:367:1: error: number of arguments doesn't match prototype 367 | { | ^ metamail.h:10:6: error: prototype declaration 10 | void fromqp(); | ^~~~~~ codes.c:383:21: error: too many arguments to function 'PendingBoundary'; expected 0, have 3 383 | && PendingBoundary(Buf, boundaries, boundaryct)) { | ^~~~~~~~~~~~~~~ ~~~ codes.c:125:1: note: declared here 125 | PendingBoundary(s, Boundaries, BoundaryCt) | ^~~~~~~~~~~~~~~ --- metamail.o --- .././config.h:128:19: error: conflicting types for 'srand48'; have 'char *(unsigned int, char *, size_t)' {aka 'char *(unsigned int, char *, long unsigned int)'} 128 | #define initstate srand48 | ^~~~~~~ In file included from metamail.c:102: /usr/include/stdlib.h:161:13: note: previous declaration of 'srand48' with type 'void(long int)' 161 | extern void srand48(long); | ^~~~~~~ metamail.c:145:14: error: conflicting types for 'popen'; have 'FILE *(void)' 145 | extern FILE *popen(); | ^~~~~ In file included from metamail.c:22: /usr/include/stdio.h:325:18: note: previous declaration of 'popen' with type 'FILE *(const char *, const char *)' 325 | extern FILE *popen(const char *, const char *); | ^~~~~ metamail.c: In function 'Cleanse': metamail.c:255:7: warning: old-style function definition [-Wold-style-definition] 255 | char *Cleanse(s) /* no leading or trailing space, all lower case */ | ^~~~~~~ metamail.c: In function 'UnquoteString': metamail.c:272:7: warning: old-style function definition [-Wold-style-definition] 272 | char *UnquoteString(s) | ^~~~~~~~~~~~~ metamail.c: In function 'cleanup': metamail.c:297:1: warning: old-style function definition [-Wold-style-definition] 297 | cleanup(signum) | ^~~~~~~ metamail.c:299:1: error: number of arguments doesn't match prototype 299 | { | ^ metamail.c:253:9: error: prototype declaration 253 | sigtype cleanup(); | ^~~~~~~ metamail.c: In function 'modpath': metamail.c:339:6: warning: old-style function definition [-Wold-style-definition] 339 | void modpath(auxpath) | ^~~~~~~ metamail.c: In function 'main': metamail.c:357:1: warning: old-style function definition [-Wold-style-definition] 357 | main(argc, argv) | ^~~~ metamail.c:365:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 365 | signal(SIGINT, cleanup); | ^~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from metamail.c:48: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:367:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 367 | signal(SIGILL, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:368:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 368 | signal(SIGTRAP, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:369:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 369 | signal(SIGIOT, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:370:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 370 | signal(SIGFPE, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:372:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 372 | signal(SIGEMT, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:373:20: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 373 | signal(SIGBUS, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:375:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 375 | signal(SIGSEGV, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:376:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 376 | signal(SIGTERM, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c:380:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 380 | signal(SIGXCPU, cleanup); | ^~~~~~~ | | | void (*)(void) /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ metamail.c:297:1: note: 'cleanup' declared here 297 | cleanup(signum) | ^~~~~~~ metamail.c: In function 'QueueNextFile': metamail.c:433:1: warning: old-style function definition [-Wold-style-definition] 433 | QueueNextFile(fname) | ^~~~~~~~~~~~~ metamail.c: In function 'HandleMessage': metamail.c:450:1: warning: old-style function definition [-Wold-style-definition] 450 | HandleMessage(SquirrelFile, nestingdepth) | ^~~~~~~~~~~~~ metamail.c:459:14: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 459 | if (!lc2strncmp(ContentType, "message/", 8) | ^~~~~~~~~~ ~~~~~~~~~~~ In file included from metamail.c:29: metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:460:18: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 460 | || !lc2strncmp(ContentType, "multipart/", 10)) { | ^~~~~~~~~~ ~~~~~~~~~~~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:471:10: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 471 | if (!lc2strcmp(ContentType, "message") | ^~~~~~~~~ ~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:472:14: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 472 | || !lc2strcmp(ContentType, "message/rfc822")) { | ^~~~~~~~~ ~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:478:16: error: too many arguments to function 'FindParam'; expected 0, have 1 478 | boundary = FindParam("boundary"); | ^~~~~~~~~ ~~~~~~~~~~ metamail.c:144:7: note: declared here 144 | char *FindParam(); | ^~~~~~~~~ metamail.c:480:10: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 480 | if (!lc2strncmp(ContentType, "multipart", 9)) { | ^~~~~~~~~~ ~~~~~~~~~~~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:547:17: error: too many arguments to function 'ConsumeRestOfPart'; expected 0, have 1 547 | ConsumeRestOfPart(NULL); | ^~~~~~~~~~~~~~~~~ ~~~~ metamail.c:250:6: note: declared here 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c:555:13: error: too many arguments to function 'ConsumeRestOfPart'; expected 0, have 1 555 | ConsumeRestOfPart(NULL); | ^~~~~~~~~~~~~~~~~ ~~~~ metamail.c:250:6: note: declared here 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c:582:25: error: too many arguments to function 'FindParam'; expected 0, have 1 582 | suggestedname = FindParam("name"); | ^~~~~~~~~ ~~~~~~ metamail.c:144:7: note: declared here 144 | char *FindParam(); | ^~~~~~~~~ metamail.c:589:25: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 589 | octetstream = ! lc2strcmp(ContentType, "application/octet-stream"); | ^~~~~~~~~ ~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:609:25: error: too many arguments to function 'TranslateInputToOutput'; expected 0, have 4 609 | TranslateInputToOutput(InputFP, stdout, EncodingCode, "text"); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ metamail.c:118:6: note: declared here 118 | void TranslateInputToOutput(); | ^~~~~~~~~~~~~~~~~~~~~~ --- codes.o --- *** [codes.o] Error code 1 bmake[1]: stopped making "all" in /tmp/work/mail/metamail/work/mm2.7/src/metamail --- metamail.o --- metamail.c:662:25: error: too many arguments to function 'ConsumeRestOfPart'; expected 0, have 1 662 | ConsumeRestOfPart(NULL); | ^~~~~~~~~~~~~~~~~ ~~~~ metamail.c:250:6: note: declared here 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c:707:13: error: too many arguments to function 'ConsumeRestOfPart'; expected 0, have 1 707 | ConsumeRestOfPart(NULL); | ^~~~~~~~~~~~~~~~~ ~~~~ metamail.c:250:6: note: declared here 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c:711:13: error: too many arguments to function 'TranslateInputToOutput'; expected 0, have 4 711 | TranslateInputToOutput(InputFP, fp, EncodingCode, ContentType); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ metamail.c:118:6: note: declared here 118 | void TranslateInputToOutput(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c: In function 'ProcessArguments': metamail.c:726:1: warning: old-style function definition [-Wold-style-definition] 726 | ProcessArguments(argc, argv) | ^~~~~~~~~~~~~~~~ metamail.c:840:21: error: too many arguments to function 'ParseContentParameters'; expected 0, have 1 840 | ParseContentParameters(ContentType); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ metamail.c:251:6: note: declared here 251 | void ParseContentParameters(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c:867:29: error: too many arguments to function 'popen'; expected 0, have 2 867 | tmpfp = popen(LPRCOMMAND, "w"); | ^~~~~ metamail.c:145:14: note: declared here 145 | extern FILE *popen(); | ^~~~~ metamail.c:939:9: error: too many arguments to function 'RunInNewWindow'; expected 0, have 3 939 | RunInNewWindow(argv, argc, &SourceFileName); | ^~~~~~~~~~~~~~ ~~~~ metamail.c:121:6: note: declared here 121 | void RunInNewWindow(); | ^~~~~~~~~~~~~~ metamail.c:997:9: error: too many arguments to function 'RunInNewWindow'; expected 0, have 3 997 | RunInNewWindow(argv, argc, &SourceFileName); | ^~~~~~~~~~~~~~ ~~~~ metamail.c:121:6: note: declared here 121 | void RunInNewWindow(); | ^~~~~~~~~~~~~~ metamail.c: In function 'RunInNewWindow': metamail.c:1012:1: warning: old-style function definition [-Wold-style-definition] 1012 | RunInNewWindow(argv, argc, SourceFileNamePtr) | ^~~~~~~~~~~~~~ metamail.c:1015:1: error: number of arguments doesn't match prototype 1015 | { | ^ metamail.c:121:6: error: prototype declaration 121 | void RunInNewWindow(); | ^~~~~~~~~~~~~~ metamail.c:1048:5: error: too many arguments to function 'CreateNewWindowPrefix'; expected 0, have 1 1048 | CreateNewWindowPrefix(FullCmd); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ metamail.c:122:6: note: declared here 122 | void CreateNewWindowPrefix(); | ^~~~~~~~~~~~~~~~~~~~~ metamail.c: In function 'ProcessMailcapFiles': metamail.c:1094:1: warning: old-style function definition [-Wold-style-definition] 1094 | ProcessMailcapFiles(SquirrelFile) | ^~~~~~~~~~~~~~~~~~~ metamail.c:1142:14: error: too many arguments to function 'ProcessMailcapFile'; expected 0, have 2 1142 | if (!ProcessMailcapFile(path, SquirrelFile)) return(0); | ^~~~~~~~~~~~~~~~~~ ~~~~ metamail.c:124:5: note: declared here 124 | int ProcessMailcapFile(); | ^~~~~~~~~~~~~~~~~~ metamail.c: In function 'TryBuiltIns': metamail.c:1151:1: warning: old-style function definition [-Wold-style-definition] 1151 | TryBuiltIns(SquirrelFile) | ^~~~~~~~~~~ metamail.c:1158:14: error: too many arguments to function 'TryMailcapEntry'; expected 0, have 2 1158 | if (!TryMailcapEntry(SquirrelFile ? BuiltInsAlternative[i] : BuiltIns[i], SquirrelFile)) return(0); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metamail.c:125:5: note: declared here 125 | int TryMailcapEntry(); | ^~~~~~~~~~~~~~~ metamail.c: In function 'ProcessMailcapFile': metamail.c:1164:1: warning: old-style function definition [-Wold-style-definition] 1164 | ProcessMailcapFile(file, SquirrelFile) | ^~~~~~~~~~~~~~~~~~ metamail.c:1166:1: error: number of arguments doesn't match prototype 1166 | { | ^ metamail.c:124:5: error: prototype declaration 124 | int ProcessMailcapFile(); | ^~~~~~~~~~~~~~~~~~ metamail.c:1171:11: error: too many arguments to function 'IsDirectory'; expected 0, have 1 1171 | res = IsDirectory(file); | ^~~~~~~~~~~ ~~~~ metamail.c:126:5: note: declared here 126 | int IsDirectory(); | ^~~~~~~~~~~ metamail.c:1185:13: error: too many arguments to function 'GetMailcapEntry'; expected 0, have 2 1185 | if (GetMailcapEntry(fp, &mc)) { | ^~~~~~~~~~~~~~~ ~~ metamail.c:128:5: note: declared here 128 | int GetMailcapEntry(); | ^~~~~~~~~~~~~~~ metamail.c:1186:18: error: too many arguments to function 'TryMailcapEntry'; expected 0, have 2 1186 | if (!TryMailcapEntry(mc, SquirrelFile)) { | ^~~~~~~~~~~~~~~ ~~ metamail.c:125:5: note: declared here 125 | int TryMailcapEntry(); | ^~~~~~~~~~~~~~~ metamail.c: In function 'ShortCommand': metamail.c:1203:7: warning: old-style function definition [-Wold-style-definition] 1203 | char *ShortCommand(progname) | ^~~~~~~~~~~~ metamail.c: In function 'TryMailcapEntry': metamail.c:1237:1: warning: old-style function definition [-Wold-style-definition] 1237 | TryMailcapEntry(mc, SquirrelFile) | ^~~~~~~~~~~~~~~ metamail.c:1240:1: error: number of arguments doesn't match prototype 1240 | { | ^ metamail.c:125:5: error: prototype declaration 125 | int TryMailcapEntry(); | ^~~~~~~~~~~~~~~ metamail.c:1244:9: error: too many arguments to function 'CtypeMatch'; expected 0, have 2 1244 | if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { | ^~~~~~~~~~ ~~~~~~~~~~~ metamail.c:127:5: note: declared here 127 | int CtypeMatch(); | ^~~~~~~~~~ metamail.c:1244:52: error: too many arguments to function 'PassesTest'; expected 0, have 1 1244 | if (CtypeMatch(ContentType, mc.contenttype) && PassesTest(&mc)) { | ^~~~~~~~~~ ~~~ metamail.c:132:5: note: declared here 132 | int PassesTest(); | ^~~~~~~~~~ metamail.c:1250:20: error: too many arguments to function 'ExecuteMailcapEntry'; expected 0, have 3 1250 | return(ExecuteMailcapEntry(mc, TmpFileName, ContentType)); | ^~~~~~~~~~~~~~~~~~~ ~~ metamail.c:129:5: note: declared here 129 | int ExecuteMailcapEntry(); | ^~~~~~~~~~~~~~~~~~~ metamail.c: In function 'SaveSquirrelFile': metamail.c:1261:1: warning: old-style function definition [-Wold-style-definition] 1261 | SaveSquirrelFile(SquirrelFile) | ^~~~~~~~~~~~~~~~ metamail.c:1279:5: error: too many arguments to function 'TranslateInputToOutput'; expected 0, have 4 1279 | TranslateInputToOutput(InputFP, outfp, EncodingCode, ContentType); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ metamail.c:118:6: note: declared here 118 | void TranslateInputToOutput(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c: In function 'ExecuteMailcapEntry': metamail.c:1287:1: warning: old-style function definition [-Wold-style-definition] 1287 | ExecuteMailcapEntry(mc, TmpFileName, ThisContentType) | ^~~~~~~~~~~~~~~~~~~ metamail.c:1290:1: error: number of arguments doesn't match prototype 1290 | { | ^ metamail.c:129:5: error: prototype declaration 129 | int ExecuteMailcapEntry(); | ^~~~~~~~~~~~~~~~~~~ metamail.c:1298:5: error: too many arguments to function 'BuildCommand'; expected 0, have 5 1298 | BuildCommand(cmd, PrintingMode ? mc.printcommand : mc.command, TmpFileName, &UsedTmpFileName, &PartsWritten); | ^~~~~~~~~~~~ ~~~ metamail.c:133:6: note: declared here 133 | void BuildCommand(); | ^~~~~~~~~~~~ metamail.c:1318:10: error: too many arguments to function 'NeedToAskBeforeExecuting'; expected 0, have 1 1318 | if (!NeedToAskBeforeExecuting(ThisContentType) | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.c:137:5: note: declared here 137 | int NeedToAskBeforeExecuting(); | ^~~~~~~~~~~~~~~~~~~~~~~~ metamail.c:1319:13: error: too many arguments to function 'OKToRun'; expected 0, have 3 1319 | || OKToRun(ThisContentType, cmd, mc.label)) { | ^~~~~~~ ~~~~~~~~~~~~~~~ metamail.c:130:5: note: declared here 130 | int OKToRun(); | ^~~~~~~ metamail.c:1339:17: error: too many arguments to function 'strcatquoting'; expected 0, have 2 1339 | strcatquoting(cmd, CParams[j]); | ^~~~~~~~~~~~~ ~~~ metamail.c:135:6: note: declared here 135 | void strcatquoting(); | ^~~~~~~~~~~~~ metamail.c:1341:17: error: too many arguments to function 'strcatquoting'; expected 0, have 2 1341 | strcatquoting(cmd, CParamValues[j]); | ^~~~~~~~~~~~~ ~~~ metamail.c:135:6: note: declared here 135 | void strcatquoting(); | ^~~~~~~~~~~~~ metamail.c:1345:13: error: too many arguments to function 'CreateNewWindowPrefix'; expected 0, have 1 1345 | CreateNewWindowPrefix(FullCmd); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ metamail.c:122:6: note: declared here 122 | void CreateNewWindowPrefix(); | ^~~~~~~~~~~~~~~~~~~~~ metamail.c:1357:27: error: too many arguments to function 'WriteTmpFile'; expected 0, have 2 1357 | isempty = WriteTmpFile(TmpFileName, ThisContentType); | ^~~~~~~~~~~~ ~~~~~~~~~~~ metamail.c:139:5: note: declared here 139 | int WriteTmpFile(); | ^~~~~~~~~~~~ metamail.c:1371:34: error: too many arguments to function 'ExecuteCommand'; expected 0, have 2 1371 | resultcode = ExecuteCommand(TmpCmd, 1); | ^~~~~~~~~~~~~~ ~~~~~~ metamail.c:131:5: note: declared here 131 | int ExecuteCommand(); | ^~~~~~~~~~~~~~ metamail.c:1375:34: error: too many arguments to function 'ExecuteCommand'; expected 0, have 2 1375 | resultcode = ExecuteCommand(FullCmd, 1); | ^~~~~~~~~~~~~~ ~~~~~~~ metamail.c:131:5: note: declared here 131 | int ExecuteCommand(); | ^~~~~~~~~~~~~~ metamail.c:1385:20: error: too many arguments to function 'ExecuteCommand'; expected 0, have 2 1385 | (void) ExecuteCommand(FullCmd, 0); | ^~~~~~~~~~~~~~ ~~~~~~~ metamail.c:131:5: note: declared here 131 | int ExecuteCommand(); | ^~~~~~~~~~~~~~ metamail.c:1386:21: error: too many arguments to function 'popen'; expected 0, have 2 1386 | tmpfp = popen(FullCmd, WRITE_BINARY); | ^~~~~ ~~~~~~~ metamail.c:145:14: note: declared here 145 | extern FILE *popen(); | ^~~~~ metamail.c:1387:13: error: too many arguments to function 'TranslateInputToOutput'; expected 0, have 4 1387 | TranslateInputToOutput(InputFP, tmpfp, EncodingCode, ThisContentType); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ metamail.c:118:6: note: declared here 118 | void TranslateInputToOutput(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c:1409:28: error: too many arguments to function 'ConsumeRestOfPart'; expected 0, have 1 1409 | if (!PartsWritten) ConsumeRestOfPart(NULL); | ^~~~~~~~~~~~~~~~~ ~~~~ metamail.c:250:6: note: declared here 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c: In function 'PassesTest': metamail.c:1435:1: warning: old-style function definition [-Wold-style-definition] 1435 | PassesTest(mc) | ^~~~~~~~~~ metamail.c:1437:1: error: number of arguments doesn't match prototype 1437 | { | ^ metamail.c:132:5: error: prototype declaration 132 | int PassesTest(); | ^~~~~~~~~~ metamail.c:1445:5: error: too many arguments to function 'BuildCommand'; expected 0, have 5 1445 | BuildCommand(cmd, mc->testcommand, TmpFileName, NULL, NULL); | ^~~~~~~~~~~~ ~~~ metamail.c:133:6: note: declared here 133 | void BuildCommand(); | ^~~~~~~~~~~~ metamail.c: In function 'GetCommand': metamail.c:1457:1: warning: old-style function definition [-Wold-style-definition] 1457 | GetCommand(s, t) | ^~~~~~~~~~ metamail.c: In function 'GetMailcapEntry': metamail.c:1489:1: warning: old-style function definition [-Wold-style-definition] 1489 | GetMailcapEntry(fp, mc) | ^~~~~~~~~~~~~~~ metamail.c:1492:1: error: number of arguments doesn't match prototype 1492 | { | ^ metamail.c:128:5: error: prototype declaration 128 | int GetMailcapEntry(); | ^~~~~~~~~~~~~~~ metamail.c:1571:17: error: too many arguments to function 'ExceptionalNewline'; expected 0, have 2 1571 | ExceptionalNewline(mc->contenttype, atoi(eq)); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.h:8:5: note: declared here 8 | int ExceptionalNewline(); | ^~~~~~~~~~~~~~~~~~ metamail.c: In function 'ExitWithError': metamail.c:1583:1: warning: old-style function definition [-Wold-style-definition] 1583 | ExitWithError(txt) | ^~~~~~~~~~~~~ metamail.c: In function 'FreshHeaderCopy': metamail.c:1591:1: warning: old-style function definition [-Wold-style-definition] 1591 | FreshHeaderCopy(s) | ^~~~~~~~~~~~~~~ metamail.c: In function 'Read822Prefix': metamail.c:1611:1: warning: old-style function definition [-Wold-style-definition] 1611 | Read822Prefix(PrintHeads, nestingdepth) | ^~~~~~~~~~~~~ metamail.c:1659:34: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 1659 | if (!ContentType && !lc2strncmp(s, "\ncontent-type:", 14)) { | ^~~~~~~~~~ ~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:1679:17: error: too many arguments to function 'ParseContentParameters'; expected 0, have 1 1679 | ParseContentParameters(ContentType); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ metamail.c:251:6: note: declared here 251 | void ParseContentParameters(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c:1681:45: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 1681 | } else if (!ContentEncoding && !lc2strncmp(s, "\ncontent-transfer-encoding:", 27)) { | ^~~~~~~~~~ ~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:1684:25: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 1684 | } else if (!lc2strncmp(s, "\nsubject:", 9)) { | ^~~~~~~~~~ ~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:1687:25: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 1687 | } else if (!lc2strncmp(s, "\nfrom:", 6)) { | ^~~~~~~~~~ ~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:1690:25: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 1690 | } else if (!lc2strncmp(s, "\ncontent-description:", 4)) { | ^~~~~~~~~~ ~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:1709:21: error: too many arguments to function 'phead'; expected 0, have 1 1709 | phead(s+1); | ^~~~~ ~~~ metamail.c:142:6: note: declared here 142 | void phead(); | ^~~~~ metamail.c: In function 'PrepareMessage': metamail.c:1740:14: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 1740 | if (!lc2strcmp(ContentEncoding, "base64")) { | ^~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:1742:21: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 1742 | } else if (!lc2strcmp(ContentEncoding, "quoted-printable")) { | ^~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:1744:21: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 1744 | } else if (!lc2strncmp (ContentEncoding, "x-uue", 5)) { | ^~~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:1748:17: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 1748 | if (lc2strcmp(ContentEncoding, "none") | ^~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:1749:22: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 1749 | && !lc2strcmp(ContentEncoding, "8bit") | ^~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:1750:22: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 1750 | && !lc2strcmp(ContentEncoding, "7bit")) { | ^~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c: In function 'SetUpEnvironment': metamail.c:1788:5: error: too many arguments to function 'EliminateNastyChars'; expected 0, have 1 1788 | EliminateNastyChars(MailSummary); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ metamail.c:140:6: note: declared here 140 | void EliminateNastyChars(); | ^~~~~~~~~~~~~~~~~~~ metamail.c: In function 'OKToRun': metamail.c:1889:1: warning: old-style function definition [-Wold-style-definition] 1889 | OKToRun(ctype, progname, label) | ^~~~~~~ metamail.c:1891:1: error: number of arguments doesn't match prototype 1891 | { | ^ metamail.c:130:5: error: prototype declaration 130 | int OKToRun(); | ^~~~~~~ metamail.c: In function 'EliminateNastyChars': metamail.c:1915:1: warning: old-style function definition [-Wold-style-definition] 1915 | EliminateNastyChars(s) | ^~~~~~~~~~~~~~~~~~~ metamail.c:1917:1: error: number of arguments doesn't match prototype 1917 | { | ^ metamail.c:140:6: error: prototype declaration 140 | void EliminateNastyChars(); | ^~~~~~~~~~~~~~~~~~~ metamail.c: In function 'StripTrailingSpace': metamail.c:1930:1: warning: old-style function definition [-Wold-style-definition] 1930 | StripTrailingSpace(s) | ^~~~~~~~~~~~~~~~~~ metamail.c: In function 'findcolon': metamail.c:1972:1: warning: old-style function definition [-Wold-style-definition] 1972 | findcolon(hdr) | ^~~~~~~~~ metamail.c: In function 'maybephead': metamail.c:1982:6: warning: old-style function definition [-Wold-style-definition] 1982 | void maybephead(hdr) | ^~~~~~~~~~ metamail.c:1995:22: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 1995 | || !lc2strncmp(hdr, KeyHeadList[numkeys], len)) { | ^~~~~~~~~~ ~~~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:1996:31: error: too many arguments to function 'phead'; expected 0, have 1 1996 | if (!KeyKeep) phead(hdr); | ^~~~~ ~~~ metamail.c:142:6: note: declared here 142 | void phead(); | ^~~~~ metamail.c:2000:22: error: too many arguments to function 'phead'; expected 0, have 1 2000 | if (KeyKeep) phead(hdr); | ^~~~~ ~~~ metamail.c:142:6: note: declared here 142 | void phead(); | ^~~~~ metamail.c:2006:22: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 2006 | || !lc2strncmp(">from", KeyHeadList[numkeys], 5)) { | ^~~~~~~~~~ ~~~~~~~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c:2007:31: error: too many arguments to function 'phead'; expected 0, have 1 2007 | if (!KeyKeep) phead(hdr); | ^~~~~ ~~~ metamail.c:142:6: note: declared here 142 | void phead(); | ^~~~~ metamail.c:2011:22: error: too many arguments to function 'phead'; expected 0, have 1 2011 | if (KeyKeep) phead(hdr); | ^~~~~ ~~~ metamail.c:142:6: note: declared here 142 | void phead(); | ^~~~~ metamail.c: In function 'phead': metamail.c:2017:1: warning: old-style function definition [-Wold-style-definition] 2017 | phead(s) | ^~~~~ metamail.c:2019:1: error: number of arguments doesn't match prototype 2019 | { | ^ metamail.c:142:6: error: prototype declaration 142 | void phead(); | ^~~~~ metamail.c:2030:5: error: too many arguments to function 'PrintHeader'; expected 0, have 2 2030 | PrintHeader(s, 1); | ^~~~~~~~~~~ ~ metamail.c:249:6: note: declared here 249 | void PrintHeader(); | ^~~~~~~~~~~ metamail.c: In function 'PrintHeader': metamail.c:2038:6: warning: old-style function definition [-Wold-style-definition] 2038 | void PrintHeader(s, ShowLeadingWhitespace) | ^~~~~~~~~~~ metamail.c:2041:1: error: number of arguments doesn't match prototype 2041 | { | ^ metamail.c:249:6: error: prototype declaration 249 | void PrintHeader(); | ^~~~~~~~~~~ metamail.c:2067:9: error: too many arguments to function 'PrintHeader'; expected 0, have 2 2067 | PrintHeader(++s, 1); | ^~~~~~~~~~~ ~~~ metamail.c:2038:6: note: declared here 2038 | void PrintHeader(s, ShowLeadingWhitespace) | ^~~~~~~~~~~ metamail.c:2074:9: error: too many arguments to function 'PrintHeader'; expected 0, have 2 2074 | PrintHeader(++s,1); | ^~~~~~~~~~~ ~~~ metamail.c:2038:6: note: declared here 2038 | void PrintHeader(s, ShowLeadingWhitespace) | ^~~~~~~~~~~ metamail.c:2080:9: error: too many arguments to function 'PrintHeader'; expected 0, have 2 2080 | PrintHeader(++s, 1); | ^~~~~~~~~~~ ~~~ metamail.c:2038:6: note: declared here 2038 | void PrintHeader(s, ShowLeadingWhitespace) | ^~~~~~~~~~~ metamail.c:2089:9: error: too many arguments to function 'PrintHeader'; expected 0, have 2 2089 | PrintHeader(++s, 1); | ^~~~~~~~~~~ ~~~ metamail.c:2038:6: note: declared here 2038 | void PrintHeader(s, ShowLeadingWhitespace) | ^~~~~~~~~~~ metamail.c:2102:9: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 2102 | if (lc2strcmp(charset, PrevCharset)) { | ^~~~~~~~~ ~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:2111:30: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 2111 | if (!charsetinuse || lc2strcmp(charsetinuse, PrevCharset)) { | ^~~~~~~~~ ~~~~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:2139:17: error: too many arguments to function 'TranslateInputToOutput'; expected 0, have 4 2139 | TranslateInputToOutput(fp, stdout, ecode, "text"); | ^~~~~~~~~~~~~~~~~~~~~~ ~~ metamail.c:118:6: note: declared here 118 | void TranslateInputToOutput(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c:2148:5: error: too many arguments to function 'PrintHeader'; expected 0, have 2 2148 | PrintHeader(txtend + 2, 0); | ^~~~~~~~~~~ ~~~~~~~~~~ metamail.c:2038:6: note: declared here 2038 | void PrintHeader(s, ShowLeadingWhitespace) | ^~~~~~~~~~~ metamail.c: In function 'BuildCommand': metamail.c:2152:1: warning: old-style function definition [-Wold-style-definition] 2152 | BuildCommand(Buf, controlstring, TmpFileName, UsedTmpFileName, PartsWritten) | ^~~~~~~~~~~~ metamail.c:2156:1: error: number of arguments doesn't match prototype 2156 | { | ^ metamail.c:133:6: error: prototype declaration 133 | void BuildCommand(); | ^~~~~~~~~~~~ metamail.c:2191:36: error: too many arguments to function 'FindParam'; expected 0, have 1 2191 | boundary = FindParam("boundary"); | ^~~~~~~~~ ~~~~~~~~~~ metamail.c:144:7: note: declared here 144 | char *FindParam(); | ^~~~~~~~~ metamail.c:2274:29: error: too many arguments to function 'WriteTmpFile'; expected 0, have 2 2274 | WriteTmpFile(thispart->fname, thispart->ctype); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~ metamail.c:139:5: note: declared here 139 | int WriteTmpFile(); | ^~~~~~~~~~~~ metamail.c:2293:29: error: too many arguments to function 'ConsumeRestOfPart'; expected 0, have 1 2293 | ConsumeRestOfPart(NULL); | ^~~~~~~~~~~~~~~~~ ~~~~ metamail.c:250:6: note: declared here 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c:2334:25: error: too many arguments to function 'FindParam'; expected 0, have 1 2334 | p = FindParam(from); | ^~~~~~~~~ ~~~~ metamail.c:144:7: note: declared here 144 | char *FindParam(); | ^~~~~~~~~ metamail.c:2340:21: error: too many arguments to function 'strcpynoquotes'; expected 0, have 2 2340 | strcpynoquotes(to, p); | ^~~~~~~~~~~~~~ ~~ metamail.c:141:6: note: declared here 141 | void strcpynoquotes(); | ^~~~~~~~~~~~~~ metamail.c:2348:21: error: too many arguments to function 'strcpynoquotes'; expected 0, have 2 2348 | strcpynoquotes(to, ContentType); | ^~~~~~~~~~~~~~ ~~ metamail.c:141:6: note: declared here 141 | void strcpynoquotes(); | ^~~~~~~~~~~~~~ metamail.c: In function 'strcpynoquotes': metamail.c:2365:1: warning: old-style function definition [-Wold-style-definition] 2365 | strcpynoquotes(t,f) | ^~~~~~~~~~~~~~ metamail.c:2367:1: error: number of arguments doesn't match prototype 2367 | { | ^ metamail.c:141:6: error: prototype declaration 141 | void strcpynoquotes(); | ^~~~~~~~~~~~~~ metamail.c: In function 'WriteTmpFile': metamail.c:2377:1: warning: old-style function definition [-Wold-style-definition] 2377 | WriteTmpFile(fname, ctype) | ^~~~~~~~~~~~ metamail.c:2380:1: error: number of arguments doesn't match prototype 2380 | { | ^ metamail.c:139:5: error: prototype declaration 139 | int WriteTmpFile(); | ^~~~~~~~~~~~ metamail.c:2389:5: error: too many arguments to function 'TranslateInputToOutput'; expected 0, have 4 2389 | TranslateInputToOutput(InputFP, fpout, EncodingCode, ctype); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ metamail.c:118:6: note: declared here 118 | void TranslateInputToOutput(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c: In function 'TranslateInputToOutput': metamail.c:2397:1: warning: old-style function definition [-Wold-style-definition] 2397 | TranslateInputToOutput(InputFP, OutputFP, Ecode, ctype) | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c:2401:1: error: number of arguments doesn't match prototype 2401 | { | ^ metamail.c:118:6: error: prototype declaration 118 | void TranslateInputToOutput(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c:2406:85: error: too many arguments to function 'DoesNeedPortableNewlines'; expected 0, have 1 2406 | from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ metamail.h:15:5: note: declared here 15 | int DoesNeedPortableNewlines(); | ^~~~~~~~~~~~~~~~~~~~~~~~ metamail.c:2406:13: error: too many arguments to function 'from64'; expected 0, have 5 2406 | from64(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt, DoesNeedPortableNewlines(ctype)); | ^~~~~~ ~~~~~~~ metamail.h:9:6: note: declared here 9 | void from64(); | ^~~~~~ metamail.c:2409:13: error: too many arguments to function 'fromqp'; expected 0, have 4 2409 | fromqp(InputFP, OutputFP, InMultipart ? Boundaries : NULL, &BoundaryCt); | ^~~~~~ ~~~~~~~ metamail.h:10:6: note: declared here 10 | void fromqp(); | ^~~~~~ metamail.c:2412:13: error: too many arguments to function 'fromuue'; expected 0, have 4 2412 | fromuue(InputFP, OutputFP, InMultipart ? Boundaries: NULL, &BoundaryCt); | ^~~~~~~ ~~~~~~~ metamail.h:11:6: note: declared here 11 | void fromuue(); | ^~~~~~~ metamail.c:2415:13: error: too many arguments to function 'ConsumeRestOfPart'; expected 0, have 1 2415 | ConsumeRestOfPart(OutputFP); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~ metamail.c:250:6: note: declared here 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c: In function 'CreateNewWindowPrefix': metamail.c:2425:1: warning: old-style function definition [-Wold-style-definition] 2425 | CreateNewWindowPrefix(Prefix) | ^~~~~~~~~~~~~~~~~~~~~ metamail.c:2427:1: error: number of arguments doesn't match prototype 2427 | { | ^ metamail.c:122:6: error: prototype declaration 122 | void CreateNewWindowPrefix(); | ^~~~~~~~~~~~~~~~~~~~~ metamail.c: In function 'NeedToAskBeforeExecuting': metamail.c:2488:1: warning: old-style function definition [-Wold-style-definition] 2488 | NeedToAskBeforeExecuting(type) | ^~~~~~~~~~~~~~~~~~~~~~~~ metamail.c:2490:1: error: number of arguments doesn't match prototype 2490 | { | ^ metamail.c:137:5: error: prototype declaration 137 | int NeedToAskBeforeExecuting(); | ^~~~~~~~~~~~~~~~~~~~~~~~ metamail.c:2494:13: error: too many arguments to function 'CtypeMatch'; expected 0, have 2 2494 | if (CtypeMatch(type, nai->type)) return(0); | ^~~~~~~~~~ ~~~~ metamail.c:127:5: note: declared here 127 | int CtypeMatch(); | ^~~~~~~~~~ metamail.c: In function 'NeedToBeQuiet': metamail.c:2500:1: warning: old-style function definition [-Wold-style-definition] 2500 | NeedToBeQuiet(cmd) | ^~~~~~~~~~~~~ metamail.c:2502:1: error: number of arguments doesn't match prototype 2502 | { | ^ metamail.c:136:5: error: prototype declaration 136 | int NeedToBeQuiet(); | ^~~~~~~~~~~~~ metamail.c:2505:14: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 2505 | if (!lc2strcmp(nai->type, cmd)) return(1); | ^~~~~~~~~ ~~~~~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c: In function 'CtypeMatch': metamail.c:2511:1: warning: old-style function definition [-Wold-style-definition] 2511 | CtypeMatch(ctype, pat) | ^~~~~~~~~~ metamail.c:2513:1: error: number of arguments doesn't match prototype 2513 | { | ^ metamail.c:127:5: error: prototype declaration 127 | int CtypeMatch(); | ^~~~~~~~~~ metamail.c:2517:10: error: too many arguments to function 'lc2strcmp'; expected 0, have 2 2517 | if (!lc2strcmp(ctype, pat)) { | ^~~~~~~~~ ~~~~~ metamail.h:7:5: note: declared here 7 | int lc2strcmp(); | ^~~~~~~~~ metamail.c:2529:15: error: too many arguments to function 'lc2strncmp'; expected 0, have 3 2529 | && (!lc2strncmp(ctype, pat, len)) | ^~~~~~~~~~ ~~~~~ metamail.h:6:5: note: declared here 6 | int lc2strncmp(); | ^~~~~~~~~~ metamail.c: In function 'ExecuteCommand': metamail.c:2538:1: warning: old-style function definition [-Wold-style-definition] 2538 | ExecuteCommand(cmd, really) | ^~~~~~~~~~~~~~ metamail.c:2541:1: error: number of arguments doesn't match prototype 2541 | { | ^ metamail.c:131:5: error: prototype declaration 131 | int ExecuteCommand(); | ^~~~~~~~~~~~~~ metamail.c:2544:14: error: too many arguments to function 'NeedToBeQuiet'; expected 0, have 1 2544 | if (!NeedToBeQuiet(ShortCommand(cmd))) { | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ metamail.c:2500:1: note: declared here 2500 | NeedToBeQuiet(cmd) | ^~~~~~~~~~~~~ metamail.c: In function 'MkTmpFileName': metamail.c:2564:1: warning: old-style function definition [-Wold-style-definition] 2564 | MkTmpFileName(name) | ^~~~~~~~~~~~~ metamail.c: In function 'ConsumeRestOfPart': metamail.c:2609:1: warning: old-style function definition [-Wold-style-definition] 2609 | ConsumeRestOfPart(outfp) | ^~~~~~~~~~~~~~~~~ metamail.c:2611:1: error: number of arguments doesn't match prototype 2611 | { | ^ metamail.c:250:6: error: prototype declaration 250 | void ConsumeRestOfPart(); | ^~~~~~~~~~~~~~~~~ metamail.c:2627:17: error: too many arguments to function 'PendingBoundary'; expected 0, have 3 2627 | && PendingBoundary(Buf, Boundaries, &BoundaryCt)) { | ^~~~~~~~~~~~~~~ ~~~ metamail.h:14:5: note: declared here 14 | int PendingBoundary(); | ^~~~~~~~~~~~~~~ metamail.c: In function 'paramend': metamail.c:2635:7: warning: old-style function definition [-Wold-style-definition] 2635 | char *paramend(s) | ^~~~~~~~ metamail.c: In function 'ParseContentParameters': metamail.c:2657:1: warning: old-style function definition [-Wold-style-definition] 2657 | ParseContentParameters(ct) | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c:2659:1: error: number of arguments doesn't match prototype 2659 | { | ^ metamail.c:251:6: error: prototype declaration 251 | void ParseContentParameters(); | ^~~~~~~~~~~~~~~~~~~~~~ metamail.c: In function 'FindParam': metamail.c:2699:7: warning: old-style function definition [-Wold-style-definition] 2699 | char *FindParam(s) | ^~~~~~~~~ metamail.c:2701:1: error: number of arguments doesn't match prototype 2701 | { | ^ metamail.c:144:7: error: prototype declaration 144 | char *FindParam(); | ^~~~~~~~~ metamail.c: In function 'strcatquoting': metamail.c:2721:1: warning: old-style function definition [-Wold-style-definition] 2721 | strcatquoting(s1, s2) | ^~~~~~~~~~~~~ metamail.c:2724:1: error: number of arguments doesn't match prototype 2724 | { | ^ metamail.c:135:6: error: prototype declaration 135 | void strcatquoting(); | ^~~~~~~~~~~~~ metamail.c: In function 'IsDirectory': metamail.c:2777:5: warning: old-style function definition [-Wold-style-definition] 2777 | int IsDirectory(fname) | ^~~~~~~~~~~ metamail.c:2779:1: error: number of arguments doesn't match prototype 2779 | { | ^ metamail.c:126:5: error: prototype declaration 126 | int IsDirectory(); | ^~~~~~~~~~~ *** [metamail.o] Error code 1 bmake[1]: stopped making "all" in /tmp/work/mail/metamail/work/mm2.7/src/metamail bmake[1]: 2 errors bmake[1]: stopped making "all" in /tmp/work/mail/metamail/work/mm2.7/src/metamail *** [all] Error code 2 (ignored) bmake: A failure has been detected in another branch of the parallel make bmake: stopped making "all" in /tmp/work/mail/metamail/work/mm2.7/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/metamail