=> Bootstrap dependency digest>=20211023: found digest-20220214
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]
            if (cp = index (pp = file + 1, '/'))
                ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.c:61:13: note: place parentheses around the assignment to silence this warning
            if (cp = index (pp = file + 1, '/'))
                   ^
                (                              )
config.c:61:13: note: use '==' to turn this assignment into an equality comparison
            if (cp = index (pp = file + 1, '/'))
                   ^
                   ==
config.c:66:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (pw = getpwnam (pp))
                    ~~~^~~~~~~~~~~~~~~
config.c:66:10: note: place parentheses around the assignment to silence this warning
                if (pw = getpwnam (pp))
                       ^
                    (                 )
config.c:66:10: note: use '==' to turn this assignment into an equality comparison
                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]
            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 C2x [-Wdeprecated-non-prototype]
            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]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
char   *getname (), *adrsprintf (), *auxformat ();
        ^
addrsbr.c:339:9: warning: address of array 'err' will always evaluate to 'true' [-Wpointer-bool-conversion]
    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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        mp -> m_host = getcpy (host);
                              ^
addrsbr.c:448:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (pp = index (mbox, '!')) {
            ~~~^~~~~~~~~~~~~~~~~~~
addrsbr.c:448:9: note: place parentheses around the assignment to silence this warning
        if (pp = index (mbox, '!')) {
               ^
            (                     )
addrsbr.c:448:9: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        if ((am = m_find ("alternate-mailboxes")) == NULL)
                         ^
addrsbr.c:686:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (cp = getname (am))
                   ~~~^~~~~~~~~~~~~~
addrsbr.c:686:16: note: place parentheses around the assignment to silence this warning
            while (cp = getname (am))
                      ^
                   (                )
addrsbr.c:686:16: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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]
    for (mp = &mq; mp = mp -> m_next;) {
                   ~~~^~~~~~~~~~~~~~
addrsbr.c:789:23: note: place parentheses around the assignment to silence this warning
    for (mp = &mq; mp = mp -> m_next;) {
                      ^
                   (                )
addrsbr.c:789:23: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
char  **brkstring ();
        ^
brkstring.c:41:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
    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]
            (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
            while (cp = va_arg (list, char *))
                   ~~~^~~~~~~~~~~~~~~~~~~~~~~
concat.c:22:16: note: place parentheses around the assignment to silence this warning
            while (cp = va_arg (list, char *))
                      ^
                   (                         )
concat.c:22:16: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            sp = copy (first, sp);
                      ^
concat.c:35:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (cp = va_arg (list, char *))
                   ~~~^~~~~~~~~~~~~~~~~~~~~~~
concat.c:35:16: note: place parentheses around the assignment to silence this warning
            while (cp = va_arg (list, char *))
                      ^
                   (                         )
concat.c:35:16: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
                    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]
    while (*to++ = *from++)
           ~~~~~~^~~~~~~~~
copy.c:8:18: note: place parentheses around the assignment to silence this warning
    while (*to++ = *from++)
                 ^
           (              )
copy.c:8:18: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
    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]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
    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]
                        output ('-');
                        ^
cpydgst.c:25:36: note: expanded from macro 'output'
#define output(c)   if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c
                                   ^
cpydgst.c:26:46: note: expanded from macro 'flush'
#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 C2x [-Wdeprecated-non-prototype]
cpydgst.c:25:36: note: expanded from macro 'output'
#define output(c)   if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c
                                   ^
cpydgst.c:27:10: note: expanded from macro 'flush'
                        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]
                        output (' ');
                        ^
cpydgst.c:25:36: note: expanded from macro 'output'
#define output(c)   if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c
                                   ^
cpydgst.c:26:46: note: expanded from macro 'flush'
#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 C2x [-Wdeprecated-non-prototype]
cpydgst.c:25:36: note: expanded from macro 'output'
#define output(c)   if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c
                                   ^
cpydgst.c:27:10: note: expanded from macro 'flush'
                        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]
                    output (*cp);
                    ^
cpydgst.c:25:36: note: expanded from macro 'output'
#define output(c)   if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c
                                   ^
cpydgst.c:26:46: note: expanded from macro 'flush'
#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 C2x [-Wdeprecated-non-prototype]
cpydgst.c:25:36: note: expanded from macro 'output'
#define output(c)   if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c
                                   ^
cpydgst.c:27:10: note: expanded from macro 'flush'
                        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 C2x [-Wdeprecated-non-prototype]
        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]
    flush ();
    ^
cpydgst.c:26:46: note: expanded from macro 'flush'
#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 C2x [-Wdeprecated-non-prototype]
cpydgst.c:27:10: note: expanded from macro 'flush'
                        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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]
    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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    if (ssequal ("@(#)", cp = version))
                ^
help.c:45:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else {
            ^
help.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
time_t time ();
       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:118:8: note: conflicting prototype is here
time_t time(time_t *);
       ^
fmtcompile.c:146:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (nm = t->name) {
           ~~~^~~~~~~~~
fmtcompile.c:146:15: note: place parentheses around the assignment to silence this warning
    while (nm = t->name) {
              ^
           (           )
fmtcompile.c:146:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *do_name();
             ^
fmtcompile.c:479:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (mflag = (c == '-'))
            ~~~~~~^~~~~~~~~~~~
fmtcompile.c:479:12: note: place parentheses around the assignment to silence this warning
        if (mflag = (c == '-'))
                  ^
            (                 )
fmtcompile.c:479:12: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
static char *do_expr (sp, preprocess)
                          ^
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        CHECKMEM (orig);
        ^
formataddr.c:28:13: note: expanded from macro 'CHECKMEM'
                    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]
        CPY (orig);
        ^~~~~~~~~~
formataddr.c:16:42: note: expanded from macro 'CPY'
#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'
#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'
#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 C2x [-Wdeprecated-non-prototype]
    for (isgroup = 0; cp = getname (str); ) {
                                   ^
formataddr.c:82:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    for (isgroup = 0; cp = getname (str); ) {
                      ~~~^~~~~~~~~~~~~~~
formataddr.c:82:26: note: place parentheses around the assignment to silence this warning
    for (isgroup = 0; cp = getname (str); ) {
                         ^
                      (                 )
formataddr.c:82:26: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            CHECKMEM (mp->m_gname);
            ^
formataddr.c:28:13: note: expanded from macro 'CHECKMEM'
                    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]
            CPY (mp->m_gname);
            ^~~~~~~~~~~~~~~~~
formataddr.c:16:42: note: expanded from macro 'CPY'
#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'
#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'
#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 C2x [-Wdeprecated-non-prototype]
        sp = adrformat (mp);
             ^
./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat'
#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 C2x [-Wdeprecated-non-prototype]
        CHECKMEM (sp);
        ^
formataddr.c:28:13: note: expanded from macro 'CHECKMEM'
                    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]
        CPY (sp);
        ^~~~~~~~
formataddr.c:16:42: note: expanded from macro 'CPY'
#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'
#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'
#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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
time_t  time ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:118:8: note: conflicting prototype is here
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static normalize();
       ^
formatsbr.c:115:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
formatsbr.c:133:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c1 = *sub) {
           ~~~^~~~~~
formatsbr.c:133:15: note: place parentheses around the assignment to silence this warning
    while (c1 = *sub) {
              ^
           (        )
formatsbr.c:133:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    if (get_x400_comp (mbox, "/PN=", buffer)) {
                      ^
formatsbr.c:444:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        for (mbox = buffer; mbox = index (mbox, '.'); )
                            ~~~~~^~~~~~~~~~~~~~~~~~~
formatsbr.c:444:27: note: place parentheses around the assignment to silence this warning
        for (mbox = buffer; mbox = index (mbox, '.'); )
                                 ^
                            (                       )
formatsbr.c:444:27: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    if ((idx = stringdex (key, mbox)) < 0
                         ^
formatsbr.c:473:32: warning: field width should have type 'int', but argument has type 'long' [-Wformat]
    (void) sprintf (buffer, "%*.*s", cp - mbox, cp - mbox, mbox);
                             ~~^~~   ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int   get_x400_comp();
             ^
formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, fmt->f_comp->c_text);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:399:12: note: expanded from macro 'PUTS'
    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'
    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'
    if (sp = (str)) {\
           ^
formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, fmt->f_comp->c_text);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:400:2: note: expanded from macro 'PUTS'
        SKIP_SPACE(sp);\
        ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, fmt->f_comp->c_text);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:400:2: note: expanded from macro 'PUTS'
        SKIP_SPACE(sp);\
        ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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 C2x [-Wdeprecated-non-prototype]
            PUTS (cp, fmt->f_comp->c_text);
            ^
formatsbr.c:402:21: note: expanded from macro 'PUTS'
            if (ml_ismlchar(ch)) {\
                           ^
formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, fmt->f_comp->c_text);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:407:10: note: expanded from macro 'PUTS'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, fmt->f_comp->c_text);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:407:10: note: expanded from macro 'PUTS'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, fmt->f_comp->c_text);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:416:7: note: expanded from macro 'PUTS'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, fmt->f_comp->c_text);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:416:7: note: expanded from macro 'PUTS'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:360:12: note: expanded from macro 'PUTSF'
    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'
    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'
    if (sp = (str)) {\
           ^
formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:371:6: note: expanded from macro 'PUTSF'
            SKIP_SPACE(sp);\
            ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:371:6: note: expanded from macro 'PUTSF'
            SKIP_SPACE(sp);\
            ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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 C2x [-Wdeprecated-non-prototype]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^
formatsbr.c:374:21: note: expanded from macro 'PUTSF'
            if (ml_ismlchar(ch)) {\
                           ^
formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:379:10: note: expanded from macro 'PUTSF'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:379:10: note: expanded from macro 'PUTSF'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:388:7: note: expanded from macro 'PUTSF'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:388:7: note: expanded from macro 'PUTSF'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, str);
            ^~~~~~~~~~~~~~
formatsbr.c:399:12: note: expanded from macro 'PUTS'
    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'
    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'
    if (sp = (str)) {\
           ^
formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, str);
            ^~~~~~~~~~~~~~
formatsbr.c:400:2: note: expanded from macro 'PUTS'
        SKIP_SPACE(sp);\
        ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, str);
            ^~~~~~~~~~~~~~
formatsbr.c:400:2: note: expanded from macro 'PUTS'
        SKIP_SPACE(sp);\
        ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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 C2x [-Wdeprecated-non-prototype]
            PUTS (cp, str);
            ^
formatsbr.c:402:21: note: expanded from macro 'PUTS'
            if (ml_ismlchar(ch)) {\
                           ^
formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, str);
            ^~~~~~~~~~~~~~
formatsbr.c:407:10: note: expanded from macro 'PUTS'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, str);
            ^~~~~~~~~~~~~~
formatsbr.c:407:10: note: expanded from macro 'PUTS'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, str);
            ^~~~~~~~~~~~~~
formatsbr.c:416:7: note: expanded from macro 'PUTS'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, str);
            ^~~~~~~~~~~~~~
formatsbr.c:416:7: note: expanded from macro 'PUTS'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:360:12: note: expanded from macro 'PUTSF'
    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'
    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'
    if (sp = (str)) {\
           ^
formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:371:6: note: expanded from macro 'PUTSF'
            SKIP_SPACE(sp);\
            ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:371:6: note: expanded from macro 'PUTSF'
            SKIP_SPACE(sp);\
            ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
            SKIP_SPACE(sp);\
            ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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 C2x [-Wdeprecated-non-prototype]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^
formatsbr.c:374:21: note: expanded from macro 'PUTSF'
            if (ml_ismlchar(ch)) {\
                           ^
formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:379:10: note: expanded from macro 'PUTSF'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:379:10: note: expanded from macro 'PUTSF'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:388:7: note: expanded from macro 'PUTSF'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTSF (cp, str, fmt->f_width, fmt->f_fill);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
formatsbr.c:388:7: note: expanded from macro 'PUTSF'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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 C2x [-Wdeprecated-non-prototype]
            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]
            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]
            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]
                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]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
            if (!(str = m_find (fmt->f_text)))
                               ^
formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                    SKIP_SPACE(str);
                    ^~~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
    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'
    while (ch = *(sp)) {\
              ^
formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                    SKIP_SPACE(str);
                    ^~~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
        } 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'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                    while (ch = *xp++) {
                           ~~~^~~~~~~
formatsbr.c:707:17: note: place parentheses around the assignment to silence this warning
                    while (ch = *xp++) {
                              ^
                           (         )
formatsbr.c:707:17: note: use '==' to turn this assignment into an equality comparison
                    while (ch = *xp++) {
                              ^
                              ==
formatsbr.c:711:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                            if (ch2 = *xp++) {
                                ~~~~^~~~~~~
formatsbr.c:711:16: note: place parentheses around the assignment to silence this warning
                            if (ch2 = *xp++) {
                                    ^
                                (          )
formatsbr.c:711:16: note: use '==' to turn this assignment into an equality comparison
                            if (ch2 = *xp++) {
                                    ^
                                    ==
formatsbr.c:724:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                        while (ch = *str) {
                               ~~~^~~~~~
formatsbr.c:724:14: note: place parentheses around the assignment to silence this warning
                        while (ch = *str) {
                                  ^
                               (        )
formatsbr.c:724:14: note: use '==' to turn this assignment into an equality comparison
                        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 C2x [-Wdeprecated-non-prototype]
            str = dtwszone (fmt->f_comp->c_tws);
                  ^
./../zotnet/tws.h:58:32: note: expanded from macro 'dtwszone'
#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]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            str = adrformat( fmt->f_comp->c_mn );
                  ^
./../h/addrsbr.h:43:32: note: expanded from macro 'adrformat'
#define adrformat(m)    auxformat ((m), 1)
                                  ^
formatsbr.c:913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (str = mn -> m_note) {
                    ~~~~^~~~~~~~~~~~~~
formatsbr.c:913:11: note: place parentheses around the assignment to silence this warning
                if (str = mn -> m_note) {
                        ^
                    (                 )
formatsbr.c:913:11: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                            if (uprf(pp - (*(pp-1) == ')' ? 3 : 2), "?=")) {
                                    ^
formatsbr.c:1040:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                    } else
                      ^
formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, lp);
            ^~~~~~~~~~~~~
formatsbr.c:399:12: note: expanded from macro 'PUTS'
    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'
    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'
    if (sp = (str)) {\
           ^
formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, lp);
            ^~~~~~~~~~~~~
formatsbr.c:400:2: note: expanded from macro 'PUTS'
        SKIP_SPACE(sp);\
        ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, lp);
            ^~~~~~~~~~~~~
formatsbr.c:400:2: note: expanded from macro 'PUTS'
        SKIP_SPACE(sp);\
        ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
        SKIP_SPACE(sp);\
        ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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 C2x [-Wdeprecated-non-prototype]
            PUTS (cp, lp);
            ^
formatsbr.c:402:21: note: expanded from macro 'PUTS'
            if (ml_ismlchar(ch)) {\
                           ^
formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, lp);
            ^~~~~~~~~~~~~
formatsbr.c:407:10: note: expanded from macro 'PUTS'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, lp);
            ^~~~~~~~~~~~~
formatsbr.c:407:10: note: expanded from macro 'PUTS'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                        sp++; SKIP_SPACE(sp); *cp++ = ' ';\
                              ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } else if (ch2 = *((sp)+1)) {\
                       ^
formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, lp);
            ^~~~~~~~~~~~~
formatsbr.c:416:7: note: expanded from macro 'PUTS'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE'
    while (ch = *(sp)) {\
              ^
formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            PUTS (cp, lp);
            ^~~~~~~~~~~~~
formatsbr.c:416:7: note: expanded from macro 'PUTS'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^~~~~~~~~~~~~~
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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'
                    SKIP_SPACE(sp); *cp++ = ' ';\
                    ^
formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE'
        } 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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                while (sp = getname(sp))
                                   ^
formatsbr.c:1087:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (sp = getname(sp))
                       ~~~^~~~~~~~~~~~~
formatsbr.c:1087:13: note: place parentheses around the assignment to silence this warning
                while (sp = getname(sp))
                          ^
                       (               )
formatsbr.c:1087:13: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
                        (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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    if ((cp = r1bindex (file, '/')) == file)
                       ^
m_backup.c:16:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
        (void) sprintf (buffer, "%.*s%s%s", cp - file, file, SBACKUP, cp);
                                 ~~^~       ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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]
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]
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 C2x [-Wdeprecated-non-prototype]
    switch (err = attr (mp, cp = name)) {
                       ^
m_convert.c:59:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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]
    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
    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
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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]
    (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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
off_t   lseek ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/unistd.h:465:8: note: conflicting prototype is here
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]
        if (mypath = getenv ("HOME"))
            ~~~~~~~^~~~~~~~~~~~~~~~~
m_getdefs.c:49:13: note: place parentheses around the assignment to silence this warning
        if (mypath = getenv ("HOME"))
                   ^
            (                       )
m_getdefs.c:49:13: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            (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 C2x [-Wdeprecated-non-prototype]
        if ((ib = FOpen (defpath, "r", "MHFD", 0)) == NULL)
                        ^
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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
            if (!m_putenv (envariable, buffer))
                          ^
m_getdefs.c:212:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int      FClose ();
                ^
38 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *getenv ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *getenv(const char *);
         ^
m_getfld.c:189:21: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]
#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]
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]
    if (eom (c, iob)) {
        ^
m_getfld.c:138:28: note: expanded from macro 'eom'
                         (((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 C2x [-Wdeprecated-non-prototype]
m_getfld.c:139:34: note: expanded from macro 'eom'
                          (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 C2x [-Wdeprecated-non-prototype]
            while ((c = Getc(iob)) >= 0 && eom (c, iob))
                                           ^
m_getfld.c:139:34: note: expanded from macro 'eom'
                          (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 C2x [-Wdeprecated-non-prototype]
                if (c < 0 || (c = Getc(iob)) < 0 || eom (c, iob)) {
                                                    ^
m_getfld.c:139:34: note: expanded from macro 'eom'
                          (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 C2x [-Wdeprecated-non-prototype]
                        while ((c = Getc(iob)) >= 0 && eom (c, iob))
                                                       ^
m_getfld.c:139:34: note: expanded from macro 'eom'
                          (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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                while (ep = locc( c, bp, '\n' )) {
                                ^
m_getfld.c:395:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (ep = locc( c, bp, '\n' )) {
                       ~~~^~~~~~~~~~~~~~~~~~~~~
m_getfld.c:395:13: note: place parentheses around the assignment to silence this warning
                while (ep = locc( c, bp, '\n' )) {
                          ^
                       (                       )
m_getfld.c:395:13: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                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]
                if (ep = matchc( fdelimlen, fdelim, c, bp ) )
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
m_getfld.c:534:10: note: place parentheses around the assignment to silence this warning
                if (ep = matchc( fdelimlen, fdelim, c, bp ) )
                       ^
                    (                                      )
m_getfld.c:534:10: note: use '==' to turn this assignment into an equality comparison
                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]
                    if (sp = pat_map[*ep & 0x00ff]) {
                        ~~~^~~~~~~~~~~~~~~~~~~~~~~
m_getfld.c:551:14: note: place parentheses around the assignment to silence this warning
                    if (sp = pat_map[*ep & 0x00ff]) {
                           ^
                        (                         )
m_getfld.c:551:14: note: use '==' to turn this assignment into an equality comparison
                    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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]
        while ((c = Getc(iob)) >= 0 && eom (c, iob))
                                       ^
m_getfld.c:138:28: note: expanded from macro 'eom'
                         (((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 C2x [-Wdeprecated-non-prototype]
m_getfld.c:139:34: note: expanded from macro 'eom'
                          (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void    m_unknown ();
        ^
m_getfld.c:698:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (eom_action = action) {
        ~~~~~~~~~~~^~~~~~~~
m_getfld.c:698:20: note: place parentheses around the assignment to silence this warning
    if (eom_action = action) {
                   ^
        (                  )
m_getfld.c:698:20: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
int  m_Eom (c, iob)
     ^
m_getfld.c:814:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (cp = dp = index (unixbuf, ' ')) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
m_getfld.c:814:12: note: place parentheses around the assignment to silence this warning
    if (cp = dp = index (unixbuf, ' ')) {
           ^
        (                             )
m_getfld.c:814:12: note: use '==' to turn this assignment into an equality comparison
    if (cp = dp = index (unixbuf, ' ')) {
           ^
           ==
m_getfld.c:815:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (cp = index (cp + 1, 'r'))
               ~~~^~~~~~~~~~~~~~~~~~~~~
m_getfld.c:815:12: note: place parentheses around the assignment to silence this warning
        while (cp = index (cp + 1, 'r'))
                  ^
               (                       )
m_getfld.c:815:12: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
         && (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 C2x [-Wdeprecated-non-prototype]
        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]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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]
    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]
    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 C2x [-Wdeprecated-non-prototype]
            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]
    while (dp = readdir (dd)) {
           ~~~^~~~~~~~~~~~~~
m_gmsg.c:78:15: note: place parentheses around the assignment to silence this warning
    while (dp = readdir (dd)) {
              ^
           (                )
m_gmsg.c:78:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
        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]
        if (i = m_atoi (dp -> d_name)) {
            ~~^~~~~~~~~~~~~~~~~~~~~~~
m_gmsg.c:88:8: note: place parentheses around the assignment to silence this warning
        if (i = m_atoi (dp -> d_name)) {
              ^
            (                        )
m_gmsg.c:88:8: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
    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]
    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]
    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]
    if (fp = fopen (field, "r")) {
        ~~~^~~~~~~~~~~~~~~~~~~~
m_gmsg.c:247:12: note: place parentheses around the assignment to silence this warning
    if (fp = fopen (field, "r")) {
           ^
        (                      )
m_gmsg.c:247:12: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                    (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 C2x [-Wdeprecated-non-prototype]
                    (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 C2x [-Wdeprecated-non-prototype]
                    (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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static          m_getatr();
                ^
m_gmsg.c:296:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
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 C2x [-Wdeprecated-non-prototype]
    for (ap = brkstring (field, " ", "\n");
                        ^
m_gmsg.c:339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (cp = index (*ap, '-'))
            ~~~^~~~~~~~~~~~~~~~~~
m_gmsg.c:339:9: note: place parentheses around the assignment to silence this warning
        if (cp = index (*ap, '-'))
               ^
            (                    )
m_gmsg.c:339:9: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                                    (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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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:17:24: warning: passing arguments to 'r1bindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((cp = r1bindex (file, '/')) == file)
                       ^
m_scratch.c:20:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
        (void) sprintf (buffer, "%.*s%s", cp - file, file, tmpfil);
                                 ~~^~     ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
char   *m_scratch ();
        ^
5 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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
                        (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            || (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 C2x [-Wdeprecated-non-prototype]
            || (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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            || (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 C2x [-Wdeprecated-non-prototype]
            || (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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                        (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 C2x [-Wdeprecated-non-prototype]
                    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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]
            if (cp = m_seq (mp, mp -> msgattrs[i]))
                ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
m_sync.c:56:13: note: place parentheses around the assignment to silence this warning
            if (cp = m_seq (mp, mp -> msgattrs[i]))
                   ^
                (                                 )
m_sync.c:56:13: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
            (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 C2x [-Wdeprecated-non-prototype]
            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]
                        && (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 C2x [-Wdeprecated-non-prototype]
                    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]
            (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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]
        _exit (0);              /* we are child, time to die */
        ^
m_update.c:59:2: note: include the header <unistd.h> 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]
    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]
    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]
    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]
        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]
            (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]
            (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]
            (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 C2x [-Wdeprecated-non-prototype]
            (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
      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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        || 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 C2x [-Wdeprecated-non-prototype]
        || 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 C2x [-Wdeprecated-non-prototype]
        || 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 C2x [-Wdeprecated-non-prototype]
        || 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 C2x [-Wdeprecated-non-prototype]
    } 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 C2x [-Wdeprecated-non-prototype]
    } 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 C2x [-Wdeprecated-non-prototype]
    } 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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void ml_fputs_sbr();
            ^
ml_codeconv.c:231:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (u1 = *scanlk++) {
           ~~~^~~~~~~~~~~
ml_codeconv.c:231:15: note: place parentheses around the assignment to silence this warning
    while (u1 = *scanlk++) {
              ^
           (             )
ml_codeconv.c:231:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void jeuc_fputs();
            ^
ml_codeconv.c:271:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (u1 = *scanlk++) {
           ~~~^~~~~~~~~~~
ml_codeconv.c:271:15: note: place parentheses around the assignment to silence this warning
    while (u1 = *scanlk++) {
              ^
           (             )
ml_codeconv.c:271:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void sjis_fputs();
            ^
ml_codeconv.c:311:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (u1 = *scanlk++) {
           ~~~^~~~~~~~~~~
ml_codeconv.c:311:15: note: place parentheses around the assignment to silence this warning
    while (u1 = *scanlk++) {
              ^
           (             )
ml_codeconv.c:311:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
char   *ml_conv ();
        ^
ml_codeconv.c:398:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c1 = *in++) {
           ~~~^~~~~~~
ml_codeconv.c:398:15: note: place parentheses around the assignment to silence this warning
    while (c1 = *in++) {
              ^
           (         )
ml_codeconv.c:398:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                            PUT_ENCODED_WORD();
                            ^
ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD'
    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 C2x [-Wdeprecated-non-prototype]
                        PUT_ENCODED_WORD();
                        ^
ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD'
    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 C2x [-Wdeprecated-non-prototype]
            PUT_ENCODED_WORD();
            ^
ml_exthdr.c:137:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:138:16: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:140:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:141:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:142:11: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:143:16: note: expanded from macro 'PUT_ENCODED_WORD'
        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 C2x [-Wdeprecated-non-prototype]
ml_exthdr.c:145:14: note: expanded from macro 'PUT_ENCODED_WORD'
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int   ml_to_mmh();
             ^
ml_exthdr.c:583:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c1 = *in++) {
           ~~~^~~~~~~
ml_exthdr.c:583:15: note: place parentheses around the assignment to silence this warning
    while (c1 = *in++) {
              ^
           (         )
ml_exthdr.c:583:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int   bin_to_b64();
             ^
ml_exthdr.c:613:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c1 = *in++) {
           ~~~^~~~~~~
ml_exthdr.c:613:15: note: place parentheses around the assignment to silence this warning
    while (c1 = *in++) {
              ^
           (         )
ml_exthdr.c:613:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            ((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 C2x [-Wdeprecated-non-prototype]
            ((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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int   mmh_to_ml();
             ^
ml_exthdr.c:758:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c1 = *in++) {
           ~~~^~~~~~~
ml_exthdr.c:758:15: note: place parentheses around the assignment to silence this warning
    while (c1 = *in++) {
              ^
           (         )
ml_exthdr.c:758:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int   b64_to_bin();
             ^
ml_exthdr.c:794:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c1 = *in++) {
           ~~~^~~~~~~
ml_exthdr.c:794:15: note: place parentheses around the assignment to silence this warning
    while (c1 = *in++) {
              ^
           (         )
ml_exthdr.c:794:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
                                    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 C2x [-Wdeprecated-non-prototype]
                                    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 C2x [-Wdeprecated-non-prototype]
                    advise (dir, "unable to create directory");
                           ^
makedir.c:74:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            if (pidXwait (pid, "mkdir"))
                ^
./../h/mh.h:311:44: note: expanded from macro 'pidXwait'
#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 C2x [-Wdeprecated-non-prototype]
./../h/mh.h:311:35: note: expanded from macro 'pidXwait'
#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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     makedir ();
        ^
11 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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        return getcpy (pwds);
                      ^
path.c:86:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
        (void) sprintf (buffer, "%.*s", cp - pwds, pwds);
                                 ~~^~   ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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 C2x [-Wdeprecated-non-prototype]
        return getcpy (buffer);
                      ^
path.c:95:32: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
    (void) sprintf (buffer, "%.*s/%s", cp - pwds, pwds, name);
                             ~~^~      ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
            if (signum = ((status & 0xff00) >> 8)) {
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
pidstatus.c:65:17: note: place parentheses around the assignment to silence this warning
            if (signum = ((status & 0xff00) >> 8)) {
                       ^
                (                                )
pidstatus.c:65:17: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
                (ssequal (substr, swp -> sw) && len >= swp -> minchars)) {
                         ^
printsw.c:25:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (sp = (&swp[1]) -> sw) /* next switch */
                ~~~^~~~~~~~~~~~~~~~~
printsw.c:25:13: note: place parentheses around the assignment to silence this warning
            if (sp = (&swp[1]) -> sw) /* next switch */
                   ^
                (                   )
printsw.c:25:13: note: use '==' to turn this assignment into an equality comparison
            if (sp = (&swp[1]) -> sw) /* next switch */
                   ^
                   ==
printsw.c:41:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (*cp++ = *cp1++);
                       ~~~~~~^~~~~~~~
printsw.c:41:16: note: place parentheses around the assignment to silence this warning
                while (*cp++ = *cp1++);
                             ^
                       (             )
printsw.c:41:16: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
        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]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
        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]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     unputenv ();
        ^
putenv.c:66:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    vec[vecp++] = r1bindex (fileproc, '/');
                           ^
refile.c:37:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     refile ();
        ^
5 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]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
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]
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]
                        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]
                        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
    if (strcmp (r1bindex (lproc, '/'), "mhl") == 0)
                         ^
showfile.c:27:13: warning: passing arguments to 'advise' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     showfile ();
        ^
7 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]
smatch(string, swp)
^
int
smatch.c:27:53: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) {
                                                ~~~~^~~~~~~~~~
smatch.c:27:53: note: place parentheses around the assignment to silence this warning
    for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) {
                                                    ^
                                                (             )
smatch.c:27:53: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
        while (i = *bits++)
               ~~^~~~~~~~~
sprintb.c:26:11: note: place parentheses around the assignment to silence this warning
        while (i = *bits++)
                 ^
               (          )
sprintb.c:26:11: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-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]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
uleq (c1, c2)
^
int
uleq.c:22:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c = *c1++)
           ~~^~~~~~~
uleq.c:22:14: note: place parentheses around the assignment to silence this warning
    while (c = *c1++)
             ^
           (        )
uleq.c:22:14: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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]
uprf (c1, c2)
^
int
uprf.c:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c = *c2++)
           ~~^~~~~~~
uprf.c:20:14: note: place parentheses around the assignment to silence this warning
    while (c = *c2++)
             ^
           (        )
uprf.c:20:14: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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  178968 Oct  7 08:57 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *getenv ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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]
    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 C2x [-Wdeprecated-non-prototype]
    if (hp = mh_gethostbyname (q)) {
                              ^
hosts.c:72:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (hp = mh_gethostbyname (q)) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~
hosts.c:72:12: note: place parentheses around the assignment to silence this warning
    if (hp = mh_gethostbyname (q)) {
           ^
        (                        )
hosts.c:72:12: note: use '==' to turn this assignment into an equality comparison
    if (hp = mh_gethostbyname (q)) {
           ^
           ==
hosts.c:82:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
hosts.c:40:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char   *OfficialName (name)
        ^
hosts.c:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (cp = index (buffer, '#'))
            ~~~^~~~~~~~~~~~~~~~~~~~~
hosts.c:115:9: note: place parentheses around the assignment to silence this warning
        if (cp = index (buffer, '#'))
               ^
            (                       )
hosts.c:115:9: note: use '==' to turn this assignment into an equality comparison
        if (cp = index (buffer, '#'))
               ^
               ==
hosts.c:117:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (cp = index (buffer, '\n'))
            ~~~^~~~~~~~~~~~~~~~~~~~~~
hosts.c:117:9: note: place parentheses around the assignment to silence this warning
        if (cp = index (buffer, '\n'))
               ^
            (                        )
hosts.c:117:9: note: use '==' to turn this assignment into an equality comparison
        if (cp = index (buffer, '\n'))
               ^
               ==
hosts.c:128:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (cp = index (dp = cp, ' ')) {
            ~~~^~~~~~~~~~~~~~~~~~~~~~
hosts.c:128:9: note: place parentheses around the assignment to silence this warning
        if (cp = index (dp = cp, ' ')) {
               ^
            (                        )
hosts.c:128:9: note: use '==' to turn this assignment into an equality comparison
        if (cp = index (dp = cp, ' ')) {
               ^
               ==
hosts.c:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (cp = index (*q++ = cp, ' '))
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~
hosts.c:135:10: note: place parentheses around the assignment to silence this warning
                if (cp = index (*q++ = cp, ' '))
                       ^
                    (                          )
hosts.c:135:10: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            *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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *getenv ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *getenv(const char *);
         ^
smail.c:326:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        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 C2x [-Wdeprecated-non-prototype]
    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]
    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]
        (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 C2x [-Wdeprecated-non-prototype]
        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]
        (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 C2x [-Wdeprecated-non-prototype]
        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]
    (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 C2x [-Wdeprecated-non-prototype]
            (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            (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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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]
    (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            (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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            (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]
        (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]
        (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
    (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
            for (ehlo = EHLOkeys; ep = *ehlo; ehlo++)
                                  ~~~^~~~~~~
smail.c:1287:31: note: place parentheses around the assignment to silence this warning
            for (ehlo = EHLOkeys; ep = *ehlo; ehlo++)
                                     ^
                                  (         )
smail.c:1287:31: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
    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]
                if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) {
                    ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smail.c:1314:13: note: place parentheses around the assignment to silence this warning
                if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) {
                          ^
                    (                                                    )
smail.c:1314:13: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
char   *rp_string ();
        ^
smail.c:1569:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    for (ehlo = EHLOkeys; ep = *ehlo; ehlo++)
                          ~~~^~~~~~~
smail.c:1569:30: note: place parentheses around the assignment to silence this warning
    for (ehlo = EHLOkeys; ep = *ehlo; ehlo++)
                             ^
                          (         )
smail.c:1569:30: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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  15424 Oct  7 08:57 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *getenv ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
    (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 C2x [-Wdeprecated-non-prototype]
    if (hp = mh_gethostbyname (buffer))
                              ^
mts.c:394:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (hp = mh_gethostbyname (buffer))
        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
mts.c:394:12: note: place parentheses around the assignment to silence this warning
    if (hp = mh_gethostbyname (buffer))
           ^
        (                             )
mts.c:394:12: note: use '==' to turn this assignment into an equality comparison
    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]
    (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]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *getenv ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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]
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]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
time_t  time ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:118:8: note: conflicting prototype is here
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *mktemp ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:216:7: note: conflicting prototype is here
char    *mktemp(char *);
         ^
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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]
                    (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]
                    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]
                    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]
                    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
    (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]
    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]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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]
            (void) sprintf (bp, "%.*s", cp - file, file);
                                 ~~^~   ~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
            (void) sprintf (tmplock, "%.*s,LCK.XXXXXX",
                                      ~~^~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
        (void) unlink (mktemp (tmplock));
               ^
lock.c:210:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static          lockname(), timerOFF();
                ^
lock.c:253:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
lock.c:371:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (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]
        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]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
                (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 C2x [-Wdeprecated-non-prototype]
                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]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
        (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
                (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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
            (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]
    (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 C2x [-Wdeprecated-non-prototype]
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]
        (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]
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]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static          lockname(), timerOFF();
                            ^
lock.c:682:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
55 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *getenv ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        *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 C2x [-Wdeprecated-non-prototype]
        if (hp = gethostbystring (*ap)) {
                                 ^
client.c:189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (hp = gethostbystring (*ap)) {
            ~~~^~~~~~~~~~~~~~~~~~~~~~~
client.c:189:9: note: place parentheses around the assignment to silence this warning
        if (hp = gethostbystring (*ap)) {
               ^
            (                         )
client.c:189:9: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
                (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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
u_long  inet_addr ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/arpa/inet.h:75:12: note: conflicting prototype is here
in_addr_t        inet_addr(const char *);
                 ^
client.c:366:8: error: conflicting types for 'inet_addr'
u_long  inet_addr ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/arpa/inet.h:75:12: note: previous declaration is here
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *getcpy (), **copyip (), **brkstring ();
             ^
32 warnings and 1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /Users/pbulk/build/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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
struct bboard  *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy();
                                            ^
getbbent.c:461:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
        (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file);
                              ~~^~   ~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
    (void) sprintf (BBInfo, "%s.%.*s%s", prf, dp - cp, cp, CNTFILE);
                                ~~^~          ~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
    (void) sprintf (BBMap, "%s.%.*s%s", prf, dp - cp, cp, MAPFILE);
                               ~~^~          ~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
        if (cp = index (BBDate, NEWLINE))
            ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
getbbent.c:479:9: note: place parentheses around the assignment to silence this warning
        if (cp = index (BBDate, NEWLINE))
               ^
            (                           )
getbbent.c:479:9: note: use '==' to turn this assignment into an equality comparison
        if (cp = index (BBDate, NEWLINE))
               ^
               ==
getbbent.c:517:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (p = *q++)
           ~~^~~~~~
getbbent.c:517:14: note: place parentheses around the assignment to silence this warning
    while (p = *q++)
             ^
           (       )
getbbent.c:517:14: note: use '==' to turn this assignment into an equality comparison
    while (p = *q++)
             ^
             ==
getbbent.c:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (p = *r++)
                   ~~^~~~~~
getbbent.c:524:15: note: place parentheses around the assignment to silence this warning
            while (p = *r++)
                     ^
                   (       )
getbbent.c:524:15: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        if (result = getbbitem (bb, *dp, action))
                               ^
getbbent.c:634:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (result = getbbitem (bb, *dp, action))
            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getbbent.c:634:13: note: place parentheses around the assignment to silence this warning
        if (result = getbbitem (bb, *dp, action))
                   ^
            (                                   )
getbbent.c:634:13: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
        ldrbb (), ldrchk (), getbbdist ();
                             ^
getbbent.c:674:28: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
                        (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file);
                                              ~~^~   ~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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]
                    (void) sprintf (file, "%s.%.*s%s", prf, dp - cp, cp, DSTFILE);
                                              ~~^~          ~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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 C2x [-Wdeprecated-non-prototype]
                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]
                if (np = index (buffer, '\n'))
                    ~~~^~~~~~~~~~~~~~~~~~~~~~
getbbent.c:690:10: note: place parentheses around the assignment to silence this warning
                if (np = index (buffer, '\n'))
                       ^
                    (                        )
getbbent.c:690:10: note: use '==' to turn this assignment into an equality comparison
                if (np = index (buffer, '\n'))
                       ^
                       ==
getbbent.c:692:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (result = getbbitem (bb, buffer, action)) {
                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getbbent.c:692:14: note: place parentheses around the assignment to silence this warning
                if (result = getbbitem (bb, buffer, action)) {
                           ^
                    (                                      )
getbbent.c:692:14: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
                    (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]
            if (hp = rindex (item, '@')) {
                ~~~^~~~~~~~~~~~~~~~~~~~
getbbent.c:702:13: note: place parentheses around the assignment to silence this warning
            if (hp = rindex (item, '@')) {
                   ^
                (                      )
getbbent.c:702:13: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
            if (result = (*action) (mbox, host))
                                   ^
getbbent.c:712:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (result = (*action) (mbox, host))
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
getbbent.c:712:17: note: place parentheses around the assignment to silence this warning
            if (result = (*action) (mbox, host))
                       ^
                (                              )
getbbent.c:712:17: note: use '==' to turn this assignment into an equality comparison
            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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char   *bbskip (), *getcpy ();
               ^
getbbent.c:774:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (p = malloc ((unsigned) (strlen (s) + 1)))
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getbbent.c:774:11: note: place parentheses around the assignment to silence this warning
    if (p = malloc ((unsigned) (strlen (s) + 1)))
          ^
        (                                       )
getbbent.c:774:11: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
time_t  time ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:118:8: note: conflicting prototype is here
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
struct tm *localtime ();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/time.h:114:12: note: conflicting prototype is here
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 C2x [-Wdeprecated-non-prototype]
    return dtime (&clock);
           ^
./tws.h:54:40: note: expanded from macro 'dtime'
#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 C2x [-Wdeprecated-non-prototype]
./tws.h:54:28: note: expanded from macro 'dtime'
#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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-Wdeprecated-non-prototype]
dtime.c:443:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
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]
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 C2x [-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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
                    (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 C2x [-Wdeprecated-non-prototype]
                    (void) my_lex (adr);
                                  ^
mf.c:435:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
        (void) sprintf (adr, "%.*s", cp - ap, ap);
                              ~~^~   ~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
char   *legal_person ();
        ^
mf.c:997:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
mf.c:939:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char   *getenv ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
        *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 C2x [-Wdeprecated-non-prototype]
        if (hp = gethostbystring (*ap)) {
                                 ^
mts/client.c:189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (hp = gethostbystring (*ap)) {
            ~~~^~~~~~~~~~~~~~~~~~~~~~~
mts/client.c:189:9: note: place parentheses around the assignment to silence this warning
        if (hp = gethostbystring (*ap)) {
               ^
            (                         )
mts/client.c:189:9: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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]
                (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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
u_long  inet_addr ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/arpa/inet.h:75:12: note: conflicting prototype is here
in_addr_t        inet_addr(const char *);
                 ^
mts/client.c:366:8: error: conflicting types for 'inet_addr'
u_long  inet_addr ();
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/arpa/inet.h:75:12: note: previous declaration is here
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
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 C2x [-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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *getcpy (), **copyip (), **brkstring ();
             ^
32 warnings and 1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /Users/pbulk/build/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]
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 C2x [-Wdeprecated-non-prototype]
    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]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    (void) copyip (argv + 1, ap);
                  ^
ali.c:95:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (cp = *argp++) {
           ~~~^~~~~~~~~
ali.c:95:15: note: place parentheses around the assignment to silence this warning
    while (cp = *argp++) {
              ^
           (           )
ali.c:95:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                                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 C2x [-Wdeprecated-non-prototype]
                        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 C2x [-Wdeprecated-non-prototype]
        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]
        if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */
            ~~~^~~~~~~~~~~~~~~~~~~~~~
ali.c:145:9: note: place parentheses around the assignment to silence this warning
        if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */
               ^
            (                        )
ali.c:145:9: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                            "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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
        (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]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
main (argc, argv)
^
ali.c:197:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c = *p++)
           ~~^~~~~~
ali.c:197:14: note: place parentheses around the assignment to silence this warning
    while (c = *p++)
             ^
           (       )
ali.c:197:14: note: use '==' to turn this assignment into an equality comparison
    while (c = *p++)
             ^
             ==
ali.c:203:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                    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 C2x [-Wdeprecated-non-prototype]
                    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 C2x [-Wdeprecated-non-prototype]
                    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]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        while (cp = getname (pp)) {
                            ^
ali.c:263:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (cp = getname (pp)) {
               ~~~^~~~~~~~~~~~~~
ali.c:263:12: note: place parentheses around the assignment to silence this warning
        while (cp = getname (pp)) {
                  ^
               (                )
ali.c:263:12: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
                    && 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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                    : 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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
            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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
print_usr (s, list, norm)
^
ali.c:288:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
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 C2x [-Wdeprecated-non-prototype]
        (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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
            : getcpy (ad -> ad_text);
                     ^
aliasbr.c:75:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (dp = cp) {
            ~~~^~~~
aliasbr.c:75:9: note: place parentheses around the assignment to silence this warning
        if (dp = cp) {
               ^
            (      )
aliasbr.c:75:9: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
    (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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char   *scanp (), *getp (), *seekp (), *akval (), *getalias ();
                                               ^
aliasbr.c:114:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c = *string++)
           ~~^~~~~~~~~~~
aliasbr.c:114:14: note: place parentheses around the assignment to silence this warning
    while (c = *string++)
             ^
           (            )
aliasbr.c:114:14: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
                (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 C2x [-Wdeprecated-non-prototype]
                while (cp = getalias (pp))
                                     ^
aliasbr.c:235:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (cp = getalias (pp))
                       ~~~^~~~~~~~~~~~~~~
aliasbr.c:235:13: note: place parentheses around the assignment to silence this warning
                while (cp = getalias (pp))
                          ^
                       (                 )
aliasbr.c:235:13: note: use '==' to turn this assignment into an equality comparison
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
        while (cp = getalias (buffer))
                             ^
aliasbr.c:335:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (cp = getalias (buffer))
               ~~~^~~~~~~~~~~~~~~~~~~
aliasbr.c:335:12: note: place parentheses around the assignment to silence this warning
        while (cp = getalias (buffer))
                  ^
               (                     )
aliasbr.c:335:12: note: use '==' to turn this assignment into an equality comparison
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int      aleq(), addfile(), addgroup(), addmember(), addall();
                        ^
aliasbr.c:364:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (gp = *gr -> gr_mem++)
           ~~~^~~~~~~~~~~~~~~~~
aliasbr.c:364:15: note: place parentheses around the assignment to silence this warning
    while (gp = *gr -> gr_mem++)
              ^
           (                   )
aliasbr.c:364:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int      aleq(), addfile(), addgroup(), addmember(), addall();
                                                            ^
aliasbr.c:469:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
aliasbr.c:444:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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]
init_pw () {
^
int
aliasbr.c:515:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (pw = getpwent ())
           ~~~^~~~~~~~~~~~~
aliasbr.c:515:15: note: place parentheses around the assignment to silence this warning
    while (pw = getpwent ())
              ^
           (               )
aliasbr.c:515:15: note: use '==' to turn this assignment into an equality comparison
    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 C2x [-Wdeprecated-non-prototype]
        if (!hmalloc (pw))
                     ^
aliasbr.c:523:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
aliasbr.c:535:27: warning: passing arguments to 'getcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
struct  home *seek_home ();
              ^
74 warnings generated.
make[1]: don't know how to make ../zotnet/libzot.a. Stop

make[1]: stopped in /Users/pbulk/build/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