=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/ja-mh", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ja-mh6-3.05nb1 for d in config sbr mts zotnet uip support doc; do (set -e; cd $d; make DESTDIR= all); done clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c config.c config.c:61:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 61 | if (cp = index (pp = file + 1, '/')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:61:13: note: place parentheses around the assignment to silence this warning 61 | if (cp = index (pp = file + 1, '/')) | ^ | ( ) config.c:61:13: note: use '==' to turn this assignment into an equality comparison 61 | if (cp = index (pp = file + 1, '/')) | ^ | == config.c:66:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 66 | if (pw = getpwnam (pp)) | ~~~^~~~~~~~~~~~~~~ config.c:66:10: note: place parentheses around the assignment to silence this warning 66 | if (pw = getpwnam (pp)) | ^ | ( ) config.c:66:10: note: use '==' to turn this assignment into an equality comparison 66 | if (pw = getpwnam (pp)) | ^ | == config.c:78:10: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | if (access (lpath, 04) != NOTOK) | ^ config.c:84:35: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (access ((cp = m_mailpath (file)), 04) != NOTOK) | ^ config.c:89:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | return (access (lpath, 04) != NOTOK ? lpath : file); | ^ config.c:42:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | char *libpath (file) | ^ In file included from config.c:10: ./../h/mh.h:269: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] 269 | char *libpath (); | ^ 7 warnings generated. MH 6.8.4 #1[UCI] Japanization Plus 3.05 clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c version.c clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c add.c add.c:18:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (NULLCP, "unable to allocate string storage"); | ^ add.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *add (this, that) | ^ In file included from add.c:3: ./../h/mh.h:247: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] 247 | char *add (); | ^ 3 warnings generated. ld -x -r add.o mv a.out add.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c adios.c adios.c:19:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advise (what, fmt, a, b, c, d, e, f, g); | ^ adios.c:20:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | done (1); | ^ adios.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void adios (what, fmt, a, b, c, d, e, f, g) | ^ In file included from adios.c:3: ./../h/mh.h:248: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] 248 | void adios (); | ^ 4 warnings generated. ld -x -r adios.o mv a.out adios.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c admonish.c admonish.c:19:15: warning: passing arguments to 'advertise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advertise (what, "continuing...", fmt, a, b, c, d, e, f, g); | ^ admonish.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void admonish (what, fmt, a, b, c, d, e, f, g) | ^ In file included from admonish.c:3: ./../h/mh.h:249: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] 249 | void admonish (); | ^ 3 warnings generated. ld -x -r admonish.o mv a.out admonish.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c addrsbr.c addrsbr.c:297:23: warning: passing arguments to 'getadrx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if ((ap = getadrx (addrs ? addrs : "")) == NULL) | ^ addrsbr.c:111:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | char *getname (addrs) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40: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] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:339:9: warning: address of array 'err' will always evaluate to 'true' [-Wpointer-bool-conversion] 339 | if (err && err[0]) { | ^~~ ~~ addrsbr.c:344:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | admonish (NULLCP, "bad address '%s' - %s", str, err); | ^ addrsbr.c:358:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | admonish (NULLCP, "null address '%s'", str); | ^ addrsbr.c:367:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | admonish (NULLCP, "no mailbox in address '%s'", str); | ^ addrsbr.c:383:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | adios (NULLCP, "insufficient memory to represent address"); | ^ addrsbr.c:388:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | mp -> m_text = getcpy (str); | ^ addrsbr.c:396:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | mp -> m_pers = getcpy (pers); | ^ addrsbr.c:402:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | mp -> m_gname = getcpy (grp); | ^ addrsbr.c:404:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | mp -> m_note = getcpy (note); | ^ addrsbr.c:444:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | mp -> m_mbox = getcpy (mbox); | ^ addrsbr.c:445:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | mp -> m_host = getcpy (host); | ^ addrsbr.c:448:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 448 | if (pp = index (mbox, '!')) { | ~~~^~~~~~~~~~~~~~~~~~~ addrsbr.c:448:9: note: place parentheses around the assignment to silence this warning 448 | if (pp = index (mbox, '!')) { | ^ | ( ) addrsbr.c:448:9: note: use '==' to turn this assignment into an equality comparison 448 | if (pp = index (mbox, '!')) { | ^ | == addrsbr.c:450:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | mp -> m_mbox = getcpy (pp); | ^ addrsbr.c:451:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | mp -> m_host = getcpy (mbox); | ^ addrsbr.c:456:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | mp -> m_mbox = getcpy (mbox); | ^ addrsbr.c:465:42: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | mp -> m_host = route ? NULLCP : getcpy (dfhost); | ^ addrsbr.c:475:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | mp -> m_type = uleq (LocalName (), mp -> m_host) | ^ addrsbr.c:479:22: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | mp -> m_type = uleq (LocalName (), mp -> m_host) ? LOCALHOST | ^ addrsbr.c:503:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | mp -> m_path = getcpy (route); | ^ addrsbr.c:506:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | mp -> m_gname = getcpy (grp); | ^ addrsbr.c:508:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | mp -> m_note = getcpy (note); | ^ addrsbr.c:321:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | struct mailname *getm (str, dfhost, dftype, wanthost, eresult) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:41:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | struct mailname *getm (); | ^ addrsbr.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | void mnfree (mp) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:38: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] 38 | void mnfree (); | ^ addrsbr.c:597:20: warning: passing arguments to 'legal_person' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | legal_person (mp -> m_pers ? mp -> m_pers : mp -> m_mbox), | ^ addrsbr.c:601:20: warning: passing arguments to 'legal_person' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | legal_person (mp -> m_pers ? mp -> m_pers : mp -> m_mbox), | ^ addrsbr.c:546:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | char *auxformat (mp, extras) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:621:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | char *adrsprintf (local, domain) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:40:22: warning: a function declaration 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] 40 | char *getname (), *adrsprintf (), *auxformat (); | ^ addrsbr.c:681:19: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | if ((am = m_find ("alternate-mailboxes")) == NULL) | ^ addrsbr.c:686:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 686 | while (cp = getname (am)) | ~~~^~~~~~~~~~~~~~ addrsbr.c:686:16: note: place parentheses around the assignment to silence this warning 686 | while (cp = getname (am)) | ^ | ( ) addrsbr.c:686:16: note: use '==' to turn this assignment into an equality comparison 686 | while (cp = getname (am)) | ^ | == addrsbr.c:689:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | admonish (NULLCP, "illegal address: %s", cp), oops++; | ^ addrsbr.c:726:16: warning: passing arguments to 'sprintb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | sprintb (buffer, (unsigned) mp -> m_type, WBITS)); | ^ addrsbr.c:730:10: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | advise (NULLCP, "please fix the %s: entry in your %s file", | ^ addrsbr.c:745:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | if (!uprf (np -> m_host, cp) || np -> m_host[len] != '.') | ^ addrsbr.c:750:16: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | if (!uleq (np -> m_host, SystemName ())) | ^ addrsbr.c:754:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | if (uleq (np -> m_mbox, mq.m_mbox)) | ^ addrsbr.c:789:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | for (mp = &mq; mp = mp -> m_next;) { | ~~~^~~~~~~~~~~~~~ addrsbr.c:789:23: note: place parentheses around the assignment to silence this warning 789 | for (mp = &mq; mp = mp -> m_next;) { | ^ | ( ) addrsbr.c:789:23: note: use '==' to turn this assignment into an equality comparison 789 | for (mp = &mq; mp = mp -> m_next;) { | ^ | == addrsbr.c:797:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | if (!uleq (cp, pp)) | ^ addrsbr.c:801:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | if (!uleq (cp + len - i, pp)) | ^ addrsbr.c:805:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | if (!uprf (cp, pp)) | ^ addrsbr.c:809:17: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | if (stringdex (pp, cp) < 0) | ^ addrsbr.c:823:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | if (!uleq (cp, pp)) | ^ addrsbr.c:827:13: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | if (!uleq (cp + len - i, pp)) | ^ addrsbr.c:831:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | if (!uprf (cp, pp)) | ^ addrsbr.c:835:17: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | if (stringdex (pp, cp) < 0) | ^ addrsbr.c:662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | int ismymbox (np) | ^ In file included from addrsbr.c:7: ./../h/addrsbr.h:39: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] 39 | int ismymbox (); | ^ 53 warnings generated. ld -x -r addrsbr.o mv a.out addrsbr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c advertise.c advertise.c:60:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | ml_fputs(buffer, stderr); | ^ advertise.c:63:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ml_fputs(buffer, stderr); | ^ advertise.c:67:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | ml_fputs(buffer, stderr); | ^ advertise.c:71:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | ml_fputs(buffer, stderr); | ^ advertise.c:74:14: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | ml_fputs(buffer, stderr); | ^ advertise.c:79:10: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | ml_fputs(buffer, stderr); | ^ advertise.c:81:13: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | ml_fputs("\n", stderr); | ^ advertise.c:31:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | void advertise (what, tail, fmt, a, b, c, d, e, f, g) | ^ In file included from advertise.c:6: ./../h/mh.h:251: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] 251 | void advertise (); | ^ 9 warnings generated. ld -x -r advertise.o mv a.out advertise.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c advise.c advise.c:19:15: warning: passing arguments to 'advertise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | advertise (what, NULLCP, fmt, a, b, c, d, e, f, g); | ^ advise.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void advise (what, fmt, a, b, c, d, e, f, g) | ^ In file included from advise.c:3: ./../h/mh.h:250: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] 250 | void advise (); | ^ 3 warnings generated. ld -x -r advise.o mv a.out advise.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c ambigsw.c ambigsw.c:11:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | advise (NULLCP, "-%s ambiguous. It matches", arg); | ^ ambigsw.c:12:13: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | printsw (arg, swp, "-"); | ^ ambigsw.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void ambigsw (arg, swp) | ^ In file included from ambigsw.c:3: ./../h/mh.h:252: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] 252 | void ambigsw (); | ^ 4 warnings generated. ld -x -r ambigsw.o mv a.out ambigsw.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c atooi.c atooi.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int atooi(cp) | ^ 1 warning generated. ld -x -r atooi.o mv a.out atooi.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c brkstring.c brkstring.c:7:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | static brkany(); | ~~~~~~ ^ | int brkstring.c:23:16: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | while (brkany (c = *sp, brksep)) | ^ brkstring.c:25:19: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (!c || brkany (c, brkterm)) { | ^ brkstring.c:32:32: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ brkstring.c:32:55: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ brkstring.c:9:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | char **brkstring (strg, brksep, brkterm) | ^ In file included from brkstring.c:3: ./../h/mh.h:254: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] 254 | char **brkstring (); | ^ brkstring.c:41:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | static brkany (chr, strg) /* returns 1 if chr in strg, 0 otherwise */ | ~~~~~~ ^ | int brkstring.c:41:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] brkstring.c:7: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] 7 | static brkany(); | ^ 10 warnings generated. ld -x -r brkstring.o mv a.out brkstring.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c closefds.c closefds.c:18:21: warning: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | int nbits = getdtablesize (); | ^ closefds.c:25:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | (void) close (i); | ^ closefds.c:12:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | void closefds (i) | ^ In file included from closefds.c:6: ./../h/mh.h:255: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] 255 | void closefds (); | ^ 4 warnings generated. ld -x -r closefds.o mv a.out closefds.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c concat.c concat.c:22:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 22 | while (cp = va_arg (list, char *)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:22:16: note: place parentheses around the assignment to silence this warning 22 | while (cp = va_arg (list, char *)) | ^ | ( ) concat.c:22:16: note: use '==' to turn this assignment into an equality comparison 22 | while (cp = va_arg (list, char *)) | ^ | == concat.c:29:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | adios (NULLCP, "unable to allocate string storage"); | ^ concat.c:33:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | sp = copy (first, sp); | ^ concat.c:35:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | while (cp = va_arg (list, char *)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:35:16: note: place parentheses around the assignment to silence this warning 35 | while (cp = va_arg (list, char *)) | ^ | ( ) concat.c:35:16: note: use '==' to turn this assignment into an equality comparison 35 | while (cp = va_arg (list, char *)) | ^ | == concat.c:36:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | sp = copy (cp, sp); | ^ 5 warnings generated. ld -x -r concat.o mv a.out concat.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c copy.c copy.c:8:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8 | while (*to++ = *from++) | ~~~~~~^~~~~~~~~ copy.c:8:18: note: place parentheses around the assignment to silence this warning 8 | while (*to++ = *from++) | ^ | ( ) copy.c:8:18: note: use '==' to turn this assignment into an equality comparison 8 | while (*to++ = *from++) | ^ | == copy.c:4:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char *copy (from, to) | ^ 2 warnings generated. ld -x -r copy.o mv a.out copy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c copyip.c copyip.c:4:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char **copyip (p, q) | ^ 1 warning generated. ld -x -r copyip.o mv a.out copyip.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c cpydata.c cpydata.c:16:17: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | while ((i = read (in, buffer, sizeof buffer)) > 0) | ^ cpydata.c:17:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | if (write (out, buffer, i) != i) | ^ cpydata.c:18:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (ofile, "error writing"); | ^ cpydata.c:21:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | adios (ifile, "error reading"); | ^ cpydata.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void cpydata (in, out, ifile, ofile) | ^ In file included from cpydata.c:3: ./../h/mh.h:259: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] 259 | void cpydata (); | ^ 6 warnings generated. ld -x -r cpydata.o mv a.out cpydata.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c cpydgst.c cpydgst.c:50:27: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | for (state = S1; (i = read (in, buffer, sizeof buffer)) > 0;) | ^ cpydgst.c:57:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | output ('-'); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:57:4: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:58:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | output (' '); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:58:4: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:63:7: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | output (*cp); | ^ cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:63:7: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:25:36: note: expanded from macro 'output' 25 | #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c | ^ cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:71:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | adios (ifile, "error reading"); | ^ cpydgst.c:72:5: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | flush (); | ^ cpydgst.c:26:46: note: expanded from macro 'flush' 26 | #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ | ^ cpydgst.c:72:5: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cpydgst.c:27:10: note: expanded from macro 'flush' 27 | adios (ofile, "error writing"); \ | ^ cpydgst.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void cpydgst (in, out, ifile, ofile) | ^ In file included from cpydgst.c:6: ./../h/mh.h:260: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] 260 | void cpydgst (); | ^ 12 warnings generated. ld -x -r cpydgst.o mv a.out cpydgst.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c discard.c discard.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void discard (io) | ^ In file included from discard.c:6: ./../h/mh.h:261: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] 261 | void discard (); | ^ 2 warnings generated. ld -x -r discard.o mv a.out discard.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c done.c done.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void done (status) | ^ In file included from done.c:3: ./../h/mh.h:262: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] 262 | void done (); | ^ 2 warnings generated. ld -x -r done.o mv a.out done.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c fdcompare.c fdcompare.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | fdcompare (fd1, fd2) | ^ | int fdcompare.c:27:18: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | while ((n1 = read (fd1, b1, sizeof b1)) >= 0 | ^ fdcompare.c:43:18: warning: passing arguments to 'lseek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | (void) lseek (fd1, (off_t)0, 0); | ^ fdcompare.c:44:18: warning: passing arguments to 'lseek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | (void) lseek (fd2, (off_t)0, 0); | ^ fdcompare.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | fdcompare (fd1, fd2) | ^ In file included from fdcompare.c:6: ./../h/mh.h:263: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] 263 | int fdcompare (); | ^ 6 warnings generated. ld -x -r fdcompare.o mv a.out fdcompare.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c gans.c gans.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | gans (prompt, ansp) | ^ | int gans.c:21:11: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | ml_fputs (prompt, stdout); | ^ gans.c:47:18: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if ((i = smatch (ansbuf, ansp)) < 0) { | ^ gans.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | gans (prompt, ansp) | ^ In file included from gans.c:6: ./../h/mh.h:264: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] 264 | int gans (); | ^ 5 warnings generated. ld -x -r gans.o mv a.out gans.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c getans.c getans.c:66:14: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | printsw (ALL, ansp, ""); | ^ getans.c:69:18: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | cpp = brkstring (ansbuf, " ", NULLCP); | ^ getans.c:70:17: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | switch (smatch (*cpp, ansp)) { | ^ getans.c:72:11: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ambigsw (*cpp, ansp); | ^ getans.c:22:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char **getans (prompt, ansp) | ^ In file included from getans.c:6: ./../h/mh.h:265: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] 265 | char **getans (); | ^ getans.c:85:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | static TYPESIG intrser (i) | ^ getans.c:20:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static TYPESIG intrser (); | ^ 8 warnings generated. ld -x -r getans.o mv a.out getans.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c getanswer.c getanswer.c:13:16: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | interactive = isatty (fileno (stdin)) ? DONE : OK; | ^ getanswer.c:15:32: warning: passing arguments to 'gans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | return (interactive ? gans (prompt, anoyes) : DONE); | ^ getanswer.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int getanswer (prompt) | ^ In file included from getanswer.c:3: ./../h/mh.h:266: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] 266 | int getanswer (); | ^ 4 warnings generated. ld -x -r getanswer.o mv a.out getanswer.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c getcpy.c getcpy.c:14:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | adios (NULLCP, "unable to allocate string storage"); | ^ getcpy.c:18:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | adios (NULLCP, "unable to allocate string storage"); | ^ getcpy.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *getcpy (str) | ^ In file included from getcpy.c:3: ./../h/mh.h:267: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] 267 | char *getcpy (); | ^ 4 warnings generated. ld -x -r getcpy.o mv a.out getcpy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c help.c help.c:26:13: warning: passing arguments to 'printsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | printsw (ALL, swp, "-"); | ^ help.c:27:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if ((cp = m_find (invo_name)) != NULL) | ^ help.c:30:17: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (ssequal ("@(#)", cp = version)) | ^ help.c:45:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 45 | else { | ^ help.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void help (str, swp) | ^ In file included from help.c:6: ./../h/mh.h:268: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] 268 | void help (); | ^ 6 warnings generated. ld -x -r help.o mv a.out help.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c fmtcompile.c fmtcompile.c:137:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 137 | time_t time (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ fmtcompile.c:146:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 146 | while (nm = t->name) { | ~~~^~~~~~~~~ fmtcompile.c:146:15: note: place parentheses around the assignment to silence this warning 146 | while (nm = t->name) { | ^ | ( ) fmtcompile.c:146:15: note: use '==' to turn this assignment into an equality comparison 146 | while (nm = t->name) { | ^ | == fmtcompile.c:139:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | static struct ftable *lookup(name) | ^ fmtcompile.c:204:44: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | while ((errctx < errpos) && ml_ismlchar(usr_fstring[errpos-errctx])) | ^ fmtcompile.c:209:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | advise(NULLCP, "\"%s\": format compile error - %s", | ^ fmtcompile.c:211:11: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | adios (NULLCP, "%*s", errctx + 1 - (*cp ? 1 : 0), "^"); | ^ fmtcompile.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | compile_error(str, cp) | ^ fmtcompile.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | fmt_compile( fstring, fmt ) | ^ | int fmtcompile.c:241:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | format_string = getcpy (fstring); | ^ fmtcompile.c:260:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | adios (NULLCP, "unable to allocate format storage"); | ^ fmtcompile.c:265:17: warning: passing arguments to 'compile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | cp = compile(format_string); | ^ fmtcompile.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | fmt_compile( fstring, fmt ) | ^ fmtcompile.c:312:16: warning: passing arguments to 'do_if' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | cp = do_if(++cp); | ^ fmtcompile.c:316:18: warning: passing arguments to 'do_loop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | cp = do_loop(++cp); | ^ fmtcompile.c:326:18: warning: passing arguments to 'do_spec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | cp = do_spec(cp); | ^ fmtcompile.c:275:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | static char *compile (sp) | ^ fmtcompile.c:178: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] 178 | static char *compile(); | ^ fmtcompile.c:358:14: warning: passing arguments to 'do_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | cp = do_name(cp, 0); | ^ fmtcompile.c:363:14: warning: passing arguments to 'do_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | cp = do_func(cp); | ^ fmtcompile.c:333:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | static char *do_spec(sp) | ^ fmtcompile.c:179: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] 179 | static char *do_spec(); | ^ fmtcompile.c:417:22: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | (void) ismymbox ((struct mailname *) 0); | ^ fmtcompile.c:384:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | static char *do_name(sp, preprocess) | ^ fmtcompile.c:180: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] 180 | static char *do_name(); | ^ fmtcompile.c:479:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 479 | if (mflag = (c == '-')) | ~~~~~~^~~~~~~~~~~~ fmtcompile.c:479:12: note: place parentheses around the assignment to silence this warning 479 | if (mflag = (c == '-')) | ^ | ( ) fmtcompile.c:479:12: note: use '==' to turn this assignment into an equality comparison 479 | if (mflag = (c == '-')) | ^ | == fmtcompile.c:516:14: warning: passing arguments to 'do_expr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | cp = do_expr(cp, t->extra); | ^ fmtcompile.c:524:14: warning: passing arguments to 'do_expr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | cp = do_expr(cp, t->extra); | ^ fmtcompile.c:444:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | static char *do_func(sp) | ^ fmtcompile.c:181: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] 181 | static char *do_func(); | ^ fmtcompile.c:536:27: warning: parameter 'preprocess' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 536 | static char *do_expr (sp, preprocess) | ^ 537 | char *sp; 538 | { fmtcompile.c:550:13: warning: passing arguments to 'do_if' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | cp = do_if (cp+1); | ^ fmtcompile.c:536:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | static char *do_expr (sp, preprocess) | ^ fmtcompile.c:182: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] 182 | static char *do_expr(); | ^ fmtcompile.c:557:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | static char *do_loop(sp) | ^ fmtcompile.c:184: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] 184 | static char *do_loop(); | ^ fmtcompile.c:575:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | static char *do_if(sp) | ^ fmtcompile.c:183: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] 183 | static char *do_if(); | ^ 37 warnings generated. ld -x -r fmtcompile.o mv a.out fmtcompile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c formataddr.c formataddr.c:61:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | adios (NULLCP, "formataddr: couldn't allocate buffer space"); | ^ formataddr.c:77:2: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | CHECKMEM (orig); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:78:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 78 | CPY (orig); | ^~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:78:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:78:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:82:36: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | for (isgroup = 0; cp = getname (str); ) { | ^ formataddr.c:82:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | for (isgroup = 0; cp = getname (str); ) { | ~~~^~~~~~~~~~~~~~~ formataddr.c:82:26: note: place parentheses around the assignment to silence this warning 82 | for (isgroup = 0; cp = getname (str); ) { | ^ | ( ) formataddr.c:82:26: note: use '==' to turn this assignment into an equality comparison 82 | for (isgroup = 0; cp = getname (str); ) { | ^ | == formataddr.c:83:17: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if ((mp = getm (cp, NULLCP, 0, fmt_norm, NULLCP)) == NULL) | ^ formataddr.c:96:6: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | CHECKMEM (mp->m_gname); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:97:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | CPY (mp->m_gname); | ^~~~~~~~~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:97:6: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:97:6: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:100:7: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | sp = adrformat (mp); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ formataddr.c:101:2: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | CHECKMEM (sp); | ^ formataddr.c:28:13: note: expanded from macro 'CHECKMEM' 28 | adios (NULLCP, "formataddr: couldn't get buffer space");\ | ^ formataddr.c:102:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 102 | CPY (sp); | ^~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ~~~~~~~^~~~~~~ formataddr.c:102:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:102:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' 16 | #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } | ^ formataddr.c:103:9: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | mnfree (mp); | ^ formataddr.c:46:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | char *formataddr (orig, str) | ^ 13 warnings generated. ld -x -r formataddr.o mv a.out formataddr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c formatsbr.c formatsbr.c:28:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | static normalize(); | ~~~~~~ ^ | int formatsbr.c:38:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 38 | time_t time (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ formatsbr.c:56:27: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if ((fp = fopen (libpath (form), "r")) == NULL) | ^ formatsbr.c:57:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | adios (form, "unable to open format file"); | ^ formatsbr.c:60:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | adios (form, "unable to stat format file"); | ^ formatsbr.c:63:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | adios (form, "unable to allocate space for format"); | ^ formatsbr.c:65:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | if (read (fileno(fp), formats, (int) st.st_size) != st.st_size) | ^ formatsbr.c:66:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | adios (form, "error reading format file"); | ^ formatsbr.c:73:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | formats = getcpy (format ? format : def); | ^ formatsbr.c:77:19: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | (void) ml_conv(formats); | ^ formatsbr.c:80:15: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | normalize (formats); | ^ formatsbr.c:44:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | char *new_fs (form, format, def) | ^ In file included from formatsbr.c:8: ./../h/formatsbr.h:83: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] 83 | char *new_fs (); | ^ formatsbr.c:87:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | static normalize (cp) | ~~~~~~ ^ | int formatsbr.c:87:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] formatsbr.c:28:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static normalize(); | ^ formatsbr.c:115:1: warning: non-void function does not return a value [-Wreturn-type] 115 | } | ^ formatsbr.c:133:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | while (c1 = *sub) { | ~~~^~~~~~ formatsbr.c:133:15: note: place parentheses around the assignment to silence this warning 133 | while (c1 = *sub) { | ^ | ( ) formatsbr.c:133:15: note: use '==' to turn this assignment into an equality comparison 133 | while (c1 = *sub) { | ^ | == formatsbr.c:123:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | static int match (str, sub) | ^ formatsbr.c:443:23: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (get_x400_comp (mbox, "/PN=", buffer)) { | ^ formatsbr.c:444:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ~~~~~^~~~~~~~~~~~~~~~~~~ formatsbr.c:444:27: note: place parentheses around the assignment to silence this warning 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ^ | ( ) formatsbr.c:444:27: note: use '==' to turn this assignment into an equality comparison 444 | for (mbox = buffer; mbox = index (mbox, '.'); ) | ^ | == formatsbr.c:450:24: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | if (!get_x400_comp (mbox, "/S=", surname)) | ^ formatsbr.c:453:23: warning: passing arguments to 'get_x400_comp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (get_x400_comp (mbox, "/G=", given)) | ^ formatsbr.c:429:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | static char *get_x400_friendly (mbox, buffer) | ^ formatsbr.c:469:26: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | if ((idx = stringdex (key, mbox)) < 0 | ^ formatsbr.c:473:32: warning: field width should have type 'int', but argument has type 'long' [-Wformat] 473 | (void) sprintf (buffer, "%*.*s", cp - mbox, cp - mbox, mbox); | ~~^~~ ~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ formatsbr.c:461:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | static int get_x400_comp (mbox, key, buffer) | ^ formatsbr.c:29: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] 29 | static int get_x400_comp(); | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | PUTS (cp, fmt->f_comp->c_text); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 505 | PUTS (cp, fmt->f_comp->c_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^ formatsbr.c:374:21: note: expanded from macro 'PUTSF' 374 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | PUTS (cp, str); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 531 | PUTS (cp, str); | ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' 360 | if (sp = (str)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' 371 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^ formatsbr.c:374:21: note: expanded from macro 'PUTSF' 374 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' 379 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | PUTSF (cp, str, fmt->f_width, fmt->f_fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' 388 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:537:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | adios (NULLCP, "internal error (FT_STRFW)"); | ^ formatsbr.c:589:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 589 | if (!(value = (str && match (str, fmt->f_text)))) { | ^~~ formatsbr.c:589:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 589 | if (!(value = (str && match (str, fmt->f_text)))) { | ^~~~~~~~~~~ formatsbr.c:597:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | value = match (str, fmt->f_text); | ^~~ formatsbr.c:597:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | value = match (str, fmt->f_text); | ^~~~~~~~~~~ formatsbr.c:603:33: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (!(value = (str && uprf (str, fmt->f_text)))) { | ^ formatsbr.c:610:19: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | value = uprf (str, fmt->f_text); | ^ formatsbr.c:645:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | adios(NULLCP, "out of memory"); | ^ formatsbr.c:646:23: warning: passing arguments to 'exthdr_encode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | (void) exthdr_encode(str, ep, 0, ""); | ^ formatsbr.c:656:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | adios(NULLCP, "out of memory"); | ^ formatsbr.c:657:23: warning: passing arguments to 'exthdr_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | (void) exthdr_decode(str, ep); | ^ formatsbr.c:676:25: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | if (!(str = m_find (fmt->f_text))) | ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 691 | SKIP_SPACE(str); | ^~~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 691 | SKIP_SPACE(str); | ^~~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 707 | while (ch = *xp++) { | ~~~^~~~~~~ formatsbr.c:707:17: note: place parentheses around the assignment to silence this warning 707 | while (ch = *xp++) { | ^ | ( ) formatsbr.c:707:17: note: use '==' to turn this assignment into an equality comparison 707 | while (ch = *xp++) { | ^ | == formatsbr.c:711:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 711 | if (ch2 = *xp++) { | ~~~~^~~~~~~ formatsbr.c:711:16: note: place parentheses around the assignment to silence this warning 711 | if (ch2 = *xp++) { | ^ | ( ) formatsbr.c:711:16: note: use '==' to turn this assignment into an equality comparison 711 | if (ch2 = *xp++) { | ^ | == formatsbr.c:724:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 724 | while (ch = *str) { | ~~~^~~~~~ formatsbr.c:724:14: note: place parentheses around the assignment to silence this warning 724 | while (ch = *str) { | ^ | ( ) formatsbr.c:724:14: note: use '==' to turn this assignment into an equality comparison 724 | while (ch = *str) { | ^ | == formatsbr.c:804:12: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | str = dtwszone (fmt->f_comp->c_tws); | ^ ./../zotnet/tws.h:58:32: note: expanded from macro 'dtwszone' 58 | #define dtwszone(tw) dtimezone (tw -> tw_zone, tw -> tw_flags) | ^ formatsbr.c:815:3: warning: call to undeclared function 'set_dotw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | set_dotw (tws); | ^ formatsbr.c:836:18: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | value = twclock(fmt->f_comp->c_tws); | ^ formatsbr.c:840:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | l = twclock(fmt->f_comp->c_tws); | ^ formatsbr.c:864:21: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | str = dasctime ( fmt->f_comp->c_tws , TW_ZONE); | ^ formatsbr.c:867:21: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | str = dasctime ( fmt->f_comp->c_tws, TW_NULL); | ^ formatsbr.c:889:12: warning: passing arguments to 'auxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | str = adrformat( fmt->f_comp->c_mn ); | ^ ./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat' 43 | #define adrformat(m) auxformat ((m), 1) | ^ formatsbr.c:913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 913 | if (str = mn -> m_note) { | ~~~~^~~~~~~~~~~~~~ formatsbr.c:913:11: note: place parentheses around the assignment to silence this warning 913 | if (str = mn -> m_note) { | ^ | ( ) formatsbr.c:913:11: note: use '==' to turn this assignment into an equality comparison 913 | if (str = mn -> m_note) { | ^ | == formatsbr.c:955:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | l = twclock(comp->c_tws); | ^ formatsbr.c:956:22: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | tws = dlocaltime(&l); | ^ formatsbr.c:963:14: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | l = twclock(comp->c_tws); | ^ formatsbr.c:964:19: warning: passing arguments to 'dgmtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | tws = dgmtime(&l); | ^ formatsbr.c:970:50: warning: passing arguments to 'dparsetime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | if ((sp = comp->c_text) && (tws = dparsetime(sp))) { | ^ formatsbr.c:981:23: warning: passing arguments to 'formataddr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | str = formataddr (savestr, str); | ^ formatsbr.c:1017:12: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | if (uprf(lp + (*lp == '(' ? 1 : 0), "=?")) { | ^ formatsbr.c:1022:16: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | if (uprf(pp - (*(pp-1) == ')' ? 3 : 2), "?=")) { | ^ formatsbr.c:1040:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1040 | } else | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' 399 | if (sp = (str)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' 400 | SKIP_SPACE(sp);\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: warning: passing arguments to 'ml_ismlchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | PUTS (cp, lp); | ^ formatsbr.c:402:21: note: expanded from macro 'PUTS' 402 | if (ml_ismlchar(ch)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' 407 | sp++; SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' 340 | while (ch = *(sp)) {\ | ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1054 | PUTS (cp, lp); | ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' 416 | SKIP_SPACE(sp); *cp++ = ' ';\ | ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' 343 | } else if (ch2 = *((sp)+1)) {\ | ^ formatsbr.c:1061:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | mnfree (comp->c_mn); | ^ formatsbr.c:1062:46: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ formatsbr.c:1063:14: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | (mn = getm (sp, NULLCP, 0, fmt_norm, NULLCP))) { | ^ formatsbr.c:1065:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | while (getname("")) | ^ formatsbr.c:1068:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | while (getname("")) /* XXX */ | ^ formatsbr.c:1082:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | mnfree (comp->c_mn); | ^ formatsbr.c:1083:46: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | if ((sp = comp->c_text) && (sp = getname(sp)) && | ^ formatsbr.c:1084:14: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | (mn = getm (sp, NULLCP, 0, AD_NAME, NULLCP))) { | ^ formatsbr.c:1086:27: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | comp->c_flags = ismymbox(mn); | ^ formatsbr.c:1087:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | while (sp = getname(sp)) | ^ formatsbr.c:1087:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1087 | while (sp = getname(sp)) | ~~~^~~~~~~~~~~~~ formatsbr.c:1087:13: note: place parentheses around the assignment to silence this warning 1087 | while (sp = getname(sp)) | ^ | ( ) formatsbr.c:1087:13: note: use '==' to turn this assignment into an equality comparison 1087 | while (sp = getname(sp)) | ^ | == formatsbr.c:1089:15: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | (mn = getm (sp, NULLCP, 0, AD_NAME, NULLCP))) | ^ formatsbr.c:1090:29: warning: passing arguments to 'ismymbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | comp->c_flags |= ismymbox(mn); | ^ formatsbr.c:1092:17: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | while (getname("")) /* XXX */ | ^ formatsbr.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | fmtscan (format, scanl, width, dat) | ^ In file included from formatsbr.c:8: ./../h/formatsbr.h:82:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | struct format *fmtscan (); | ^ 118 warnings generated. ld -x -r formatsbr.o mv a.out formatsbr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_atoi.c m_atoi.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | m_atoi (str) | ^ | int m_atoi.c:9: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 m_atoi.c:6: ./../h/mh.h:270: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] 270 | int m_atoi (); | ^ 3 warnings generated. ld -x -r m_atoi.o mv a.out m_atoi.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_backup.c m_backup.c:13:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if ((cp = r1bindex (file, '/')) == file) | ^ m_backup.c:16:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 16 | (void) sprintf (buffer, "%.*s%s%s", cp - file, file, SBACKUP, cp); | ~~^~ ~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ m_backup.c:17:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | (void) (unlink (buffer)); | ^ m_backup.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_backup (file) | ^ In file included from m_backup.c:3: ./../h/mh.h:271: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] 271 | char *m_backup (); | ^ 5 warnings generated. ld -x -r m_backup.o mv a.out m_backup.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_convert.c m_convert.c:24:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | static m_conv(), attr(); | ~~~~~~ ^ | int m_convert.c:24:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | static m_conv(), attr(); | ~~~~~~ ^ | int m_convert.c:27:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | m_convert (mp, name) | ^ | int m_convert.c:40:24: warning: passing arguments to 'attr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | switch (err = attr (mp, cp = name)) { | ^ m_convert.c:59:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 59 | else | ^ m_convert.c:63:31: warning: passing arguments to 'm_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((err = first = m_conv (mp, cp, FIRST)) <= 0) | ^ m_convert.c:67:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | advise (NULLCP, "illegal argument delimiter: `%c'(0%o)", | ^ m_convert.c:73:27: warning: passing arguments to 'm_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if ((err = last = m_conv (mp, cp, LAST)) <= 0) { | ^ m_convert.c:77:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | advise (NULLCP, "no %s message", cp); | ^ m_convert.c:81:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | advise (NULLCP, "message %s doesn't exist", cp); | ^ m_convert.c:85:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | advise (NULLCP, "message %s out of range 1-%d", | ^ m_convert.c:91:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | advise (NULLCP, "bad message list %s", name); | ^ m_convert.c:95:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | advise (NULLCP, "folder full, no %s message", name); | ^ m_convert.c:99:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | advise (NULLCP, "no messages match specification"); | ^ m_convert.c:109:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | advise (NULLCP, "no messages in range %s", name); | ^ m_convert.c:164:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | advise (NULLCP, "no %s message", name); | ^ m_convert.c:166:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | advise (NULLCP, "message %d doesn't exist", first); | ^ m_convert.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | m_convert (mp, name) | ^ In file included from m_convert.c:6: ./../h/mh.h:272: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] 272 | int m_convert (); | ^ m_convert.c:194:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | static m_conv (mp, str, call) | ~~~~~~ ^ | int m_convert.c:194:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_convert.c:24: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] 24 | static m_conv(), attr(); | ^ m_convert.c:262:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | static attr (mp, cp) | ~~~~~~ ^ | int m_convert.c:278:17: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | if (ssequal ("cur:", cp)) /* this code need to be rewritten... */ | ^ m_convert.c:281:33: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ m_convert.c:281:64: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ m_convert.c:281:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_convert.c:281:18: note: place parentheses around the assignment to silence this warning 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ | ( ) m_convert.c:281:18: note: use '==' to turn this assignment into an equality comparison 281 | if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) | ^ | == m_convert.c:364:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | advise (NULLCP, "sequence %s %s", cp, inverted ? "full" : "empty"); | ^ m_convert.c:262:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | static attr (mp, cp) | ^ m_convert.c:24:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static m_conv(), attr(); | ^ 30 warnings generated. ld -x -r m_convert.o mv a.out m_convert.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_delete.c m_delete.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | m_delete (key) | ^ | int m_delete.c:15:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (uleq (np -> n_name, key)) { | ^ m_delete.c:17:12: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | admonish (NULLCP, "bug: m_delete(key=\"%s\")", np -> n_name); | ^ m_delete.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | m_delete (key) | ^ In file included from m_delete.c:3: ./../h/mh.h:273: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] 273 | int m_delete (); | ^ 5 warnings generated. ld -x -r m_delete.o mv a.out m_delete.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_draft.c m_draft.c:25:37: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (*isdf == NOTOK || (cp = m_find ("Draft-Folder")) == NULL) { | ^ m_draft.c:27:23: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | return m_maildir (msg && *msg ? msg : draft); | ^ m_draft.c:30:20: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | folder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp, | ^ m_draft.c:35:12: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | (void) chdir (m_maildir ("")); | ^ m_draft.c:35:29: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | (void) chdir (m_maildir ("")); | ^ m_draft.c:36:38: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | (void) strcpy (buffer, m_maildir (folder)); | ^ m_draft.c:39:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | adios (buffer, "error on folder"); | ^ m_draft.c:41:17: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (!getanswer (cp)) | ^ m_draft.c:42:11: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | done (0); | ^ m_draft.c:44:15: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!makedir (buffer)) | ^ m_draft.c:45:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | adios (NULLCP, "unable to create folder %s", buffer); | ^ m_draft.c:49:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | adios (buffer, "unable to change directory to"); | ^ m_draft.c:50:23: warning: passing arguments to 'm_gmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!(mp = m_gmsg (folder))) | ^ m_draft.c:51:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | adios (NULLCP, "unable to read folder %s", folder); | ^ m_draft.c:53:23: warning: passing arguments to 'm_remsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if ((mp = m_remsg (mp, 0, MAXFOLDER)) == NULL) | ^ m_draft.c:54:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_draft.c:57:20: warning: passing arguments to 'm_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if (!m_convert (mp, msg && *msg ? msg : use ? "cur" : "new")) | ^ m_draft.c:58:7: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | done (1); | ^ m_draft.c:59:14: warning: passing arguments to 'm_setseq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | m_setseq (mp); | ^ m_draft.c:61:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | adios (NULLCP, "only one message draft at a time!"); | ^ m_draft.c:63:61: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | (void) sprintf (buffer, "%s/%s", mp -> foldpath, m_name (mp -> lowsel)); | ^ m_draft.c:66:14: warning: passing arguments to 'm_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | m_setcur (mp, mp -> lowsel); | ^ m_draft.c:67:12: warning: passing arguments to 'm_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | m_sync (mp); | ^ m_draft.c:68:12: warning: passing arguments to 'm_fmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | m_fmsg (mp); | ^ m_draft.c:13:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | char *m_draft (folder, msg, use, isdf) | ^ In file included from m_draft.c:6: ./../h/mh.h:274: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] 274 | char *m_draft (); | ^ 26 warnings generated. ld -x -r m_draft.o mv a.out m_draft.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_find.c m_find.c:14:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (uleq (np -> n_name, str)) | ^ m_find.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_find (str) | ^ In file included from m_find.c:3: ./../h/mh.h:277: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] 277 | char *m_find (); | ^ 3 warnings generated. ld -x -r m_find.o mv a.out m_find.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_fmsg.c m_fmsg.c:10:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | void m_fmsg (mp) | ^ In file included from m_fmsg.c:6: ./../h/mh.h:278: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] 278 | void m_fmsg (); | ^ 2 warnings generated. ld -x -r m_fmsg.o mv a.out m_fmsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_foil.c m_foil.c:17:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_foil.c:19:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | np -> n_name = getcpy ("Path"); | ^ m_foil.c:20:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | np -> n_field = getcpy (path); | ^ m_foil.c:25:52: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | mypath = strlen(mypath) < BUFSIZ / 4 ? getcpy (mypath) : NULL; | ^ m_foil.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_foil (path) | ^ In file included from m_foil.c:3: ./../h/mh.h:279: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] 279 | void m_foil (); | ^ 6 warnings generated. ld -x -r m_foil.o mv a.out m_foil.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_getdefs.c m_getdefs.c:30:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 30 | off_t lseek (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:469:8: note: conflicting prototype is here 469 | off_t lseek(int, off_t, int); | ^ m_getdefs.c:49:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | if (mypath = getenv ("HOME")) | ~~~~~~~^~~~~~~~~~~~~~~~~ m_getdefs.c:49:13: note: place parentheses around the assignment to silence this warning 49 | if (mypath = getenv ("HOME")) | ^ | ( ) m_getdefs.c:49:13: note: use '==' to turn this assignment into an equality comparison 49 | if (mypath = getenv ("HOME")) | ^ | == m_getdefs.c:50:22: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | mypath = getcpy (mypath); | ^ m_getdefs.c:55:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | adios (NULLCP, "no HOME envariable"); | ^ m_getdefs.c:57:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | mypath = getcpy (pw -> pw_dir); | ^ m_getdefs.c:59:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | adios (NULLCP, "HOME envariable too long"); | ^ m_getdefs.c:66:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | adios (NULLCP, "MH envariable too long"); | ^ m_getdefs.c:67:17: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | defpath = path (cp, TFILE); | ^ m_getdefs.c:68:18: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if ((ib = FOpen (defpath, "r", "MHFD", 0)) == NULL) | ^ m_getdefs.c:69:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | adios (defpath, "unable to read"); | ^ m_getdefs.c:71:22: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | (void) m_putenv ("MH", defpath); | ^ m_getdefs.c:76:18: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | if ((ib = FOpen (defpath, "r", "MHFD", 0)) == NULL) | ^ m_getdefs.c:77:20: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 77 | switch (pid = vfork ()) { | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ m_getdefs.c:79:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | adios ("fork", "unable to"); | ^ m_getdefs.c:91:19: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | if (pidwait (pid, OK) | ^ m_getdefs.c:93:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | adios (NULLCP, "[install-mh aborted]"); | ^ m_getdefs.c:100:15: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | m_readefs (&m_defs, ib, mh_profile, 0); | ^ m_getdefs.c:101:19: warning: passing arguments to 'FClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | (void) FClose (ib); | ^ m_getdefs.c:103:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | if ((pp = m_find ("path")) != NULL && *pp) { | ^ m_getdefs.c:105:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | adios (NULLCP, "Path profile component too long"); | ^ m_getdefs.c:112:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | adios (buf, "error opening"); | ^ m_getdefs.c:115:20: warning: passing arguments to 'getanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | if (!getanswer(cp)) | ^ m_getdefs.c:116:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | adios (NULLCP, "unable to access MH-directory \"%s\"", buf); | ^ m_getdefs.c:118:19: warning: passing arguments to 'makedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if (!makedir (buf)) | ^ m_getdefs.c:119:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | adios (NULLCP, "unable to create", buf); | ^ m_getdefs.c:157:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | adios (NULLCP, "MHCONTEXT envariable too long"); | ^ m_getdefs.c:158:50: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:158:39: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:158:21: warning: passing arguments to 'FOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if ((ib = FOpen (ctxpath = getcpy (m_maildir (cp)), "r", "MHCONTEXTFD", 1)) | ^ m_getdefs.c:166:12: warning: passing arguments to 'm_readefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | m_readefs ((struct node **) 0, ib, cp, 1); | ^ m_getdefs.c:167:16: warning: passing arguments to 'FClose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | (void) FClose (ib); | ^ m_getdefs.c:194:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | advise (NULLCP, "bad value for $%s: %s", envariable, cp); | ^ m_getdefs.c:195:18: warning: passing arguments to 'unputenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | (void) unputenv (envariable); | ^ m_getdefs.c:209:20: warning: passing arguments to 'm_putenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (!m_putenv (envariable, buffer)) | ^ m_getdefs.c:212:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 212 | else | ^ m_getdefs.c:178:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | static FILE *FOpen (filename, mode, envariable, ctx) | ^ m_getdefs.c:27:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static FILE *FOpen (); | ^ m_getdefs.c:226:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | static int FClose (f) | ^ m_getdefs.c:28: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] 28 | static int FClose (); | ^ 39 warnings generated. ld -x -r m_getdefs.o mv a.out m_getdefs.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_getfld.c In file included from m_getfld.c:8: ./../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ m_getfld.c:189:21: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] 189 | #ifdef __DragonFly__) | ^ | // m_getfld.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | m_getfld (state, name, buf, bufsz, iob) | ^ | int m_getfld.c:227:9: warning: call to undeclared function 'm_Eom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | if (eom (c, iob)) { | ^ m_getfld.c:138:28: note: expanded from macro 'eom' 138 | (((c) == *msg_delim && m_Eom(c,iob)) ||\ | ^ m_getfld.c:227:9: 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] m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:230:37: 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] 230 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:282:39: 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 | if (c < 0 || (c = Getc(iob)) < 0 || eom (c, iob)) { | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:285:35: 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 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:331:11: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | advise (NULLCP, "eof encountered in field \"%s\"", | ^ m_getfld.c:360:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | advise (NULLCP, "eol encountered in field \"%s\"", name); | ^ m_getfld.c:366:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | advise (NULLCP, "field name \"%s\" exceeds %d bytes", | ^ m_getfld.c:395:19: warning: passing arguments to 'locc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | while (ep = locc( c, bp, '\n' )) { | ^ m_getfld.c:395:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 395 | while (ep = locc( c, bp, '\n' )) { | ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:395:13: note: place parentheses around the assignment to silence this warning 395 | while (ep = locc( c, bp, '\n' )) { | ^ | ( ) m_getfld.c:395:13: note: use '==' to turn this assignment into an equality comparison 395 | while (ep = locc( c, bp, '\n' )) { | ^ | == m_getfld.c:485:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | advise (NULLCP, "file missing final eol"); | ^ m_getfld.c:534:18: warning: passing arguments to 'matchc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ m_getfld.c:534:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 534 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:534:10: note: place parentheses around the assignment to silence this warning 534 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ | ( ) m_getfld.c:534:10: note: use '==' to turn this assignment into an equality comparison 534 | if (ep = matchc( fdelimlen, fdelim, c, bp ) ) | ^ | == m_getfld.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 551 | if (sp = pat_map[*ep & 0x00ff]) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:551:14: note: place parentheses around the assignment to silence this warning 551 | if (sp = pat_map[*ep & 0x00ff]) { | ^ | ( ) m_getfld.c:551:14: note: use '==' to turn this assignment into an equality comparison 551 | if (sp = pat_map[*ep & 0x00ff]) { | ^ | == m_getfld.c:593:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | adios (NULLCP, "m_getfld() called with bogus state of %d", state); | ^ m_getfld.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | m_getfld (state, name, buf, bufsz, iob) | ^ In file included from m_getfld.c:6: ./../h/mh.h:281: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] 281 | int m_getfld (); | ^ m_getfld.c:673:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | adios (NULLCP, "maildrop delimiter must be at least 2 bytes"); | ^ m_getfld.c:687:33: warning: call to undeclared function 'm_Eom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | while ((c = Getc(iob)) >= 0 && eom (c, iob)) | ^ m_getfld.c:138:28: note: expanded from macro 'eom' 138 | (((c) == *msg_delim && m_Eom(c,iob)) ||\ | ^ m_getfld.c:687:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] m_getfld.c:139:34: note: expanded from macro 'eom' 139 | (eom_action && (*eom_action)(c)))) | ^ m_getfld.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | m_unknown(iob) | ^ In file included from m_getfld.c:6: ./../h/mh.h:304: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] 304 | void m_unknown (); | ^ m_getfld.c:698:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 698 | if (eom_action = action) { | ~~~~~~~~~~~^~~~~~~~ m_getfld.c:698:20: note: place parentheses around the assignment to silence this warning 698 | if (eom_action = action) { | ^ | ( ) m_getfld.c:698:20: note: use '==' to turn this assignment into an equality comparison 698 | if (eom_action = action) { | ^ | == m_getfld.c:695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | void m_eomsbr (action) | ^ In file included from m_getfld.c:6: ./../h/mh.h:275: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] 275 | void m_eomsbr (); | ^ m_getfld.c:715:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | int m_Eom (c, iob) | ^ m_getfld.c:814:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 814 | if (cp = dp = index (unixbuf, ' ')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:814:12: note: place parentheses around the assignment to silence this warning 814 | if (cp = dp = index (unixbuf, ' ')) { | ^ | ( ) m_getfld.c:814:12: note: use '==' to turn this assignment into an equality comparison 814 | if (cp = dp = index (unixbuf, ' ')) { | ^ | == m_getfld.c:815:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 815 | while (cp = index (cp + 1, 'r')) | ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:815:12: note: place parentheses around the assignment to silence this warning 815 | while (cp = index (cp + 1, 'r')) | ^ | ( ) m_getfld.c:815:12: note: use '==' to turn this assignment into an equality comparison 815 | while (cp = index (cp + 1, 'r')) | ^ | == m_getfld.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | matchc( patln, pat, strln, str ) | ^ m_getfld.c:141:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | static unsigned char *matchc(); | ^ m_getfld.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | locc( cnt, src, term ) | ^ m_getfld.c:142:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | static unsigned char *locc(); | ^ 35 warnings generated. ld -x -r m_getfld.o mv a.out m_getfld.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_getfolder.c m_getfolder.c:11:27: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (((folder = m_find (pfolder)) == NULL | ^ m_getfolder.c:12:23: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | && (folder = m_find (inbox)) == NULL) || *folder == 0) | ^ m_getfolder.c:15:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | adios (NULLCP, "%s too long", pfolder); | ^ 3 warnings generated. ld -x -r m_getfolder.o mv a.out m_getfolder.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_gmprot.c m_gmprot.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | m_gmprot () { | ^ | int m_gmprot.c:10:32: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot); | ^ m_gmprot.c:10:18: warning: passing arguments to 'atooi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | return atooi ((cp = m_find ("msg-protect")) && *cp ? cp : msgprot); | ^ 3 warnings generated. ld -x -r m_gmprot.o mv a.out m_gmprot.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_gmsg.c m_gmsg.c:20:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | static m_getatr(); | ~~~~~~ ^ | int m_gmsg.c:49:42: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if ((dd = opendir (name = m_mailpath (name))) == NULL) { | ^ m_gmsg.c:60:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_gmsg.c:66:22: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | if (st.st_uid != getuid () || access (name, 02) == NOTOK) | ^ m_gmsg.c:66:35: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | if (st.st_uid != getuid () || access (name, 02) == NOTOK) | ^ m_gmsg.c:75:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | adios (NULLCP, "unable to allocate info storage"); | ^ m_gmsg.c:78:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 78 | while (dp = readdir (dd)) { | ~~~^~~~~~~~~~~~~~ m_gmsg.c:78:15: note: place parentheses around the assignment to silence this warning 78 | while (dp = readdir (dd)) { | ^ | ( ) m_gmsg.c:78:15: note: use '==' to turn this assignment into an equality comparison 78 | while (dp = readdir (dd)) { | ^ | == m_gmsg.c:88:17: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (i = m_atoi (dp -> d_name)) { | ^ m_gmsg.c:88:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 88 | if (i = m_atoi (dp -> d_name)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ m_gmsg.c:88:8: note: place parentheses around the assignment to silence this warning 88 | if (i = m_atoi (dp -> d_name)) { | ^ | ( ) m_gmsg.c:88:8: note: use '==' to turn this assignment into an equality comparison 88 | if (i = m_atoi (dp -> d_name)) { | ^ | == m_gmsg.c:96:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "unable to allocate info storage"); | ^ m_gmsg.c:198:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | adios (NULLCP, "unable to allocate folder storage"); | ^ m_gmsg.c:213:14: warning: passing arguments to 'm_getatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | m_getatr (mp); | ^ m_gmsg.c:24:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | struct msgs *m_gmsg (name) | ^ In file included from m_gmsg.c:6: ./../h/mh.h:284: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] 284 | struct msgs *m_gmsg (); | ^ m_gmsg.c:220:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | static m_getatr (mp) | ~~~~~~ ^ | int m_gmsg.c:238:36: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | mp -> msgattrs[i = 0] = getcpy (current); | ^ m_gmsg.c:239:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 239 | mp -> msgattrs[++i] = '\0'; | ^~~~ m_gmsg.c:243:19: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 243 | if (mh_seq == '\0' || *mh_seq == '\0') | ^~~~ | (void *)0 m_gmsg.c:247:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 247 | if (fp = fopen (field, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~ m_gmsg.c:247:12: note: place parentheses around the assignment to silence this warning 247 | if (fp = fopen (field, "r")) { | ^ | ( ) m_gmsg.c:247:12: note: use '==' to turn this assignment into an equality comparison 247 | if (fp = fopen (field, "r")) { | ^ | == m_gmsg.c:249:31: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | switch (state = m_getfld (state, name, field, sizeof field, fp)) { | ^ m_gmsg.c:253:19: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | tmpfld = add(field, NULLCP); | ^ m_gmsg.c:255:20: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | state = m_getfld(state, name, field, sizeof field, fp); | ^ m_gmsg.c:256:16: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | tmpfld = add(field, tmpfld); | ^ m_gmsg.c:258:35: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:258:51: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:258:23: warning: passing arguments to 'm_setatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | (void) m_setatr (mp, getcpy (name), trimcpy (tmpfld)); | ^ m_gmsg.c:266:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | adios (NULLCP, | ^ m_gmsg.c:274:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | adios (NULLCP, "%s/%s is poorly formatted", | ^ m_gmsg.c:287:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (ssequal ("atr-", np -> n_name) | ^ m_gmsg.c:291:18: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | cp = getcpy (np -> n_name + alen); | ^ m_gmsg.c:293:40: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if ((i = m_setatr (mp, cp, getcpy (np -> n_field))) != NOTOK) | ^ m_gmsg.c:293:24: warning: passing arguments to 'm_setatr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if ((i = m_setatr (mp, cp, getcpy (np -> n_field))) != NOTOK) | ^ m_gmsg.c:220:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | static m_getatr (mp) | ^ m_gmsg.c:20: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] 20 | static m_getatr(); | ^ m_gmsg.c:296:1: warning: non-void function does not return a value [-Wreturn-type] 296 | } | ^ m_gmsg.c:336:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | for (ap = brkstring (field, " ", "\n"); | ^ m_gmsg.c:339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | if (cp = index (*ap, '-')) | ~~~^~~~~~~~~~~~~~~~~~ m_gmsg.c:339:9: note: place parentheses around the assignment to silence this warning 339 | if (cp = index (*ap, '-')) | ^ | ( ) m_gmsg.c:339:9: note: use '==' to turn this assignment into an equality comparison 339 | if (cp = index (*ap, '-')) | ^ | == m_gmsg.c:341:18: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if ((j = m_atoi (*ap)) > 0) { | ^ m_gmsg.c:350:27: warning: passing arguments to 'm_atoi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | for (k = cp ? m_atoi (cp) : j; j <= k; j++) | ^ m_gmsg.c:300:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | static int m_setatr (mp, name, field) | ^ m_gmsg.c:21: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] 21 | static int m_setatr(); | ^ 41 warnings generated. ld -x -r m_gmsg.o mv a.out m_gmsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_maildir.c m_maildir.c:28:25: warning: passing arguments to 'exmaildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if ((cp = exmaildir (folder)) | ^ m_maildir.c:22:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char *m_maildir (folder) | ^ In file included from m_maildir.c:6: ./../h/mh.h:285: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] 285 | char *m_maildir (); | ^ m_maildir.c:49:12: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | cp = path (folder, TFOLDER); | ^ m_maildir.c:52:14: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | cp = getcpy (m_maildir (folder)); | ^ m_maildir.c:38:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | char *m_mailpath (folder) | ^ In file included from m_maildir.c:6: ./../h/mh.h:286: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] 286 | char *m_mailpath (); | ^ m_maildir.c:79:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((pp = m_find ("path")) != NULL && *pp) { | ^ m_maildir.c:84:12: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | cp = copy (pp, cp); | ^ m_maildir.c:87:18: warning: passing arguments to 'path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp = copy (path ("./", TFOLDER), cp); | ^ m_maildir.c:87:12: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp = copy (path ("./", TFOLDER), cp); | ^ m_maildir.c:61:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | static char *exmaildir (folder) | ^ m_maildir.c:19:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static char *exmaildir (); | ^ 13 warnings generated. ld -x -r m_maildir.o mv a.out m_maildir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_name.c m_name.c:9:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | char *m_name (num) | ^ In file included from m_name.c:3: ./../h/mh.h:287: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] 287 | char *m_name (); | ^ 2 warnings generated. ld -x -r m_name.o mv a.out m_name.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_readefs.c m_readefs.c:57:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | admonish (NULLCP, "bug: m_readefs called but pump not primed"); | ^ m_readefs.c:62:27: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | switch (state = m_getfld (state, name, field, sizeof field, ib)) { | ^ m_readefs.c:68:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_readefs.c:71:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | np -> n_name = getcpy (name); | ^ m_readefs.c:73:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cp = getcpy (field); | ^ m_readefs.c:76:9: warning: passing arguments to 'm_getfld' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | (state, name, field, sizeof field, ib); | ^ m_readefs.c:77:13: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | cp = add (field, cp); | ^ m_readefs.c:79:31: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | np -> n_field = trimcpy (cp); | ^ m_readefs.c:83:31: warning: passing arguments to 'trimcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | np -> n_field = trimcpy (field); | ^ m_readefs.c:96:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | adios (NULLCP, "no blank lines are permitted in %s", file); | ^ m_readefs.c:102:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | adios (NULLCP, "%s is poorly formatted", file); | ^ m_readefs.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void m_readefs (npp, ib, file, ctx) | ^ In file included from m_readefs.c:6: ./../h/mh.h:289: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] 289 | void m_readefs (); | ^ 13 warnings generated. ld -x -r m_readefs.o mv a.out m_readefs.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_remsg.c m_remsg.c:33:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | adios (NULLCP, "unable to re-allocate folder storage"); | ^ m_remsg.c:10:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | struct msgs *m_remsg (mp, lo, hi) | ^ In file included from m_remsg.c:6: ./../h/mh.h:290: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] 290 | struct msgs *m_remsg (); | ^ 3 warnings generated. ld -x -r m_remsg.o mv a.out m_remsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_replace.c m_replace.c:17:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_replace.c:19:24: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | np -> n_name = getcpy (key); | ^ m_replace.c:20:25: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | np -> n_field = getcpy (value); | ^ m_replace.c:28:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | if (uleq (np -> n_name, key)) { | ^ m_replace.c:31:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | admonish (NULLCP, "bug: m_replace(key=\"%s\",value=\"%s\")", | ^ m_replace.c:35:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | np -> n_field = getcpy (value); | ^ m_replace.c:45:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | adios (NULLCP, "unable to allocate profile storage"); | ^ m_replace.c:48:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | np -> n_name = getcpy (key); | ^ m_replace.c:49:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | np -> n_field = getcpy (value); | ^ m_replace.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_replace (key, value) | ^ In file included from m_replace.c:3: ./../h/mh.h:291: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] 291 | void m_replace (); | ^ 11 warnings generated. ld -x -r m_replace.o mv a.out m_replace.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_scratch.c m_scratch.c:16:12: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 16 | (void) mktemp (tmpfil); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ m_scratch.c:17:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if ((cp = r1bindex (file, '/')) == file) | ^ m_scratch.c:20:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 20 | (void) sprintf (buffer, "%.*s%s", cp - file, file, tmpfil); | ~~^~ ~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ m_scratch.c:21:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | (void) unlink (buffer); | ^ m_scratch.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_scratch (file, template) | ^ In file included from m_scratch.c:3: ./../h/mh.h:292: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] 292 | char *m_scratch (); | ^ 6 warnings generated. ld -x -r m_scratch.o mv a.out m_scratch.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_seq.c m_seq.c:25:38: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | (void) sprintf(buffer, "%s", m_name(mp->curmsg)); | ^ m_seq.c:46:34: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | (void) sprintf(bp, "%s", m_name(i)); | ^ m_seq.c:53:36: warning: passing arguments to 'm_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | (void) sprintf(bp, "-%s", m_name(i - 1)); | ^ m_seq.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | m_seq(mp, cp) | ^ In file included from m_seq.c:6: ./../h/mh.h:293: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] 293 | char *m_seq (); | ^ 5 warnings generated. ld -x -r m_seq.o mv a.out m_seq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_seqbits.c m_seqbits.c:7:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | char *m_seqbits (mp) | ^ In file included from m_seqbits.c:3: ./../h/mh.h:295: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] 295 | char *m_seqbits (); | ^ 2 warnings generated. ld -x -r m_seqbits.o mv a.out m_seqbits.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_seqflag.c m_seqflag.c:6:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int m_seqflag (mp, cp) | ^ In file included from m_seqflag.c:3: ./../h/mh.h:297: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] 297 | int m_seqflag (); | ^ 2 warnings generated. ld -x -r m_seqflag.o mv a.out m_seqflag.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_seqnew.c m_seqnew.c:21:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (!m_seqok (cp)) | ^ m_seqnew.c:42:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | advise (NULLCP, "only %d sequences allowed (no room for %s)!", | ^ m_seqnew.c:47:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | mp -> msgattrs[i] = getcpy (cp); | ^ m_seqnew.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int m_seqnew (mp, cp, public) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:298: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] 298 | int m_seqnew (); | ^ m_seqnew.c:73:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (!m_seqok (cp)) | ^ m_seqnew.c:97:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | advise (NULLCP, "only %d sequences allowed (no room for %s)!", | ^ m_seqnew.c:102:32: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | mp -> msgattrs[i] = getcpy (cp); | ^ m_seqnew.c:63:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int m_seqadd (mp, cp, j, public) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:294: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] 294 | int m_seqadd (); | ^ m_seqnew.c:127:18: warning: passing arguments to 'm_seqok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (!m_seqok (cp)) | ^ m_seqnew.c:139:12: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | advise (NULLCP, "no such sequence as %s", cp); | ^ m_seqnew.c:119:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int m_seqdel (mp, cp, j) | ^ In file included from m_seqnew.c:6: ./../h/mh.h:296: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] 296 | int m_seqdel (); | ^ m_seqnew.c:151:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | advise (NULLCP, "empty sequence name"); | ^ m_seqnew.c:164:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:169:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:174:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:178:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | advise (NULLCP, "illegal sequence name: %s", cp); | ^ m_seqnew.c:145:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | static int m_seqok (cp) | ^ m_seqnew.c:10: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] 10 | static int m_seqok(); | ^ 21 warnings generated. ld -x -r m_seqnew.o mv a.out m_seqnew.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_setcur.c m_setcur.c:23:19: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | if (!m_seqnew (mp, current, public)) | ^ m_setcur.c:25:21: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | (void) m_seqadd (mp, current, mp -> curmsg = num, public); | ^ m_setcur.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setcur (mp, num) | ^ In file included from m_setcur.c:3: ./../h/mh.h:299: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] 299 | void m_setcur (); | ^ 4 warnings generated. ld -x -r m_setcur.o mv a.out m_setcur.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_setseq.c m_setseq.c:16:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if ((cp = m_find (psequence)) == NULL | ^ m_setseq.c:17:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setseq.c:17:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setseq.c:25:15: warning: passing arguments to 'm_seqnew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | if (m_seqnew (mp, *ap, -1)) | ^ m_setseq.c:28:23: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | (void) m_seqadd (mp, *ap, msgnum, -1); | ^ m_setseq.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setseq (mp) | ^ In file included from m_setseq.c:3: ./../h/mh.h:300: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] 300 | void m_setseq (); | ^ 7 warnings generated. ld -x -r m_setseq.o mv a.out m_setseq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_setvis.c m_setvis.c:17:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if ((cp = m_find (usequence)) == NULL | ^ m_setvis.c:18:38: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setvis.c:18:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | || (ap = brkstring (dp = getcpy (cp), " ", "\n")) == NULL | ^ m_setvis.c:27:20: warning: passing arguments to 'm_seqflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (m_seqflag (mp, *ap)) | ^ m_setvis.c:30:20: warning: passing arguments to 'm_seqdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | (void) m_seqdel (mp, *ap, msgnum); | ^ m_setvis.c:35:23: warning: passing arguments to 'm_seqadd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | (void) m_seqadd (mp, *ap, msgnum, -1); | ^ m_setvis.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void m_setvis (mp, seen) | ^ In file included from m_setvis.c:3: ./../h/mh.h:301: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] 301 | void m_setvis (); | ^ 8 warnings generated. ld -x -r m_setvis.o mv a.out m_setvis.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_sync.c m_sync.c:56:21: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ m_sync.c:56:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_sync.c:56:13: note: place parentheses around the assignment to silence this warning 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ | ( ) m_sync.c:56:13: note: use '==' to turn this assignment into an equality comparison 56 | if (cp = m_seq (mp, mp -> msgattrs[i])) | ^ | == m_sync.c:57:13: warning: passing arguments to 'm_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | m_replace (attr, cp); | ^ m_sync.c:59:19: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | (void) m_delete (attr); | ^ m_sync.c:62:22: warning: passing arguments to 'm_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | (void) m_delete (attr); | ^ m_sync.c:63:22: warning: passing arguments to 'm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((cp = m_seq (mp, mp -> msgattrs[i])) == NULL) | ^ m_sync.c:67:8: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | && (unlink (seq) == NOTOK || | ^ m_sync.c:69:16: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | admonish (attr, "unable to write"); | ^ m_sync.c:99:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | (void) unlink (seq); | ^ m_sync.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | void m_sync (mp) | ^ In file included from m_sync.c:6: ./../h/mh.h:302: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] 302 | void m_sync (); | ^ 11 warnings generated. ld -x -r m_sync.o mv a.out m_sync.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_tmpfil.c m_tmpfil.c:8:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | char *m_tmpfil (template, fd) | ^ In file included from m_tmpfil.c:3: ./../h/mh.h:303: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] 303 | char *m_tmpfil (); | ^ 2 warnings generated. ld -x -r m_tmpfil.o mv a.out m_tmpfil.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_update.c m_update.c:44:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | adios (ctxpath, "unable to write"); | ^ m_update.c:59:2: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | _exit (0); /* we are child, time to die */ | ^ m_update.c:59:2: note: include the header or explicitly provide a declaration for '_exit' m_update.c:76:9: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if (getuid () == geteuid ()) | ^ m_update.c:76:22: warning: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if (getuid () == geteuid ()) | ^ m_update.c:79:29: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | for (i = 0; (child_id = fork ()) == -1 && i < 5; i++) | ^ m_update.c:80:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | sleep (5); | ^ m_update.c:86:13: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | (void) setgid (getgid ()); | ^ m_update.c:86:21: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | (void) setgid (getgid ()); | ^ m_update.c:87:13: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | (void) setuid (getuid ()); | ^ m_update.c:91:21: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | (void) pidwait (child_id, NOTOK); | ^ 10 warnings generated. ld -x -r m_update.o mv a.out m_update.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c ml_codeconv.c ml_codeconv.c:60:17: warning: passing arguments to 'read_profile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | read_profile(ml_coding_info); | ^ ml_codeconv.c:78:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if ((s = m_find("display-coding")) == NULL) | ^ ml_codeconv.c:80:36: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | CSL_DISPLAY(csl) = coding_to_cs(s); | ^ ml_codeconv.c:83:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if ((s = m_find("file-coding")) == NULL) | ^ ml_codeconv.c:85:33: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | CSL_FILE(csl) = coding_to_cs(s); | ^ ml_codeconv.c:88:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if ((s = m_find("process-coding")) == NULL) | ^ ml_codeconv.c:90:36: warning: passing arguments to 'coding_to_cs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | CSL_PROCESS(csl) = coding_to_cs(s); | ^ ml_codeconv.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | read_profile(csl) | ^ ml_codeconv.c:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static void read_profile(); | ^ ml_codeconv.c:104:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | else if (uleq(coding, "ja_JP.JIS7")) | ^ ml_codeconv.c:106:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | else if (uleq(coding, "ja_JP.EUC")) | ^ ml_codeconv.c:108:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | else if (uleq(coding, "ja_JP.SJIS")) | ^ ml_codeconv.c:110:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | else if (uleq(coding, "C")) | ^ ml_codeconv.c:114:18: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | else if (uleq(coding,"japanese") || uleq(coding,"ja_JP.jis8") | ^ ml_codeconv.c:114:45: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | else if (uleq(coding,"japanese") || uleq(coding,"ja_JP.jis8") | ^ ml_codeconv.c:115:9: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | || uleq(coding,"ja_JP.pjis") || uleq(coding,"ja_JP.jis") | ^ ml_codeconv.c:115:38: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | || uleq(coding,"ja_JP.pjis") || uleq(coding,"ja_JP.jis") | ^ ml_codeconv.c:116:9: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | || uleq(coding,"wr_WR.ct") || uleq(coding,"wr_WR.junet")) { | ^ ml_codeconv.c:116:38: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | || uleq(coding,"wr_WR.ct") || uleq(coding,"wr_WR.junet")) { | ^ ml_codeconv.c:118:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | } else if (uleq(coding,"ja_JP.ujis")) { | ^ ml_codeconv.c:120:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | } else if (uleq(coding,"ja_JP.mscode")) { | ^ ml_codeconv.c:122:20: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | } else if (uleq(coding,"noconv")) { | ^ ml_codeconv.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | coding_to_cs(coding) | ^ ml_codeconv.c:44:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static coding_system_t coding_to_cs(); | ^ ml_codeconv.c:135:44: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | if (fstat(fileno(stream), &buf)) adios (NULLCP, "unable to fstat stream"); | ^ ml_codeconv.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | select_coding_system(stream) | ^ ml_codeconv.c:45:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static coding_system_t select_coding_system(); | ^ ml_codeconv.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | ml_ismlchar(c) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:380: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] 380 | int ml_ismlchar (); | ^ ml_codeconv.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] 160 | ml_ismlptr(p) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:381: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] 381 | int ml_ismlptr (); | ^ ml_codeconv.c:175:17: warning: passing arguments to 'ml_fputs_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | ml_fputs_sbr(scanlk, stream, 0); | ^ ml_codeconv.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 | ml_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:382: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] 382 | void ml_fputs (); | ^ ml_codeconv.c:183:17: warning: passing arguments to 'ml_fputs_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | ml_fputs_sbr(scanlk, stream, 1); | ^ ml_codeconv.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | ml_pretty_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:383: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] 383 | void ml_pretty_fputs (); | ^ ml_codeconv.c:191:15: warning: passing arguments to 'jis7_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | jis7_fputs(scanlk, stream, 0); | ^ ml_codeconv.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | junet_fputs(scanlk, stream) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:384: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] 384 | void junet_fputs (); | ^ ml_codeconv.c:206:12: warning: passing arguments to 'sjis_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | sjis_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:209:12: warning: passing arguments to 'jeuc_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | jeuc_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:214:12: warning: passing arguments to 'jis7_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | jis7_fputs(scanlk, stream, pretty); | ^ ml_codeconv.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | ml_fputs_sbr(scanlk, stream, pretty) | ^ ml_codeconv.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void ml_fputs_sbr(); | ^ ml_codeconv.c:231:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 231 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:231:15: note: place parentheses around the assignment to silence this warning 231 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:231:15: note: use '==' to turn this assignment into an equality comparison 231 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:243:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | jeuc_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static void jeuc_fputs(); | ^ ml_codeconv.c:271:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 271 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:271:15: note: place parentheses around the assignment to silence this warning 271 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:271:15: note: use '==' to turn this assignment into an equality comparison 271 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:284:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | sjis_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static void sjis_fputs(); | ^ ml_codeconv.c:311:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 311 | while (u1 = *scanlk++) { | ~~~^~~~~~~~~~~ ml_codeconv.c:311:15: note: place parentheses around the assignment to silence this warning 311 | while (u1 = *scanlk++) { | ^ | ( ) ml_codeconv.c:311:15: note: use '==' to turn this assignment into an equality comparison 311 | while (u1 = *scanlk++) { | ^ | == ml_codeconv.c:327:16: warning: passing arguments to 'cntrl_putc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | cntrl_putc(u1, stream); | ^ ml_codeconv.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | jis7_fputs(scanlk, stream, pretty) | ^ ml_codeconv.c:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void jis7_fputs(); | ^ ml_codeconv.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | cntrl_putc(c, stream) | ^ ml_codeconv.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static void cntrl_putc(); | ^ ml_codeconv.c:364:16: warning: passing arguments to 'ml_conv_sbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | ml_conv_sbr(s, coding); | ^ ml_codeconv.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | ml_conv(s) | ^ In file included from ml_codeconv.c:7: ./../h/mh.h:385: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] 385 | char *ml_conv (); | ^ ml_codeconv.c:398:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | while (c1 = *in++) { | ~~~^~~~~~~ ml_codeconv.c:398:15: note: place parentheses around the assignment to silence this warning 398 | while (c1 = *in++) { | ^ | ( ) ml_codeconv.c:398:15: note: use '==' to turn this assignment into an equality comparison 398 | while (c1 = *in++) { | ^ | == ml_codeconv.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ml_conv_sbr(in, cs) | ^ ml_codeconv.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void ml_conv_sbr(); | ^ 65 warnings generated. ld -x -r ml_codeconv.o mv a.out ml_codeconv.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c ml_exthdr.c ml_exthdr.c:87:13: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (uprf(component, "X-")) | ^ ml_exthdr.c:92:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if (uleq(component, *p)) { | ^ ml_exthdr.c:102:21: warning: passing arguments to 'ml_to_mmh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | (void) ml_to_mmh(input, output, width); | ^ ml_exthdr.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] 80 | exthdr_encode(input, output, width, component) | ^ In file included from ml_exthdr.c:7: ./../h/mh.h:388: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] 388 | char *exthdr_encode (); | ^ ml_exthdr.c:183:20: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (ml_ismlptr(p)) { | ^ ml_exthdr.c:172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | int encoded_length(buf, bp, kanji_pos, p) | ^ ml_exthdr.c:228:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:252:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:279:36: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (japan_environ ? ml_ismlptr(pp) : (*pp & 0x80)) { | ^ ml_exthdr.c:320:36: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if (japan_environ ? ml_ismlptr(pp) : (*pp & 0x80)) { | ^ ml_exthdr.c:210:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | int parse_specials(encodep, ctextp, dpp, epp, ppp) | ^ ml_exthdr.c:386:21: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | mm_charset = m_find("MM-Charset"); | ^ ml_exthdr.c:411:18: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:425:18: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (ml_ismlptr(pp)) { | ^ ml_exthdr.c:488:17: warning: passing arguments to 'ml_ismlptr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (ml_ismlptr(ip)) { | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:493:8: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:511:4: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | PUT_ENCODED_WORD(); | ^ ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD' 137 | op = copy("=?ISO-2022-JP?B?", op); width += 16;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'bin_to_b64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD' 138 | x = bin_to_b64(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD' 140 | op = copy("=?", op); width += 2;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD' 141 | op = copy(mm_charset, op); width += strlen(mm_charset);\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD' 142 | op = copy("?Q?", op); width += 3;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'bin_to_qpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD' 143 | x = bin_to_qpr(buf, op); op += x; width += x;\ | ^ ml_exthdr.c:531:6: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD' 145 | op = copy("?=", op); width += 2;\ | ^ ml_exthdr.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | ml_to_mmh(ibuf, obuf, width) | ^ ml_exthdr.c:69: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] 69 | static int ml_to_mmh(); | ^ ml_exthdr.c:583:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:583:15: note: place parentheses around the assignment to silence this warning 583 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:583:15: note: use '==' to turn this assignment into an equality comparison 583 | while (c1 = *in++) { | ^ | == ml_exthdr.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | bin_to_b64(in, out) | ^ ml_exthdr.c:71: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] 71 | static int bin_to_b64(); | ^ ml_exthdr.c:613:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 613 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:613:15: note: place parentheses around the assignment to silence this warning 613 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:613:15: note: use '==' to turn this assignment into an equality comparison 613 | while (c1 = *in++) { | ^ | == ml_exthdr.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | bin_to_qpr(in, out) | ^ ml_exthdr.c:72: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] 72 | static int bin_to_qpr(); | ^ ml_exthdr.c:648:10: warning: passing arguments to 'uprf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (uprf(cp, "=?") && | ^ ml_exthdr.c:654:22: warning: passing arguments to 'stringdex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | ((in = stringdex("?=", tmp + 1) + tmp + 1 - cp) >= 0) && | ^ ml_exthdr.c:655:23: warning: passing arguments to 'mmh_to_ml' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | ((out = mmh_to_ml(cp, cp+in+1, op)) >= 0)) { | ^ ml_exthdr.c:666:17: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | (void) ml_conv(first); | ^ ml_exthdr.c:684:16: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | (void) ml_conv(first); | ^ ml_exthdr.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | exthdr_decode(input, output) | ^ In file included from ml_exthdr.c:7: ./../h/mh.h:389: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] 389 | char *exthdr_decode (); | ^ ml_exthdr.c:725:14: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | if (!uleq(buf, "us-ascii") && (!mm_charset || !uleq(buf, mm_charset))) | ^ ml_exthdr.c:725:56: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | if (!uleq(buf, "us-ascii") && (!mm_charset || !uleq(buf, mm_charset))) | ^ ml_exthdr.c:744:19: warning: passing arguments to 'b64_to_bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | (void) b64_to_bin(buf, op); | ^ ml_exthdr.c:746:19: warning: passing arguments to 'qpr_to_bin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | (void) qpr_to_bin(buf, op); | ^ ml_exthdr.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | mmh_to_ml(bp, ep, op) | ^ ml_exthdr.c:70: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] 70 | static int mmh_to_ml(); | ^ ml_exthdr.c:758:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 758 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:758:15: note: place parentheses around the assignment to silence this warning 758 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:758:15: note: use '==' to turn this assignment into an equality comparison 758 | while (c1 = *in++) { | ^ | == ml_exthdr.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | b64_to_bin(in, out) | ^ ml_exthdr.c:73: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] 73 | static int b64_to_bin(); | ^ ml_exthdr.c:794:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 794 | while (c1 = *in++) { | ~~~^~~~~~~ ml_exthdr.c:794:15: note: place parentheses around the assignment to silence this warning 794 | while (c1 = *in++) { | ^ | ( ) ml_exthdr.c:794:15: note: use '==' to turn this assignment into an equality comparison 794 | while (c1 = *in++) { | ^ | == ml_exthdr.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | qpr_to_bin(in, out) | ^ ml_exthdr.c:74: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] 74 | static int qpr_to_bin(); | ^ 64 warnings generated. ld -x -r ml_exthdr.o mv a.out ml_exthdr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c makedir.c makedir.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | makedir (dir) | ^ | int makedir.c:54:16: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | advise (dir, "unable to create directory"); | ^ makedir.c:58:16: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | advise (dir, "unable to create directory"); | ^ makedir.c:66:14: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | advise (dir, "unable to create directory"); | ^ makedir.c:72:19: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 72 | switch (pid = vfork ()) { | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ makedir.c:74:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | advise ("fork", "unable to"); | ^ makedir.c:88:10: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (pidXwait (pid, "mkdir")) | ^ ./../h/mh.h:311:44: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ makedir.c:88:10: warning: passing arguments to 'pidstatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../h/mh.h:311:35: note: expanded from macro 'pidXwait' 311 | #define pidXwait(id,cp) pidstatus (pidwait (id, NOTOK), stdout, cp) | ^ makedir.c:93:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | if ((cp = m_find ("folder-protect")) == NULL) | ^ makedir.c:95:30: warning: passing arguments to 'atooi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | (void) chmod (dir, atooi (cp)); | ^ makedir.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | makedir (dir) | ^ In file included from makedir.c:14: ./../h/mh.h:307: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] 307 | int makedir (); | ^ 12 warnings generated. ld -x -r makedir.o mv a.out makedir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c path.c path.c:30:22: warning: passing arguments to 'expath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if ((cp = expath (name, flag)) | ^ path.c:23:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | char *path (name, flag) | ^ In file included from path.c:6: ./../h/mh.h:308: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] 308 | char *path (); | ^ path.c:50:20: warning: passing arguments to 'm_mailpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | name = m_mailpath (buffer); | ^ path.c:52:43: warning: passing arguments to 'm_maildir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | (void) sprintf (buffer, "%s/", m_maildir ("")); | ^ path.c:53:14: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (ssequal (buffer, name)) { | ^ path.c:55:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | name = getcpy (name + strlen (buffer)); | ^ path.c:67:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | return getcpy (name); | ^ path.c:73:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | return getcpy (pwds); | ^ path.c:86:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 86 | (void) sprintf (buffer, "%.*s", cp - pwds, pwds); | ~~^~ ~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ path.c:87:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | return getcpy (buffer); | ^ path.c:95:32: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 95 | (void) sprintf (buffer, "%.*s/%s", cp - pwds, pwds, name); | ~~^~ ~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ path.c:96:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | return getcpy (buffer); | ^ path.c:40:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | static char *expath (name, flag) | ^ path.c:19:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static char *expath (); | ^ 15 warnings generated. ld -x -r path.o mv a.out path.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c peekc.c peekc.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int peekc(ib) | ^ In file included from peekc.c:3: ./../h/mh.h:309: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] 309 | int peekc (); | ^ 2 warnings generated. ld -x -r peekc.o mv a.out peekc.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c pidwait.c pidwait.c:14:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int pidwait (id, sigsok) | ^ In file included from pidwait.c:6: ./../h/mh.h:310: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] 310 | int pidwait (); | ^ 2 warnings generated. ld -x -r pidwait.o mv a.out pidwait.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c pidstatus.c pidstatus.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 65 | if (signum = ((status & 0xff00) >> 8)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pidstatus.c:65:17: note: place parentheses around the assignment to silence this warning 65 | if (signum = ((status & 0xff00) >> 8)) { | ^ | ( ) pidstatus.c:65:17: note: use '==' to turn this assignment into an equality comparison 65 | if (signum = ((status & 0xff00) >> 8)) { | ^ | == pidstatus.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 pidstatus (status, fp, cp) | ^ In file included from pidstatus.c:6: ./../h/mh.h:312: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] 312 | int pidstatus (); | ^ 3 warnings generated. ld -x -r pidstatus.o mv a.out pidstatus.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c printsw.c printsw.c:23:12: warning: passing arguments to 'ssequal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | (ssequal (substr, swp -> sw) && len >= swp -> minchars)) { | ^ printsw.c:25:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 25 | if (sp = (&swp[1]) -> sw) /* next switch */ | ~~~^~~~~~~~~~~~~~~~~ printsw.c:25:13: note: place parentheses around the assignment to silence this warning 25 | if (sp = (&swp[1]) -> sw) /* next switch */ | ^ | ( ) printsw.c:25:13: note: use '==' to turn this assignment into an equality comparison 25 | if (sp = (&swp[1]) -> sw) /* next switch */ | ^ | == printsw.c:41:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 41 | while (*cp++ = *cp1++); | ~~~~~~^~~~~~~~ printsw.c:41:16: note: place parentheses around the assignment to silence this warning 41 | while (*cp++ = *cp1++); | ^ | ( ) printsw.c:41:16: note: use '==' to turn this assignment into an equality comparison 41 | while (*cp++ = *cp1++); | ^ | == printsw.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void printsw (substr, swp, prefix) | ^ In file included from printsw.c:4: ./../h/mh.h:313: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] 313 | void printsw (); | ^ 5 warnings generated. ld -x -r printsw.o mv a.out printsw.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c push.c push.c:15:10: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | switch (fork ()) { | ^ push.c:17:3: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | sleep (5); | ^ push.c:35:8: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | done (0); | ^ push.c:40:9: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | advise (NULLCP, "unable to fork, so can't push..."); | ^ 4 warnings generated. ld -x -r push.o mv a.out push.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c putenv.c putenv.c:12:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | static nvmatch(); | ~~~~~~ ^ | int putenv.c:29:14: warning: passing arguments to 'nvmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | if (nvmatch (name, *ep)) { | ^ putenv.c:14:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | int m_putenv (name, value) | ^ In file included from putenv.c:6: ./../h/mh.h:288: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] 288 | int m_putenv (); | ^ putenv.c:52:14: warning: passing arguments to 'nvmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | if (nvmatch (name, *ep)) | ^ putenv.c:45:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | int unputenv (name) | ^ In file included from putenv.c:6: ./../h/mh.h:327: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] 327 | int unputenv (); | ^ putenv.c:66:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | static nvmatch (s1, s2) | ~~~~~~ ^ | int putenv.c:66:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] putenv.c:12: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] 12 | static nvmatch(); | ^ 10 warnings generated. ld -x -r putenv.o mv a.out putenv.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c pwd.c pwd.c:44:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | admonish (NULL, "unable to determine working directory"); | ^ 1 warning generated. ld -x -r pwd.o mv a.out pwd.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c refile.c refile.c:21:28: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | vec[vecp++] = r1bindex (fileproc, '/'); | ^ refile.c:35:19: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 35 | switch (pid = vfork ()) { | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ refile.c:37:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | advise ("fork", "unable to"); | ^ refile.c:47:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | return (pidwait (pid, NOTOK)); | ^ refile.c:12:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | int refile (arg, file) | ^ In file included from refile.c:6: ./../h/mh.h:317: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] 317 | int refile (); | ^ 6 warnings generated. ld -x -r refile.o mv a.out refile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c remdir.c remdir.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | remdir (dir) | ^ | int remdir.c:43:11: warning: passing arguments to 'admonish' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | admonish (dir, "unable to remove directory"); | ^ remdir.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | remdir (dir) | ^ In file included from remdir.c:6: ./../h/mh.h:318: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] 318 | int remdir (); | ^ 4 warnings generated. ld -x -r remdir.o mv a.out remdir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c r1bindex.c r1bindex.c:4:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | char *r1bindex(str, chr) | ^ 1 warning generated. ld -x -r r1bindex.o mv a.out r1bindex.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c ruserpass.c ruserpass.c:31:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 31 | char *index(), *getpass(), *getlogin(); | ^ ruserpass.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | ruserpass(host, aname, apass) | ^ | int ruserpass.c:94:8: warning: call to undeclared function 'uleq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | if (uleq(host, tokval)) | ^ ruserpass.c:143:24: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | if ((pp = getpwuid (getuid())) != NULL) | ^ ruserpass.c:163:20: warning: passing arguments to 'getpass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | mypass = getpass (prompt); | ^ ruserpass.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ruserpass(host, aname, apass) | ^ 6 warnings generated. ld -x -r ruserpass.o mv a.out ruserpass.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c showfile.c showfile.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | showfile (arg, file) | ^ | int showfile.c:22:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | if (strcmp (r1bindex (lproc, '/'), "mhl") == 0) | ^ showfile.c:25:19: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 25 | switch (pid = vfork ()) { | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ showfile.c:27:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | advise ("fork", "unable to"); | ^ showfile.c:32:29: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | vec[vecp++] = r1bindex (lproc, '/'); | ^ showfile.c:53:22: warning: passing arguments to 'pidwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | return (pidwait (pid, NOTOK) & 0377 ? 1 : 0); | ^ showfile.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | showfile (arg, file) | ^ In file included from showfile.c:3: ./../h/mh.h:319: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] 319 | int showfile (); | ^ 8 warnings generated. ld -x -r showfile.o mv a.out showfile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c smatch.c smatch.c:12:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | smatch(string, swp) | ^ | int smatch.c:27:53: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ~~~~^~~~~~~~~~ smatch.c:27:53: note: place parentheses around the assignment to silence this warning 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ^ | ( ) smatch.c:27:53: note: use '==' to turn this assignment into an equality comparison 27 | for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { | ^ | == smatch.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | smatch(string, swp) | ^ In file included from smatch.c:6: ./../h/mh.h:320: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] 320 | int smatch (); | ^ 4 warnings generated. ld -x -r smatch.o mv a.out smatch.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c sprintb.c sprintb.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 26 | while (i = *bits++) | ~~^~~~~~~~~ sprintb.c:26:11: note: place parentheses around the assignment to silence this warning 26 | while (i = *bits++) | ^ | ( ) sprintb.c:26:11: note: use '==' to turn this assignment into an equality comparison 26 | while (i = *bits++) | ^ | == sprintb.c:10:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | char *sprintb (buffer, v, bits) | ^ In file included from sprintb.c:6: ./../h/mh.h:321: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] 321 | char *sprintb(); | ^ 3 warnings generated. ld -x -r sprintb.o mv a.out sprintb.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c ssequal.c ssequal.c:4:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 4 | ssequal (substr, str) | ^ | int ssequal.c:4:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2 warnings generated. ld -x -r ssequal.o mv a.out ssequal.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c strindex.c strindex.c:16:6: warning: call to undeclared function 'uprf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | if (uprf (p, p1)) | ^ strindex.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int stringdex (p1, p2) | ^ 2 warnings generated. ld -x -r strindex.o mv a.out strindex.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c trimcpy.c trimcpy.c:28:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | return getcpy (cp); | ^ trimcpy.c:12:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | char *trimcpy (cp) | ^ In file included from trimcpy.c:7: ./../h/mh.h:324: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] 324 | char *trimcpy (); | ^ 3 warnings generated. ld -x -r trimcpy.o mv a.out trimcpy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c uleq.c uleq.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | uleq (c1, c2) | ^ | int uleq.c:22:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 22 | while (c = *c1++) | ~~^~~~~~~ uleq.c:22:14: note: place parentheses around the assignment to silence this warning 22 | while (c = *c1++) | ^ | ( ) uleq.c:22:14: note: use '==' to turn this assignment into an equality comparison 22 | while (c = *c1++) | ^ | == uleq.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | uleq (c1, c2) | ^ 3 warnings generated. ld -x -r uleq.o mv a.out uleq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c uprf.c uprf.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | uprf (c1, c2) | ^ | int uprf.c:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 20 | while (c = *c2++) | ~~^~~~~~~ uprf.c:20:14: note: place parentheses around the assignment to silence this warning 20 | while (c = *c2++) | ^ | ( ) uprf.c:20:14: note: use '==' to turn this assignment into an equality comparison 20 | while (c = *c2++) | ^ | == uprf.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | uprf (c1, c2) | ^ 3 warnings generated. ld -x -r uprf.o mv a.out uprf.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c vfgets.c vfgets.c:27:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | adios (NULLCP, "unable to allocate string storage"); | ^ vfgets.c:41:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | adios (NULLCP, "vfgets() botch -- you lose big"); | ^ vfgets.c:67:9: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | adios (NULLCP, "unable to allocate string storage"); | ^ vfgets.c:13:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | int vfgets (in, bp) | ^ In file included from vfgets.c:6: ./../h/mh.h:329: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] 329 | int vfgets (); | ^ 5 warnings generated. ld -x -r vfgets.o mv a.out vfgets.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c formatdef.c ld -x -r formatdef.o mv a.out formatdef.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c m_msgdef.c ld -x -r m_msgdef.o mv a.out m_msgdef.o if [ -f libmh.a ]; then mv libmh.a zlibmh.a; fi ar r libmh.a add.o adios.o admonish.o addrsbr.o advertise.o advise.o ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o ml_codeconv.o ml_exthdr.o makedir.o path.o peekc.o pidwait.o pidstatus.o printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o ruserpass.o showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o; ranlib libmh.a ar: creating archive libmh.a -rw-r--r-- 1 pbulk staff 177688 Oct 9 14:04 libmh.a MH library built normally for d in sendmail; do (cd $d; make DESTDIR= all); done clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c hosts.c In file included from hosts.c:16: ../../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ hosts.c:58:9: warning: call to undeclared function 'uleq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | if (uleq (LocalName (), site)) | ^ hosts.c:72:31: warning: passing arguments to 'mh_gethostbyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (hp = mh_gethostbyname (q)) { | ^ hosts.c:72:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 72 | if (hp = mh_gethostbyname (q)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:72:12: note: place parentheses around the assignment to silence this warning 72 | if (hp = mh_gethostbyname (q)) { | ^ | ( ) hosts.c:72:12: note: use '==' to turn this assignment into an equality comparison 72 | if (hp = mh_gethostbyname (q)) { | ^ | == hosts.c:82:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 82 | else | ^ hosts.c:40:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | char *OfficialName (name) | ^ hosts.c:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if (cp = index (buffer, '#')) | ~~~^~~~~~~~~~~~~~~~~~~~~ hosts.c:115:9: note: place parentheses around the assignment to silence this warning 115 | if (cp = index (buffer, '#')) | ^ | ( ) hosts.c:115:9: note: use '==' to turn this assignment into an equality comparison 115 | if (cp = index (buffer, '#')) | ^ | == hosts.c:117:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 117 | if (cp = index (buffer, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:117:9: note: place parentheses around the assignment to silence this warning 117 | if (cp = index (buffer, '\n')) | ^ | ( ) hosts.c:117:9: note: use '==' to turn this assignment into an equality comparison 117 | if (cp = index (buffer, '\n')) | ^ | == hosts.c:128:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | if (cp = index (dp = cp, ' ')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:128:9: note: place parentheses around the assignment to silence this warning 128 | if (cp = index (dp = cp, ' ')) { | ^ | ( ) hosts.c:128:9: note: use '==' to turn this assignment into an equality comparison 128 | if (cp = index (dp = cp, ' ')) { | ^ | == hosts.c:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 135 | if (cp = index (*q++ = cp, ' ')) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ hosts.c:135:10: note: place parentheses around the assignment to silence this warning 135 | if (cp = index (*q++ = cp, ' ')) | ^ | ( ) hosts.c:135:10: note: use '==' to turn this assignment into an equality comparison 135 | if (cp = index (*q++ = cp, ' ')) | ^ | == hosts.c:148:23: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | h -> h_name = getcpy (dp); | ^ hosts.c:152:20: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | *r++ = getcpy (*q); | ^ 12 warnings generated. ld -x -r hosts.o mv a.out hosts.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c smail.c In file included from smail.c:50: ../../zotnet/mts.h:24:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 24 | char *getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ smail.c:326:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 326 | else | ^ smail.c:333:24: warning: passing arguments to 'rclient' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | if ((sd1 = rclient (server, "tcp", "smtp")) == NOTOK) | ^ smail.c:353:16: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | if ((sd2 = dup (sd1)) == NOTOK) { | ^ smail.c:354:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | (void) close (sd1); | ^ smail.c:355:19: warning: passing arguments to 'sm_ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | return sm_ierror ("unable to dup"); | ^ smail.c:363:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | (void) close (sd1); | ^ smail.c:366:19: warning: passing arguments to 'sm_ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | return sm_ierror ("unable to fdopen"); | ^ smail.c:369:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | (void) alarm (SM_OPEN); | ^ smail.c:377:20: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | (void) sm_end (NOTOK); | ^ smail.c:382:21: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | result = smtalk (SM_HELO, "EHLO %s", | ^ smail.c:394:20: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | (void) sm_end (NOTOK); | ^ smail.c:400:22: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | result = smtalk (SM_HELO, "HELO %s", client); | ^ smail.c:407:17: warning: passing arguments to 'sm_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | (void) sm_end (NOTOK); | ^ smail.c:414:26: warning: passing arguments to 'EHLOset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | if (watch && EHLOset ("XVRB")) | ^ smail.c:415:16: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | (void) smtalk (SM_HELO, "VERB on"); | ^ smail.c:416:25: warning: passing arguments to 'EHLOset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | if (onex && EHLOset ("XONE")) | ^ smail.c:417:16: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | (void) smtalk (SM_HELO, "ONEX"); | ^ smail.c:418:27: warning: passing arguments to 'EHLOset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | if (queued && EHLOset ("XQUE")) | ^ smail.c:419:16: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | (void) smtalk (SM_HELO, "QUED"); | ^ smail.c:295:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | int sm_init (client, server, watch, verbose, debug, onex, queued) | ^ In file included from smail.c:49: ./smail.h:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:440:22: warning: passing arguments to 'client' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | if ((sd = client (server, protocol, service, FALSE, response)) != NOTOK) | ^ smail.c:472:22: warning: passing arguments to 'sm_ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | (void) sm_ierror ("%s", response); | ^ smail.c:429:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | static int rclient (server, protocol, service) | ^ smail.c:112: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] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:492:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | switch (smtalk (SM_MAIL, "%s FROM:<%s>", | ^ smail.c:479:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | int sm_winit (mode, from) | ^ In file included from smail.c:49: ./smail.h:18:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:524:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | switch (smtalk (SM_RCPT, host && *host ? "RCPT TO:<%s%s@%s>" | ^ smail.c:515:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | int sm_wadr (mbox, host, path) | ^ In file included from smail.c:49: ./smail.h:18:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:563:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | switch (smtalk (SM_DATA, "DATA")) { | ^ smail.c:596:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 596 | (void) alarm (SM_TEXT); | ^ smail.c:597:25: warning: passing arguments to 'sm_wstream' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | result = sm_wstream (buffer, len); | ^ smail.c:589:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | int sm_wtxt (buffer, len) | ^ In file included from smail.c:49: ./smail.h:18:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int sm_init (), sm_winit (), sm_wadr (), sm_waend (), sm_wtxt (), | ^ smail.c:606:20: warning: passing arguments to 'sm_wstream' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | if (sm_wstream ((char *) NULL, 0) == NOTOK) | ^ smail.c:609:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | switch (smtalk (SM_DOT + 3 * sm_addrs, ".")) { | ^ smail.c:651:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | (void) smtalk (SM_QUIT, "QUIT"); | ^ smail.c:659:17: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | if (smtalk (SM_RSET, "RSET") == 250 && type == DONE) | ^ smail.c:666:20: warning: passing arguments to 'smtalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | (void) smtalk (SM_QUIT, "QUIT"); | ^ smail.c:689:9: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | (void) alarm (SM_CLOS); | ^ smail.c:694:9: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | (void) alarm (SM_CLOS); | ^ smail.c:630:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | int sm_end (type) | ^ In file included from smail.c:49: ./smail.h:19:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | sm_wtend (), sm_end (); | ^ smail.c:1065:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | static int sm_ierror (fmt, a, b, c, d) | ^ smail.c:112:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1168:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1168 | (void) alarm ((unsigned) time); | ^ smail.c:1169:30: warning: passing arguments to 'sm_wrecord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | if ((result = sm_wrecord (buffer, strlen (buffer))) != NOTOK) | ^ smail.c:1083:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | static int smtalk (time, fmt, a, b, c, d) | ^ smail.c:112:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1178:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | static int sm_wrecord (buffer, len) | ^ smail.c:112:46: warning: a function declaration 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] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | static int sm_wstream (buffer, len) | ^ smail.c:112:60: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static int rclient(), sm_ierror(), smtalk(), sm_wrecord(), sm_wstream(); | ^ smail.c:1287:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1287 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ~~~^~~~~~~ smail.c:1287:31: note: place parentheses around the assignment to silence this warning 1287 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | ( ) smail.c:1287:31: note: use '==' to turn this assignment into an equality comparison 1287 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | == smail.c:1301:35: warning: passing arguments to 'sm_rrecord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | for (more = FALSE; sm_rrecord (bp = buffer, &bc) != NOTOK;) { | ^ smail.c:1314:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1314 | if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smail.c:1314:13: note: place parentheses around the assignment to silence this warning 1314 | if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { | ^ | ( ) smail.c:1314:13: note: use '==' to turn this assignment into an equality comparison 1314 | if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { | ^ | == smail.c:1383:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | static int sm_rrecord (buffer, len) | ^ smail.c:113:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static int sm_werror(), smhear(), sm_rrecord(), sm_rerror(); | ^ smail.c:1430:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | static TYPESIG alrmser (i) | ^ smail.c:84:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static TYPESIG alrmser (); | ^ smail.c:1446:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | char *rp_string (code) | ^ In file included from smail.c:49: ./smail.h:20: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] 20 | char *rp_string (); | ^ smail.c:1569:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1569 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ~~~^~~~~~~ smail.c:1569:30: note: place parentheses around the assignment to silence this warning 1569 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | ( ) smail.c:1569:30: note: use '==' to turn this assignment into an equality comparison 1569 | for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) | ^ | == smail.c:1562:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | char *EHLOset (s) | ^ smail.c:132: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] 132 | char *EHLOset (); | ^ 68 warnings generated. ld -x -r smail.o mv a.out smail.o if [ -f sendmts.a ]; then mv sendmts.a zsendmts.a; fi ar r sendmts.a hosts.o smail.o; ranlib sendmts.a ar: creating archive sendmts.a rm -f ../libmts.a cd ..; ln sendmail/sendmts.a libmts.a rm -f ../llib-lmts cd .. ; ln sendmail/llib-lsendmail llib-lmts -rw-r--r-- 2 pbulk staff 15392 Oct 9 14:04 sendmts.a SendMail/SMTP-MTS library built normally for d in mts bboards tws mf; do (cd $d; make DESTDIR= all); done clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c mts.c In file included from mts.c:16: ./mts.h:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | char *getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ mts.c:283:41: warning: passing arguments to 'tailor_value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | if (b -> keyword && (cp = tailor_value (bp))) | ^ mts.c:306:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | static char *tailor_value (s) | ^ mts.c:38:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static char *tailor_value (); | ^ mts.c:390:12: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | (void) gethostname (buffer, sizeof buffer); | ^ mts.c:394:31: warning: passing arguments to 'mh_gethostbyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | if (hp = mh_gethostbyname (buffer)) | ^ mts.c:394:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 394 | if (hp = mh_gethostbyname (buffer)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mts.c:394:12: note: place parentheses around the assignment to silence this warning 394 | if (hp = mh_gethostbyname (buffer)) | ^ | ( ) mts.c:394:12: note: use '==' to turn this assignment into an equality comparison 394 | if (hp = mh_gethostbyname (buffer)) | ^ | == mts.c:433:12: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 433 | (void) gethostname (buffer, sizeof buffer); | ^ mts.c:522:25: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 522 | if ((pw = getpwuid (getuid ())) == NULL | ^ mts.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | mh_gethostbyname(name) | ^ mts.c:354:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 354 | struct hostent *mh_gethostbyname(); | ^ 11 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c lock.c In file included from lock.c:20: ./mts.h:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | char *getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ lock.c:103:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | static lockname(), timerOFF(); | ~~~~~~ ^ | int lock.c:103:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | static lockname(), timerOFF(); | ~~~~~~ ^ | int lock.c:111:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 111 | time_t time (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ lock.c:112:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 112 | char *mktemp (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:233:18: note: conflicting prototype is here 233 | char *_LIBC_CSTR mktemp(char *_LIBC_CSTR); | ^ lock.c:129:22: warning: passing arguments to 'f_lkopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | return f_lkopen (file, access); | ^ lock.c:134:22: warning: passing arguments to 'b_lkopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | return b_lkopen (file, access); | ^ lock.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | int lkopen (file, access) | ^ In file included from lock.c:20: ./mts.h:51: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] 51 | int lkopen (), lkclose (); | ^ lock.c:153:14: warning: passing arguments to 'lockname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | lockname (curlock, tmplock, file, (int) st.st_dev, (int) st.st_ino); | ^ lock.c:156:17: warning: passing arguments to 'lockit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | switch (lockit (tmplock, curlock)) { | ^ lock.c:160:14: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | (void) unlink (curlock); | ^ lock.c:174:7: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | sleep (5); | ^ lock.c:181:7: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | sleep (5); | ^ lock.c:183:14: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | (void) unlink (curlock); | ^ lock.c:140:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | static int b_lkopen (file, access) | ^ lock.c:102: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] 102 | static int b_lkopen(), lockit(), f_lkopen(); | ^ lock.c:200:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | (void) close (fd); | ^ lock.c:202:10: warning: call to undeclared function 'link'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | fd = link (tmp, file); | ^ lock.c:203:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | (void) unlink (tmp); | ^ lock.c:189:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | static int lockit (tmp, file) | ^ lock.c:102:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static int b_lkopen(), lockit(), f_lkopen(); | ^ lock.c:210:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | static lockname (curlock, tmplock, file, dev, ino) | ~~~~~~ ^ | int lock.c:225:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 225 | (void) sprintf (bp, "%.*s", cp - file, file); | ~~^~ ~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ lock.c:249:34: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 249 | (void) sprintf (tmplock, "%.*s,LCK.XXXXXX", | ~~^~ 250 | cp - curlock, curlock); | ~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ lock.c:251:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | (void) unlink (mktemp (tmplock)); | ^ lock.c:251:17: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 251 | (void) unlink (mktemp (tmplock)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ lock.c:210:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | static lockname (curlock, tmplock, file, dev, ino) | ^ lock.c:103: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] 103 | static lockname(), timerOFF(); | ^ lock.c:253:1: warning: non-void function does not return a value [-Wreturn-type] 253 | } | ^ lock.c:371:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | (void) close (fd); | ^ lock.c:373:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | sleep (5); | ^ lock.c:376:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | (void) close (fd); | ^ lock.c:315:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | static int f_lkopen (file, access) | ^ lock.c:102:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static int b_lkopen(), lockit(), f_lkopen(); | ^ lock.c:446:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | (void) unlink (curlock); | ^ lock.c:447:12: warning: passing arguments to 'timerOFF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | timerOFF (fd); | ^ lock.c:451:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | return (close (fd)); | ^ lock.c:388:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | int lkclose (fd, file) | ^ In file included from lock.c:20: ./mts.h:51:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | int lkopen (), lkclose (); | ^ lock.c:468:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 468 | (void) close (fd); | ^ lock.c:457:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | FILE *lkfopen (file, mode) | ^ In file included from lock.c:20: ./mts.h:52:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | FILE *lkfopen (); | ^ lock.c:537:10: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 537 | (void) unlink (curlock); | ^ lock.c:541:12: warning: passing arguments to 'timerOFF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | timerOFF (fileno (fp)); | ^ lock.c:478:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | int lkfclose (fp, file) | ^ In file included from lock.c:20: ./mts.h:53: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] 53 | int lkfclose (); | ^ lock.c:618:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 618 | (void) close (j); | ^ lock.c:620:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 620 | (void) alarm (NSECS); | ^ lock.c:600:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | static TYPESIG alrmser (sig) | ^ lock.c:651:9: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 651 | (void) alarm (NSECS); | ^ lock.c:657:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 657 | static timerOFF (fd) | ~~~~~~ ^ | int lock.c:663:12: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 663 | (void) alarm (0); | ^ lock.c:657:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | static timerOFF (fd) | ^ lock.c:103:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static lockname(), timerOFF(); | ^ lock.c:682:1: warning: non-void function does not return a value [-Wreturn-type] 682 | } | ^ 56 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c client.c In file included from client.c:15: ./mts.h:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | char *getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ client.c:151:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ client.c:151:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ client.c:151:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ client.c:154:37: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ client.c:154:29: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ client.c:154:18: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ client.c:156:17: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | *ap++ = getcpy ("localhost"); | ^ client.c:189:27: warning: passing arguments to 'gethostbystring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | if (hp = gethostbystring (*ap)) { | ^ client.c:189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if (hp = gethostbystring (*ap)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ client.c:189:9: note: place parentheses around the assignment to silence this warning 189 | if (hp = gethostbystring (*ap)) { | ^ | ( ) client.c:189:9: note: use '==' to turn this assignment into an equality comparison 189 | if (hp = gethostbystring (*ap)) { | ^ | == client.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | int client (args, protocol, service, rproto, response) | ^ client.c:210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | static int rcaux (sp, hp, rproto, response) | ^ client.c:246:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | (void) close (sd); | ^ client.c:290:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | static int getport (rproto, addrtype, response) | ^ client.c:347:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | static int inet (hp, net) | ^ client.c:366:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 366 | u_long inet_addr (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/arpa/inet.h:78:12: note: conflicting prototype is here 78 | in_addr_t inet_addr(const char *); | ^ client.c:366:8: error: conflicting types for 'inet_addr' 366 | u_long inet_addr (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/arpa/inet.h:78:12: note: previous declaration is here 78 | in_addr_t inet_addr(const char *); | ^ client.c:402:26: warning: passing arguments to 'mh_gethostbyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | return mh_gethostbyname (s); | ^ client.c:381:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | struct hostent *gethostbystring (s) | ^ client.c:101:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | struct hostent *gethostbystring (); | ^ client.c:437:16: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | while (brkany (c = *sp, brksep)) | ^ client.c:439:19: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (!c || brkany (c, brkterm)) { | ^ client.c:446:32: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ client.c:446:55: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ client.c:425:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | static char **brkstring (strg, brksep, brkterm) | ^ client.c:105:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static char *getcpy (), **copyip (), **brkstring (); | ^ client.c:455:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 455 | static brkany (chr, strg) | ~~~~~~ ^ | int client.c:455:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] client.c:104: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] 104 | static int brkany (); | ^ client.c:469:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | static char **copyip (p, q) | ^ client.c:105:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static char *getcpy (), **copyip (), **brkstring (); | ^ client.c:481:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | static char *getcpy (str) | ^ client.c:105: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] 105 | static char *getcpy (), **copyip (), **brkstring (); | ^ 32 warnings and 1 error generated. *** Error code 1 Stop. make[2]: stopped making "all" in /var/tmp/work/mail/ja-mh/work/mh-6.8.4-JP-3.05/zotnet/mts clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c getbbent.c getbbent.c:117:19: warning: passing arguments to 'setbbinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | return setbbinfo (BBOARDS, file, f); | ^ getbbent.c:124:21: warning: passing arguments to 'setbbent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | return setbbent (f); | ^ getbbent.c:112:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int setbbfile (file, f) | ^ In file included from getbbent.c:8: ./bboards.h:75:35: warning: a function declaration 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] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:141:22: warning: passing arguments to 'setpwinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | return setpwinfo (pw, file, f); | ^ getbbent.c:129:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | int setbbinfo (user, file, f) | ^ In file included from getbbent.c:8: ./bboards.h:75:49: warning: a function declaration 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] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:150:19: warning: passing arguments to 'setpwaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (!setpwaux (pw, file)) | ^ getbbent.c:156:21: warning: passing arguments to 'setbbent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | return setbbent (f); | ^ getbbent.c:145:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | int setpwinfo (pw, file, f) | ^ In file included from getbbent.c:8: ./bboards.h:75:63: warning: a function declaration 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] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:172:21: warning: passing arguments to 'setpwaux' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | return setpwaux (pw, file); | ^ getbbent.c:161:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | static int setbbaux (name, file) | ^ getbbent.c:176:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | static int setpwaux (pw, file) | ^ getbbent.c:103: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] 103 | static int setpwaux(), getbbitem(), bblose(); | ^ getbbent.c:194:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | int setbbent (f) | ^ In file included from getbbent.c:8: ./bboards.h:75: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] 75 | int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (), | ^ getbbent.c:278:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | p = q = bbskip (p, COLON); | ^ getbbent.c:279:32: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | p = bb -> bb_file = bbskip (p, COLON); | ^ getbbent.c:281:34: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | p = bb -> bb_passwd = bbskip (p, COLON); | ^ getbbent.c:282:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | p = r = bbskip (p, COLON); | ^ getbbent.c:283:32: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | p = bb -> bb_addr = bbskip (p, COLON); | ^ getbbent.c:284:35: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | p = bb -> bb_request = bbskip (p, COLON); | ^ getbbent.c:285:33: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | p = bb -> bb_relay = bbskip (p, COLON); | ^ getbbent.c:286:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | p = d = bbskip (p, COLON); | ^ getbbent.c:287:20: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | p = f = bbskip (p, COLON); | ^ getbbent.c:288:19: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | (void) bbskip (p, NEWLINE); | ^ getbbent.c:293:13: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | q = bbskip (q, COMMA); | ^ getbbent.c:307:17: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | r = bbskip (r, COMMA); | ^ getbbent.c:315:13: warning: passing arguments to 'bbskip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | d = bbskip (d, COMMA); | ^ getbbent.c:362:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | struct bboard *getbbnam (name) | ^ In file included from getbbent.c:8: ./bboards.h:79:31: warning: a function declaration 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] 79 | struct bboard *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy(); | ^ getbbent.c:382:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | struct bboard *getbbaka (aka) | ^ In file included from getbbent.c:8: ./bboards.h:79:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | struct bboard *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy(); | ^ getbbent.c:461:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 461 | (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file); | ~~^~ ~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ getbbent.c:467:35: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 467 | (void) sprintf (BBInfo, "%s.%.*s%s", prf, dp - cp, cp, CNTFILE); | ~~^~ ~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ getbbent.c:469:34: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 469 | (void) sprintf (BBMap, "%s.%.*s%s", prf, dp - cp, cp, MAPFILE); | ~~^~ ~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ getbbent.c:479:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 479 | if (cp = index (BBDate, NEWLINE)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:479:9: note: place parentheses around the assignment to silence this warning 479 | if (cp = index (BBDate, NEWLINE)) | ^ | ( ) getbbent.c:479:9: note: use '==' to turn this assignment into an equality comparison 479 | if (cp = index (BBDate, NEWLINE)) | ^ | == getbbent.c:517:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 517 | while (p = *q++) | ~~^~~~~~ getbbent.c:517:14: note: place parentheses around the assignment to silence this warning 517 | while (p = *q++) | ^ | ( ) getbbent.c:517:14: note: use '==' to turn this assignment into an equality comparison 517 | while (p = *q++) | ^ | == getbbent.c:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 524 | while (p = *r++) | ~~^~~~~~ getbbent.c:524:15: note: place parentheses around the assignment to silence this warning 524 | while (p = *r++) | ^ | ( ) getbbent.c:524:15: note: use '==' to turn this assignment into an equality comparison 524 | while (p = *r++) | ^ | == getbbent.c:489:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | int ldrbb (b) | ^ In file included from getbbent.c:8: ./bboards.h:76:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | ldrbb (), ldrchk (), getbbdist (); | ^ getbbent.c:572:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | b -> bb_name = getcpy (bp -> bb_name); | ^ getbbent.c:573:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | b -> bb_file = getcpy (bp -> bb_file); | ^ getbbent.c:574:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | b -> bb_archive = getcpy (bp -> bb_archive); | ^ getbbent.c:575:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | b -> bb_info = getcpy (bp -> bb_info); | ^ getbbent.c:576:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | b -> bb_map = getcpy (bp -> bb_map); | ^ getbbent.c:577:29: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | b -> bb_passwd = getcpy (bp -> bb_passwd); | ^ getbbent.c:581:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | b -> bb_date = getcpy (bp -> bb_date); | ^ getbbent.c:582:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | b -> bb_addr = getcpy (bp -> bb_addr); | ^ getbbent.c:583:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | b -> bb_request = getcpy (bp -> bb_request); | ^ getbbent.c:584:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | b -> bb_relay = getcpy (bp -> bb_relay); | ^ getbbent.c:592:46: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | for (p = bp -> bb_aka; *p; *q++ = getcpy (*p++)) | ^ getbbent.c:602:49: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | for (p = bp -> bb_leader; *p; *q++ = getcpy (*p++)) | ^ getbbent.c:612:47: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | for (p = bp -> bb_dist; *p; *q++ = getcpy (*p++)) | ^ getbbent.c:558:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | struct bboard *getbbcpy (bp) | ^ In file included from getbbent.c:8: ./bboards.h:79:59: warning: a function declaration 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] 79 | struct bboard *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy(); | ^ getbbent.c:634:25: warning: passing arguments to 'getbbitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | if (result = getbbitem (bb, *dp, action)) | ^ getbbent.c:634:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 634 | if (result = getbbitem (bb, *dp, action)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:634:13: note: place parentheses around the assignment to silence this warning 634 | if (result = getbbitem (bb, *dp, action)) | ^ | ( ) getbbent.c:634:13: note: use '==' to turn this assignment into an equality comparison 634 | if (result = getbbitem (bb, *dp, action)) | ^ | == getbbent.c:625:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | int getbbdist (bb, action) | ^ In file included from getbbent.c:8: ./bboards.h:76:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | ldrbb (), ldrchk (), getbbdist (); | ^ getbbent.c:674:28: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 674 | (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file); | ~~^~ ~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ getbbent.c:677:35: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 677 | (void) sprintf (file, "%s.%.*s%s", prf, dp - cp, cp, DSTFILE); | ~~^~ ~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ getbbent.c:688:17: warning: passing arguments to 'bblose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | return bblose ("unable to read file %s", hp); | ^ getbbent.c:690:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 690 | if (np = index (buffer, '\n')) | ~~~^~~~~~~~~~~~~~~~~~~~~~ getbbent.c:690:10: note: place parentheses around the assignment to silence this warning 690 | if (np = index (buffer, '\n')) | ^ | ( ) getbbent.c:690:10: note: use '==' to turn this assignment into an equality comparison 690 | if (np = index (buffer, '\n')) | ^ | == getbbent.c:692:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 692 | if (result = getbbitem (bb, buffer, action)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:692:14: note: place parentheses around the assignment to silence this warning 692 | if (result = getbbitem (bb, buffer, action)) { | ^ | ( ) getbbent.c:692:14: note: use '==' to turn this assignment into an equality comparison 692 | if (result = getbbitem (bb, buffer, action)) { | ^ | == getbbent.c:694:21: warning: passing arguments to 'bblose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | (void) bblose ("error with file %s, item %s", hp, buffer); | ^ getbbent.c:702:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 702 | if (hp = rindex (item, '@')) { | ~~~^~~~~~~~~~~~~~~~~~~~ getbbent.c:702:13: note: place parentheses around the assignment to silence this warning 702 | if (hp = rindex (item, '@')) { | ^ | ( ) getbbent.c:702:13: note: use '==' to turn this assignment into an equality comparison 702 | if (hp = rindex (item, '@')) { | ^ | == getbbent.c:712:29: 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] 712 | if (result = (*action) (mbox, host)) | ^ getbbent.c:712:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 712 | if (result = (*action) (mbox, host)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:712:17: note: place parentheses around the assignment to silence this warning 712 | if (result = (*action) (mbox, host)) | ^ | ( ) getbbent.c:712:17: note: use '==' to turn this assignment into an equality comparison 712 | if (result = (*action) (mbox, host)) | ^ | == getbbent.c:713:17: warning: passing arguments to 'bblose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | (void) bblose ("action (%s, %s) returned 0%o", mbox, host, result); | ^ getbbent.c:646:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | static int getbbitem (bb, item, action) | ^ getbbent.c:103:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static int setpwaux(), getbbitem(), bblose(); | ^ getbbent.c:722:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | static int bblose (fmt, a, b, c) | ^ getbbent.c:103:37: warning: a function declaration 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 | static int setpwaux(), getbbitem(), bblose(); | ^ getbbent.c:736:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | void make_lower (s1, s2) | ^ In file included from getbbent.c:8: ./bboards.h:74: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] 74 | void make_lower (); | ^ getbbent.c:750:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | static char *bbskip (p, c) | ^ getbbent.c:81:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static char *bbskip (), *getcpy (); | ^ getbbent.c:774:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 774 | if (p = malloc ((unsigned) (strlen (s) + 1))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:774:11: note: place parentheses around the assignment to silence this warning 774 | if (p = malloc ((unsigned) (strlen (s) + 1))) | ^ | ( ) getbbent.c:774:11: note: use '==' to turn this assignment into an equality comparison 774 | if (p = malloc ((unsigned) (strlen (s) + 1))) | ^ | == getbbent.c:766:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | static char *getcpy (s) | ^ getbbent.c:81:28: warning: a function declaration 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] 81 | static char *bbskip (), *getcpy (); | ^ 82 warnings generated. lex -nt dtimep.lex | sed -f lexedit.sed > dtimep.c lex failed: using pre-lexed dtimep.c clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c dtimep.c dtimep.c:122:17: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (twclock (tw) == -1L) | ^ dtimep.c:175:27: warning: call to undeclared function 'lex_string'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | switch (cp = str, *cp ? lex_string( &str, start_cond) : 0) { | ^ dtimep.c:132:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | struct tws *dparsetime (str) | ^ In file included from dtimep.c:12: ./tws.h:51:41: warning: a function declaration 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] 51 | struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime (); | ^ 4 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c -DONECASE lexstring.c lexstring.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | lex_string( strptr, start_cond) | ^ | int lexstring.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c dtime.c dtime.c:124:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 124 | time_t time (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ dtime.c:125: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] 125 | struct tm *localtime (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here 117 | struct tm *localtime(const time_t *); | ^ dtime.c:133:12: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | return dtime (&clock); | ^ ./tws.h:54:40: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ dtime.c:133:12: warning: passing arguments to 'dasctime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./tws.h:54:28: note: expanded from macro 'dtime' 54 | #define dtime(cl) dasctime (dlocaltime (cl), TW_ZONE) | ^ dtime.c:137:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | char *dctime (tw) | ^ In file included from dtime.c:9: ./tws.h:50:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | char *dasctime (), *dtimezone (), *dctime (), *dtimenow (); | ^ dtime.c:160:23: warning: passing arguments to 'dlocaltime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | return dlocaltime (&clock); | ^ dtime.c:164:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | struct tws *dlocaltime (clock) | ^ In file included from dtime.c:9: ./tws.h:51:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime (); | ^ dtime.c:209:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | struct tws *dgmtime (clock) | ^ In file included from dtime.c:9: ./tws.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime (); | ^ dtime.c:255:12: warning: passing arguments to 'dtimezone' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | dtimezone(tw -> tw_zone, tw->tw_flags | flags)); | ^ dtime.c:240:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | char *dasctime (tw, flags) | ^ In file included from dtime.c:9: ./tws.h:50: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] 50 | char *dasctime (), *dtimezone (), *dctime (), *dtimenow (); | ^ dtime.c:274:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | char *dtimezone (offset, flags) | ^ In file included from dtime.c:9: ./tws.h:50:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | char *dasctime (), *dtimezone (), *dctime (), *dtimenow (); | ^ dtime.c:315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | void twscopy (tb, tw) | ^ In file included from dtime.c:9: ./tws.h:47: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] 47 | void twscopy (); | ^ dtime.c:345:17: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | (void) twclock (tw1); | ^ dtime.c:347:17: warning: passing arguments to 'twclock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | (void) twclock (tw2); | ^ dtime.c:337:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | int twsort (tw1, tw2) | ^ In file included from dtime.c:9: ./tws.h:48: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] 48 | int twsort (); | ^ dtime.c:364:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | time_t twclock (tw) | ^ In file included from dtime.c:9: ./tws.h:49: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] 49 | time_t twclock (); | ^ dtime.c:416:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 416 | set_dotw (tw) | ^ | int dtime.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dtime.c:443:1: warning: non-void function does not return a value [-Wreturn-type] 443 | } | ^ 27 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c date.c date.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 10 | main (argc, argv) | ^ | int date.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2 warnings generated. clang -L/opt/pkg/lib -o date date.o dtime.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I.. -c mf.c mf.c:16:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | static char *getcpy (s) | ^ mf.c:28:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | static char *add (s1, s2) | ^ mf.c:45:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | int isfrom (string) | ^ In file included from mf.c:6: ./mf.h:67: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] 67 | int isfrom (), lequal (), mfgets (); | ^ mf.c:53:9: 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 lequal (a, b) | ^ In file included from mf.c:6: ./mf.h:67:20: warning: a function declaration 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] 67 | int isfrom (), lequal (), mfgets (); | ^ mf.c:110:23: warning: passing arguments to 'uucpadrx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | adrxp = uucpadrx (addrs); | ^ mf.c:115:22: warning: passing arguments to 'getadrx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | adrxp = getadrx (addrs); | ^ mf.c:94:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | struct adrx *seekadrx (addrs) | ^ In file included from mf.c:6: ./mf.h:69: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] 69 | struct adrx *seekadrx (), *getadrx (), *uucpadrx (); | ^ mf.c:147:11: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | compress (addrs, vp); | ^ mf.c:171:27: warning: passing arguments to 'isat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if (*xp != 0 && isat (--xp)) { | ^ mf.c:202:15: warning: passing arguments to 'isat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if (isat (wp)) { | ^ mf.c:135:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | struct adrx *uucpadrx (addrs) | ^ In file included from mf.c:6: ./mf.h:69:41: warning: a function declaration 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] 69 | struct adrx *seekadrx (), *getadrx (), *uucpadrx (); | ^ mf.c:215:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | static void compress (fp, tp) | ^ mf.c:13:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | static void compress(); | ^ mf.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | static int isat (p) | ^ mf.c:10: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] 10 | static int isat(), parse_address(), phrase(); | ^ mf.c:409:21: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | (void) my_lex (adr); | ^ mf.c:427:21: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | (void) my_lex (adr); | ^ mf.c:435:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 435 | (void) sprintf (adr, "%.*s", cp - ap, ap); | ~~^~ ~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ mf.c:363:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | struct adrx *getadrx (addrs) | ^ In file included from mf.c:6: ./mf.h:69:28: warning: a function declaration 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] 69 | struct adrx *seekadrx (), *getadrx (), *uucpadrx (); | ^ mf.c:464:20: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | switch (my_lex (buffer)) { | ^ mf.c:490:21: warning: passing arguments to 'route_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | if (route_addr (buffer) == NOTOK) | ^ mf.c:501:20: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | switch (my_lex (buffer)) { | ^ mf.c:506:17: warning: passing arguments to 'phrase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | if (phrase (buffer) == NOTOK) | ^ mf.c:512:22: warning: passing arguments to 'route_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if (route_addr (buffer) == NOTOK) | ^ mf.c:532:23: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | switch (my_lex (buffer)) { | ^ mf.c:569:21: warning: passing arguments to 'route_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | if (route_addr (buffer) == NOTOK) | ^ mf.c:577:17: warning: passing arguments to 'domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | if (domain (buffer) == NOTOK) | ^ mf.c:620:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | switch (my_lex (buffer)) { | ^ mf.c:616:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | static int phrase (buffer) | ^ mf.c:10:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | static int isat(), parse_address(), phrase(); | ^ mf.c:638:16: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | if (my_lex (buffer) == LX_AT) { | ^ mf.c:639:12: warning: passing arguments to 'route' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | if (route (buffer) == NOTOK) | ^ mf.c:645:20: warning: passing arguments to 'local_part' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | if (local_part (buffer) == NOTOK) | ^ mf.c:650:20: warning: passing arguments to 'domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | return domain (buffer); | ^ mf.c:633:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | static int route_addr (buffer) | ^ mf.c:11: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] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:672:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | switch (my_lex (buffer)) { | ^ mf.c:683:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | switch (my_lex (buffer)) { | ^ mf.c:666:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | static int local_part (buffer) | ^ mf.c:11:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:700:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | switch (my_lex (buffer)) { | ^ mf.c:713:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | switch (my_lex (buffer)) { | ^ mf.c:696:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | static int domain (buffer) | ^ mf.c:11:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:738:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | switch (my_lex (buffer)) { | ^ mf.c:750:17: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | switch (my_lex (buffer)) { | ^ mf.c:754:22: warning: passing arguments to 'my_lex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | switch (my_lex (buffer)) { | ^ mf.c:732:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | static int route (buffer) | ^ mf.c:11:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | static int route_addr(), local_part(), domain(), route(); | ^ mf.c:790:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | static int my_lex (buffer) | ^ mf.c:12: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] 12 | static int my_lex(); | ^ mf.c:918:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | char *legal_person (p) | ^ In file included from mf.c:6: ./mf.h:68: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] 68 | char *legal_person (); | ^ mf.c:997:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 997 | else | ^ mf.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | int mfgets (in, bp) | ^ In file included from mf.c:6: ./mf.h:67:31: warning: a function declaration 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] 67 | int isfrom (), lequal (), mfgets (); | ^ 61 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -I. -c mts/client.c In file included from mts/client.c:15: mts/mts.h:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 23 | char *getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ mts/client.c:151:33: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ mts/client.c:151:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ mts/client.c:151:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | ap = copyip (brkstring (getcpy (args), " ", "\n"), ap); | ^ mts/client.c:154:37: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ mts/client.c:154:29: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ mts/client.c:154:18: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | ap = copyip (brkstring (getcpy (servers), " ", "\n"), ap); | ^ mts/client.c:156:17: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | *ap++ = getcpy ("localhost"); | ^ mts/client.c:189:27: warning: passing arguments to 'gethostbystring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | if (hp = gethostbystring (*ap)) { | ^ mts/client.c:189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 189 | if (hp = gethostbystring (*ap)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ mts/client.c:189:9: note: place parentheses around the assignment to silence this warning 189 | if (hp = gethostbystring (*ap)) { | ^ | ( ) mts/client.c:189:9: note: use '==' to turn this assignment into an equality comparison 189 | if (hp = gethostbystring (*ap)) { | ^ | == mts/client.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | int client (args, protocol, service, rproto, response) | ^ mts/client.c:210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | static int rcaux (sp, hp, rproto, response) | ^ mts/client.c:246:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | (void) close (sd); | ^ mts/client.c:290:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | static int getport (rproto, addrtype, response) | ^ mts/client.c:347:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | static int inet (hp, net) | ^ mts/client.c:366:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 366 | u_long inet_addr (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/arpa/inet.h:78:12: note: conflicting prototype is here 78 | in_addr_t inet_addr(const char *); | ^ mts/client.c:366:8: error: conflicting types for 'inet_addr' 366 | u_long inet_addr (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/arpa/inet.h:78:12: note: previous declaration is here 78 | in_addr_t inet_addr(const char *); | ^ mts/client.c:402:26: warning: passing arguments to 'mh_gethostbyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | return mh_gethostbyname (s); | ^ mts/client.c:381:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | struct hostent *gethostbystring (s) | ^ mts/client.c:101:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | struct hostent *gethostbystring (); | ^ mts/client.c:437:16: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | while (brkany (c = *sp, brksep)) | ^ mts/client.c:439:19: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (!c || brkany (c, brkterm)) { | ^ mts/client.c:446:32: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ mts/client.c:446:55: warning: passing arguments to 'brkany' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | while ((c = *++sp) && !brkany (c, brksep) && !brkany (c, brkterm)) | ^ mts/client.c:425:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | static char **brkstring (strg, brksep, brkterm) | ^ mts/client.c:105:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static char *getcpy (), **copyip (), **brkstring (); | ^ mts/client.c:455:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 455 | static brkany (chr, strg) | ~~~~~~ ^ | int mts/client.c:455:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mts/client.c:104: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] 104 | static int brkany (); | ^ mts/client.c:469:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | static char **copyip (p, q) | ^ mts/client.c:105:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static char *getcpy (), **copyip (), **brkstring (); | ^ mts/client.c:481:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | static char *getcpy (str) | ^ mts/client.c:105: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] 105 | static char *getcpy (), **copyip (), **brkstring (); | ^ 32 warnings and 1 error generated. *** Error code 1 Stop. make[1]: stopped making "all" in /var/tmp/work/mail/ja-mh/work/mh-6.8.4-JP-3.05/zotnet clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c ali.c ali.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | main (argc, argv) | ^ | int ali.c:82:26: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | invo_name = r1bindex (argv[0], '/'); | ^ ali.c:83:5: warning: call to undeclared function 'mts_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | mts_init (invo_name); | ^ ali.c:84:22: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if ((cp = m_find (invo_name)) != NULL) { | ^ ali.c:85:30: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ ali.c:85:17: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | ap = brkstring (cp = getcpy (cp), " ", "\n"); | ^ ali.c:86:14: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | ap = copyip (ap, arguments); | ^ ali.c:90:19: warning: passing arguments to 'copyip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | (void) copyip (argv + 1, ap); | ^ ali.c:95:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 95 | while (cp = *argp++) { | ~~~^~~~~~~~~ ali.c:95:15: note: place parentheses around the assignment to silence this warning 95 | while (cp = *argp++) { | ^ | ( ) ali.c:95:15: note: use '==' to turn this assignment into an equality comparison 95 | while (cp = *argp++) { | ^ | == ali.c:97:21: warning: passing arguments to 'smatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | switch (smatch (++cp, switches)) { | ^ ali.c:99:15: warning: passing arguments to 'ambigsw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | ambigsw (cp, switches); | ^ ali.c:100:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | done (1); | ^ ali.c:102:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | adios (NULLCP, "-%s unknown", cp); | ^ ali.c:106:12: warning: passing arguments to 'help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | help (buf, switches); | ^ ali.c:107:12: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | done (1); | ^ ali.c:111:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | adios (NULLCP, "missing argument to %s", argp[-2]); | ^ ali.c:112:22: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | if ((i = alias (cp)) != AK_OK) | ^ ali.c:114:17: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | cp, akerror (i)); | ^ ali.c:113:10: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | adios (NULLCP, "aliasing error in %s - %s", | ^ ali.c:145:18: warning: passing arguments to 'm_find' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ ali.c:145:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 145 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ~~~^~~~~~~~~~~~~~~~~~~~~~ ali.c:145:9: note: place parentheses around the assignment to silence this warning 145 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | ( ) ali.c:145:9: note: use '==' to turn this assignment into an equality comparison 145 | if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ | ^ | == ali.c:148:37: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ ali.c:148:25: warning: passing arguments to 'brkstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | for (ap = brkstring(dp = getcpy(cp), " ", "\n"); ap && *ap; ap++) | ^ ali.c:149:18: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if ((i = alias (*ap)) != AK_OK) | ^ ali.c:151:50: warning: passing arguments to 'akerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | "aliasing error in %s - %s", *ap, akerror (i)); | ^ ali.c:150:13: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | adios (NULLCP, | ^ ali.c:155:15: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | (void) alias (AliasFile); | ^ ali.c:164:3: warning: call to undeclared function 'print_usr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | print_usr (vec[i], list, normalize); | ^ ali.c:166:22: warning: passing arguments to 'akvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | print_aka (akvalue (vec[i]), list, 0); | ^ ali.c:169:12: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | adios (NULLCP, | ^ ali.c:176:26: warning: passing arguments to 'akresult' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | print_aka (akresult (ak), list, pos); | ^ ali.c:180:10: warning: passing arguments to 'done' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | done (0); | ^ ali.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 | main (argc, argv) | ^ ali.c:197:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 197 | while (c = *p++) | ~~^~~~~~ ali.c:197:14: note: place parentheses around the assignment to silence this warning 197 | while (c = *p++) | ^ | ( ) ali.c:197:14: note: use '==' to turn this assignment into an equality comparison 197 | while (c = *p++) | ^ | == ali.c:203:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 203 | else | ^ ali.c:220:15: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | ml_fputs(p-1, stdout); | ^ ali.c:225:15: warning: passing arguments to 'ml_fputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | ml_fputs(p-1, stdout); | ^ ali.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | print_usr (s, list, norm) | ^ | int ali.c:253:23: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | if ((pp = getname (s)) == NULL) | ^ ali.c:254:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | adios (NULLCP, "no address in \"%s\"", s); | ^ ali.c:255:20: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | if ((mp = getm (pp, NULLCP, 0, norm, NULLCP)) == NULL) | ^ ali.c:256:8: warning: passing arguments to 'adios' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | adios (NULLCP, "bad address \"%s\"", s); | ^ ali.c:257:20: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | while (getname ("")) | ^ ali.c:262:16: warning: passing arguments to 'akresult' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | pp = akresult (ak); | ^ ali.c:263:22: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | while (cp = getname (pp)) { | ^ ali.c:263:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | while (cp = getname (pp)) { | ~~~^~~~~~~~~~~~~~ ali.c:263:12: note: place parentheses around the assignment to silence this warning 263 | while (cp = getname (pp)) { | ^ | ( ) ali.c:263:12: note: use '==' to turn this assignment into an equality comparison 263 | while (cp = getname (pp)) { | ^ | == ali.c:264:21: warning: passing arguments to 'getm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if ((np = getm (cp, NULLCP, 0, norm, NULLCP)) == NULL) | ^ ali.c:266:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | if (uleq (mp -> m_host, np -> m_host) | ^ ali.c:267:15: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | && uleq (mp -> m_mbox, np -> m_mbox)) { | ^ ali.c:268:37: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | vp = vp ? add (ak -> ak_name, add (",", vp)) | ^ ali.c:268:17: warning: passing arguments to 'add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | vp = vp ? add (ak -> ak_name, add (",", vp)) | ^ ali.c:269:16: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | : getcpy (ak -> ak_name); | ^ ali.c:270:10: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | mnfree (np); | ^ ali.c:271:18: warning: passing arguments to 'getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | while (getname ("")) | ^ ali.c:275:13: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | mnfree (np); | ^ ali.c:278:12: warning: passing arguments to 'mnfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | mnfree (mp); | ^ ali.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 | print_usr (s, list, norm) | ^ ali.c:288:1: warning: non-void function does not return a value [-Wreturn-type] 288 | } | ^ 58 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DNORUSERPASS -DNTOHLSWAP -DPOSIX -DREADLINE -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/opt/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/opt/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -pipe -Os -c aliasbr.c aliasbr.c:47:15: warning: passing arguments to 'alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | (void) alias (AliasFile); | ^ aliasbr.c:50:15: warning: passing arguments to 'akval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | v = akval (akahead, s); | ^ aliasbr.c:41:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | char *akvalue (s) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:43:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | char *akresult (), *akvalue (), *akerror (); | ^ aliasbr.c:72:30: warning: passing arguments to 'akval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | pp = ad -> ad_local ? akval (ak -> ak_next, ad -> ad_text) | ^ aliasbr.c:73:15: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | : getcpy (ad -> ad_text); | ^ aliasbr.c:75:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 75 | if (dp = cp) { | ~~~^~~~ aliasbr.c:75:9: note: place parentheses around the assignment to silence this warning 75 | if (dp = cp) { | ^ | ( ) aliasbr.c:75:9: note: use '==' to turn this assignment into an equality comparison 75 | if (dp = cp) { | ^ | == aliasbr.c:87:19: warning: passing arguments to 'ml_conv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | (void) ml_conv(cp); | ^ aliasbr.c:63:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | char *akresult (ak) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:43: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] 43 | char *akresult (), *akvalue (), *akerror (); | ^ aliasbr.c:101:11: warning: passing arguments to 'aleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (aleq (s, ak -> ak_name)) | ^ aliasbr.c:104:19: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | return getcpy (s); | ^ aliasbr.c:93:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | static char *akval (ak, s) | ^ aliasbr.c:25:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:114:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | while (c = *string++) | ~~^~~~~~~~~~~ aliasbr.c:114:14: note: place parentheses around the assignment to silence this warning 114 | while (c = *string++) | ^ | ( ) aliasbr.c:114:14: note: use '==' to turn this assignment into an equality comparison 114 | while (c = *string++) | ^ | == aliasbr.c:108:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | static int aleq (string, aliasent) | ^ aliasbr.c:30: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] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:142:17: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | file = libpath (file); | ^ aliasbr.c:148:19: warning: passing arguments to 'vfgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | while (vfgets (fp, &ap) == OK) { | ^ aliasbr.c:150:23: warning: passing arguments to 'scanp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | switch (*(pp = scanp (bp))) { | ^ aliasbr.c:152:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:170:20: warning: passing arguments to 'seekp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | if (!*(cp = seekp (pp, &lc, &ap))) { | ^ aliasbr.c:174:21: warning: passing arguments to 'akalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if (!(ak = akalloc (cp))) { | ^ aliasbr.c:192:23: warning: passing arguments to 'scanp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | switch (*(pp = scanp (ap))) { | ^ aliasbr.c:198:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:202:16: warning: passing arguments to 'addfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if (!addfile (ak, cp)) { | ^ aliasbr.c:209:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:213:17: warning: passing arguments to 'addgroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | if (!addgroup (ak, cp)) { | ^ aliasbr.c:220:20: warning: passing arguments to 'getp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (!*(cp = getp (pp + 1))) { | ^ aliasbr.c:224:18: warning: passing arguments to 'addmember' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | if (!addmember (ak, cp)) { | ^ aliasbr.c:231:17: warning: passing arguments to 'addall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | (void) addall (ak); | ^ aliasbr.c:235:24: warning: passing arguments to 'getalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | while (cp = getalias (pp)) | ^ aliasbr.c:235:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 235 | while (cp = getalias (pp)) | ~~~^~~~~~~~~~~~~~~ aliasbr.c:235:13: note: place parentheses around the assignment to silence this warning 235 | while (cp = getalias (pp)) | ^ | ( ) aliasbr.c:235:13: note: use '==' to turn this assignment into an equality comparison 235 | while (cp = getalias (pp)) | ^ | == aliasbr.c:128:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | int alias (file) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:42: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] 42 | int alias (), akvisible (), init_pw (); | ^ aliasbr.c:247:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | char *akerror (i) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:43:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | char *akresult (), *akvalue (), *akerror (); | ^ aliasbr.c:279:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | static char *scanp (p) | ^ aliasbr.c:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:288:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | static char *getp (p) | ^ aliasbr.c:25:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:302:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static char *seekp (p, c, a) | ^ aliasbr.c:25:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:329:30: warning: passing arguments to 'libpath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if ((fp = fopen (libpath (file), "r")) == NULL) { | ^ aliasbr.c:335:23: warning: passing arguments to 'getalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | while (cp = getalias (buffer)) | ^ aliasbr.c:335:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | while (cp = getalias (buffer)) | ~~~^~~~~~~~~~~~~~~~~~~ aliasbr.c:335:12: note: place parentheses around the assignment to silence this warning 335 | while (cp = getalias (buffer)) | ^ | ( ) aliasbr.c:335:12: note: use '==' to turn this assignment into an equality comparison 335 | while (cp = getalias (buffer)) | ^ | == aliasbr.c:321:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | static int addfile (ak, file) | ^ aliasbr.c:30:20: warning: a function declaration 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] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:364:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | while (gp = *gr -> gr_mem++) | ~~~^~~~~~~~~~~~~~~~~ aliasbr.c:364:15: note: place parentheses around the assignment to silence this warning 364 | while (gp = *gr -> gr_mem++) | ^ | ( ) aliasbr.c:364:15: note: use '==' to turn this assignment into an equality comparison 364 | while (gp = *gr -> gr_mem++) | ^ | == aliasbr.c:344:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | static int addgroup (ak, grp) | ^ aliasbr.c:30:31: warning: a function declaration 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] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:388:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | static int addmember (ak, grp) | ^ aliasbr.c:30:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:421:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | static int addall (ak) | ^ aliasbr.c:30:56: warning: a function declaration 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] 30 | static int aleq(), addfile(), addgroup(), addmember(), addall(); | ^ aliasbr.c:469:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 469 | else | ^ aliasbr.c:444:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | static char *getalias (addrs) | ^ aliasbr.c:25:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static char *scanp (), *getp (), *seekp (), *akval (), *getalias (); | ^ aliasbr.c:489:28: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | ad -> ad_text = getcpy (pp); | ^ aliasbr.c:499:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 499 | init_pw () { | ^ | int aliasbr.c:515:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 515 | while (pw = getpwent ()) | ~~~^~~~~~~~~~~~~ aliasbr.c:515:15: note: place parentheses around the assignment to silence this warning 515 | while (pw = getpwent ()) | ^ | ( ) aliasbr.c:515:15: note: use '==' to turn this assignment into an equality comparison 515 | while (pw = getpwent ()) | ^ | == aliasbr.c:516:15: warning: passing arguments to 'hmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | if (!hmalloc (pw)) | ^ aliasbr.c:523:1: warning: non-void function does not return a value [-Wreturn-type] 523 | } | ^ aliasbr.c:535:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | p -> ak_name = getcpy (id); | ^ aliasbr.c:527:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | static struct aka *akalloc (id) | ^ aliasbr.c:26:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static struct aka *akalloc (); | ^ aliasbr.c:557:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | p -> h_name = getcpy (pw -> pw_name); | ^ aliasbr.c:560:26: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | p -> h_home = getcpy (pw -> pw_dir); | ^ aliasbr.c:561:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | p -> h_shell = getcpy (pw -> pw_shell); | ^ aliasbr.c:549:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | static struct home *hmalloc (pw) | ^ aliasbr.c:27:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static struct home *hmalloc (); | ^ aliasbr.c:593:11: warning: passing arguments to 'uleq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | if (uleq (name, hp -> h_name)) | ^ aliasbr.c:578:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | struct home *seek_home (name) | ^ In file included from aliasbr.c:7: ./../h/aliasbr.h:39:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | struct home *seek_home (); | ^ 74 warnings generated. make[1]: don't know how to make ../zotnet/libzot.a. Stop make[1]: stopped making "all" in /var/tmp/work/mail/ja-mh/work/mh-6.8.4-JP-3.05/uip for d in bboards general pop; do (cd $d; make DESTDIR= all); done cat tmac.me ali.me | sed -f me2man.sed > ali.man cat tmac.me anno.me | sed -f me2man.sed > anno.man cat tmac.me burst.me | sed -f me2man.sed > burst.man cat tmac.me comp.me | sed -f me2man.sed > comp.man cat tmac.me dist.me | sed -f me2man.sed > dist.man cat tmac.me folder.me | sed -f me2man.sed > folder.man cat tmac.me forw.me | sed -f me2man.sed > forw.man cat tmac.me inc.me | sed -f me2man.sed > inc.man cat tmac.me mark.me | sed -f me2man.sed > mark.man cat tmac.me mh-chart.me | sed -f me2man.sed > mh-chart.man cat tmac.me mh.me | sed -f me2man.sed > mh.man cat tmac.me mhl.me | sed -f me2man.sed > mhl.man cat tmac.me mhook.me | sed -f me2man.sed > mhook.man cat tmac.me mhmail.me | sed -f me2man.sed > mhmail.man cat tmac.me mhn.me | sed -f me2man.sed > mhn.man cat tmac.me mhparam.me | sed -f me2man.sed > mhparam.man cat tmac.me mhpath.me | sed -f me2man.sed > mhpath.man cat tmac.me msgchk.me | sed -f me2man.sed > msgchk.man cat tmac.me msh.me | sed -f me2man.sed > msh.man cat tmac.me next.me | sed -f me2man.sed > next.man cat tmac.me packf.me | sed -f me2man.sed > packf.man cat tmac.me pgped.me | sed -f me2man.sed > pgped.man cat tmac.me pick.me | sed -f me2man.sed > pick.man cat tmac.me prev.me | sed -f me2man.sed > prev.man cat tmac.me prompter.me | sed -f me2man.sed > prompter.man cat tmac.me rcvstore.me | sed -f me2man.sed > rcvstore.man cat tmac.me refile.me | sed -f me2man.sed > refile.man cat tmac.me repl.me | sed -f me2man.sed > repl.man cat tmac.me rmf.me | sed -f me2man.sed > rmf.man cat tmac.me rmm.me | sed -f me2man.sed > rmm.man cat tmac.me scan.me | sed -f me2man.sed > scan.man cat tmac.me send.me | sed -f me2man.sed > send.man cat tmac.me show.me | sed -f me2man.sed > show.man cat tmac.me slocal.me | sed -f me2man.sed > slocal.man cat tmac.me sortm.me | sed -f me2man.sed > sortm.man cat tmac.me vmh.me | sed -f me2man.sed > vmh.man cat tmac.me whatnow.me | sed -f me2man.sed > whatnow.man cat tmac.me whom.me | sed -f me2man.sed > whom.man cat tmac.me bbc.me | sed -f me2man.sed > bbc.man cat tmac.me mh-alias.me | sed -f me2man.sed > mh-alias.man cat tmac.me mh-format.me | sed -f me2man.sed > mh-format.man cat tmac.me mh-mail.me | sed -f me2man.sed > mh-mail.man cat tmac.me mh-profile.me | sed -f me2man.sed > mh-profile.man cat tmac.me mh-sequence.me | sed -f me2man.sed > mh-sequence.man cat tmac.me mh-tailor.me | sed -f me2man.sed > mh-tailor.man cat tmac.me ap.me | sed -f me2man.sed > ap.man cat tmac.me conflict.me | sed -f me2man.sed > conflict.man cat tmac.me dp.me | sed -f me2man.sed > dp.man cat tmac.me install-mh.me | sed -f me2man.sed > install-mh.man cat tmac.me post.me | sed -f me2man.sed > post.man cat tmac.me fmtdump.me | sed -f me2man.sed > fmtdump.man cat tmac.me ja-ali.me | sed -f me2man.sed > ja-ali.man cat tmac.me ja-anno.me | sed -f me2man.sed > ja-anno.man cat tmac.me ja-bbc.me | sed -f me2man.sed > ja-bbc.man cat tmac.me ja-burst.me | sed -f me2man.sed > ja-burst.man cat tmac.me ja-comp.me | sed -f me2man.sed > ja-comp.man cat tmac.me ja-dist.me | sed -f me2man.sed > ja-dist.man cat tmac.me ja-folder.me | sed -f me2man.sed > ja-folder.man cat tmac.me ja-forw.me | sed -f me2man.sed > ja-forw.man cat tmac.me ja-inc.me | sed -f me2man.sed > ja-inc.man cat tmac.me ja-mark.me | sed -f me2man.sed > ja-mark.man cat tmac.me ja-mh-chart.me | sed -f me2man.sed > ja-mh-chart.man cat tmac.me ja-mh.me | sed -f me2man.sed > ja-mh.man cat tmac.me ja-mhl.me | sed -f me2man.sed > ja-mhl.man cat tmac.me ja-mhmail.me | sed -f me2man.sed > ja-mhmail.man cat tmac.me ja-mhn.me | sed -f me2man.sed > ja-mhn.man cat tmac.me ja-mhook.me | sed -f me2man.sed > ja-mhook.man cat tmac.me ja-mhparam.me | sed -f me2man.sed > ja-mhparam.man cat tmac.me ja-mhpath.me | sed -f me2man.sed > ja-mhpath.man cat tmac.me ja-msgchk.me | sed -f me2man.sed > ja-msgchk.man cat tmac.me ja-msh.me | sed -f me2man.sed > ja-msh.man cat tmac.me ja-next.me | sed -f me2man.sed > ja-next.man cat tmac.me ja-packf.me | sed -f me2man.sed > ja-packf.man cat tmac.me ja-pgped.me | sed -f me2man.sed > ja-pgped.man cat tmac.me ja-pick.me | sed -f me2man.sed > ja-pick.man cat tmac.me ja-prev.me | sed -f me2man.sed > ja-prev.man cat tmac.me ja-prompter.me | sed -f me2man.sed > ja-prompter.man cat tmac.me ja-rcvstore.me | sed -f me2man.sed > ja-rcvstore.man cat tmac.me ja-refile.me | sed -f me2man.sed > ja-refile.man cat tmac.me ja-repl.me | sed -f me2man.sed > ja-repl.man cat tmac.me ja-rmf.me | sed -f me2man.sed > ja-rmf.man cat tmac.me ja-rmm.me | sed -f me2man.sed > ja-rmm.man cat tmac.me ja-scan.me | sed -f me2man.sed > ja-scan.man cat tmac.me ja-send.me | sed -f me2man.sed > ja-send.man cat tmac.me ja-show.me | sed -f me2man.sed > ja-show.man cat tmac.me ja-slocal.me | sed -f me2man.sed > ja-slocal.man cat tmac.me ja-sortm.me | sed -f me2man.sed > ja-sortm.man cat tmac.me ja-vmh.me | sed -f me2man.sed > ja-vmh.man cat tmac.me ja-whatnow.me | sed -f me2man.sed > ja-whatnow.man cat tmac.me ja-whom.me | sed -f me2man.sed > ja-whom.man cat tmac.me ja-mh-alias.me | sed -f me2man.sed > ja-mh-alias.man cat tmac.me ja-mh-format.me | sed -f me2man.sed > ja-mh-format.man cat tmac.me ja-mh-mail.me | sed -f me2man.sed > ja-mh-mail.man cat tmac.me ja-mh-profile.me | sed -f me2man.sed > ja-mh-profile.man cat tmac.me ja-mh-sequence.me | sed -f me2man.sed > ja-mh-sequence.man cat tmac.me ja-mh-tailor.me | sed -f me2man.sed > ja-mh-tailor.man cat tmac.me ja-ap.me | sed -f me2man.sed > ja-ap.man cat tmac.me ja-conflict.me | sed -f me2man.sed > ja-conflict.man cat tmac.me ja-dp.me | sed -f me2man.sed > ja-dp.man cat tmac.me ja-fmtdump.me | sed -f me2man.sed > ja-fmtdump.man cat tmac.me ja-install-mh.me | sed -f me2man.sed > ja-install-mh.man cat tmac.me ja-post.me | sed -f me2man.sed > ja-post.man