=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for traceroute-as-991603
clang -pipe -Os     -c aslookup.c
aslookup.c:170:22: warning: passing arguments to 'as_connect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                status = as_connect(server, port);
                                   ^
aslookup.c:180:52: warning: passing arguments to 'as_netof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) sprintf(buf, "%.80s %s", options, as_netof(inaddr));
                                                                 ^
aslookup.c:182:55: warning: passing arguments to 'as_netof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) sprintf(buf, "-k %.80s %s", options, as_netof(inaddr));
                                                                    ^
aslookup.c:188:8: warning: passing arguments to 'as_put' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        as_put(buf);
              ^
aslookup.c:193:20: warning: passing arguments to 'as_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        while ((p = as_get(buf, sizeof(buf))) != NULL)
                          ^
aslookup.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_lookup(inaddr, server, port, keepopen)
^
In file included from aslookup.c:61:
./defs.h:75: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 subsequent definition [-Wdeprecated-non-prototype]
char *as_lookup         PROTO((struct in_addr, char *, int, bool));
      ^
aslookup.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
timer(sig)
^
aslookup.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_connect(server, port)
^
In file included from aslookup.c:61:
./defs.h:76: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 as_connect          PROTO((char *, int));
    ^
aslookup.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_put(buf)
^
In file included from aslookup.c:61:
./defs.h:78: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 as_put             PROTO((char *));
     ^
aslookup.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_get(buf, size)
^
In file included from aslookup.c:61:
./defs.h:79: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 subsequent definition [-Wdeprecated-non-prototype]
char *as_get            PROTO((char *, int));
      ^
aslookup.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_netof(inaddr)
^
In file included from aslookup.c:61:
./defs.h:80: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 subsequent definition [-Wdeprecated-non-prototype]
char *as_netof          PROTO((struct in_addr));
      ^
16 warnings generated.
clang -pipe -Os     -c vers.c
clang -pipe -Os    -DSTANDALONE -c aslookup.c -o aslookup-std.o
aslookup.c:170:22: warning: passing arguments to 'as_connect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                status = as_connect(server, port);
                                   ^
aslookup.c:180:52: warning: passing arguments to 'as_netof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) sprintf(buf, "%.80s %s", options, as_netof(inaddr));
                                                                 ^
aslookup.c:182:55: warning: passing arguments to 'as_netof' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) sprintf(buf, "-k %.80s %s", options, as_netof(inaddr));
                                                                    ^
aslookup.c:188:8: warning: passing arguments to 'as_put' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        as_put(buf);
              ^
aslookup.c:193:20: warning: passing arguments to 'as_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        while ((p = as_get(buf, sizeof(buf))) != NULL)
                          ^
aslookup.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_lookup(inaddr, server, port, keepopen)
^
In file included from aslookup.c:61:
./defs.h:75: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 subsequent definition [-Wdeprecated-non-prototype]
char *as_lookup         PROTO((struct in_addr, char *, int, bool));
      ^
aslookup.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
timer(sig)
^
aslookup.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_connect(server, port)
^
In file included from aslookup.c:61:
./defs.h:76: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 as_connect          PROTO((char *, int));
    ^
aslookup.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_put(buf)
^
In file included from aslookup.c:61:
./defs.h:78: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 as_put             PROTO((char *));
     ^
aslookup.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_get(buf, size)
^
In file included from aslookup.c:61:
./defs.h:79: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 subsequent definition [-Wdeprecated-non-prototype]
char *as_get            PROTO((char *, int));
      ^
aslookup.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
as_netof(inaddr)
^
In file included from aslookup.c:61:
./defs.h:80: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 subsequent definition [-Wdeprecated-non-prototype]
char *as_netof          PROTO((struct in_addr));
      ^
aslookup.c:658:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Missing server name");
                                     ^
aslookup.c:671:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Missing port number");
                                     ^
aslookup.c:674:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Invalid port number %s", argv[2]);
                                     ^
aslookup.c:676:41: warning: passing arguments to 'itoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Maximum port number %s", itoa(MAXINT16));
                                                                    ^
aslookup.c:676:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Maximum port number %s", itoa(MAXINT16));
                                     ^
aslookup.c:686:9: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        fatal(Usage, program);
                             ^
aslookup.c:697:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal(Usage, program);
                     ^
aslookup.c:703:18: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                result = lookup(argv[i], server, port, keepopen);
                               ^
aslookup.c:625: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)
^
aslookup.c:603: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 main                PROTO((int, char **));
    ^
aslookup.c:750:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        error("Unknown host: %s", host);
                             ^
aslookup.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lookup(host, server, port, keepopen)
^
aslookup.c:604: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 lookup              PROTO((char *, char *, int, bool));
    ^
aslookup.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fatal(fmt, a, b, c, d)
^
aslookup.c:605: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 fatal              PROTO((char *, ...));
     ^
aslookup.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
error(fmt, a, b, c, d)
^
aslookup.c:606: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 error              PROTO((char *, ...));
     ^
aslookup.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
itoa(n)
^
aslookup.c:609: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 subsequent definition [-Wdeprecated-non-prototype]
char *itoa              PROTO((int));
      ^
35 warnings generated.
clang -pipe -Os    -DSTANDALONE -c vers.c -o vers-std.o
clang -pipe -Os    -o aslookup aslookup-std.o vers-std.o 
clang -pipe -Os     -c traceroute.c
traceroute.c:561:15: warning: passing arguments to 'set_defaults' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                set_defaults(option, argc, argv);
                            ^
traceroute.c:587:21: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        stopsecs = getval(argv[2], "stoptime value", 0, MAXSECS);
                                         ^
traceroute.c:604:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Missing gateway name");
                                     ^
traceroute.c:606:38: warning: passing arguments to 'itoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Maximum %s gateways", itoa(MAXLSRR));
                                                                 ^
traceroute.c:606:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Maximum %s gateways", itoa(MAXLSRR));
                                     ^
traceroute.c:607:31: warning: passing arguments to 'getgate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        lsrraddr[nlsrr++] = getgate(argv[2]);
                                                   ^
traceroute.c:614:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Missing whois server");
                                     ^
traceroute.c:621:20: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        min_ttl = getval(argv[2], "initial ttl", 1, max_ttl);
                                        ^
traceroute.c:637:20: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        max_ttl = getval(argv[2], "maxhops value", min_ttl, MAXINT8);
                                        ^
traceroute.c:653:17: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        port = getval(argv[2], "port number", 1, MAXINT16);
                                     ^
traceroute.c:659:20: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        maxquit = getval(argv[2], "maxquit value", 1, MAXINT16);
                                        ^
traceroute.c:665:20: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        nprobes = getval(argv[2], "nqueries value", 1, MAXINT16);
                                        ^
traceroute.c:683:10: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                fatal("Missing source address");
                                     ^
traceroute.c:690:16: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        tos = getval(argv[2], "tos value", 0, MAXINT8);
                                    ^
traceroute.c:701:21: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        waitsecs = getval(argv[2], "waittime value", 1, MAXSECS);
                                         ^
traceroute.c:710:9: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        fatal(Usage, program);
                             ^
traceroute.c:721:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal(Usage, program);
                     ^
traceroute.c:732:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        error("Unknown host %s", hostname);
                             ^
traceroute.c:750:24: warning: passing arguments to 'maphostbyaddr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        (void) maphostbyaddr(inaddr);
                                            ^
traceroute.c:755:42: warning: passing arguments to 'inetname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                hostname = strcpy(hostnamebuf, inetname(inaddr));
                                                       ^
traceroute.c:765:19: warning: passing arguments to 'getval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                datalen = getval(argv[2], "packet size", PROBELEN, MAXDATA);
                                ^
traceroute.c:769:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal(Usage, program);
                     ^
traceroute.c:779:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal("Destination port value overflow");
                     ^
traceroute.c:801:9: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        fatal("Illegal source address %s", source);
                             ^
traceroute.c:822:11: warning: passing arguments to 'ping' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (ping(hostaddr[i]))
                        ^
traceroute.c:523: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)
^
In file included from traceroute.c:476:
./defs.h:13: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 main                PROTO((int, char **));
    ^
traceroute.c:859:12: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        optargv = newlist(NULL, 2, char *);
                  ^
traceroute.c:482:35: note: expanded from macro 'newlist'
#define newlist(a,n,t)  (t *)xalloc((ptr_t *)(a), (siz_t)((n)*sizeof(t)))
                                   ^
traceroute.c:866:11: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        for (q = newstr(option), p = q; *p != '\0'; p = q)
                 ^
traceroute.c:485:26: note: expanded from macro 'newstr'
#define newstr(s)       strcpy(newstring(s), s)
                               ^
traceroute.c:484:36: note: expanded from macro 'newstring'
#define newstring(s)    (char *)xalloc((ptr_t *)NULL, (siz_t)(strlen(s)+1))
                                      ^
traceroute.c:866:11: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
traceroute.c:485:26: note: expanded from macro 'newstr'
#define newstr(s)       strcpy(newstring(s), s)
                               ^
traceroute.c:484:36: note: expanded from macro 'newstring'
#define newstring(s)    (char *)xalloc((ptr_t *)NULL, (siz_t)(strlen(s)+1))
                                      ^
traceroute.c:880:13: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                optargv = newlist(optargv, optargc+2, char *);
                          ^
traceroute.c:482:35: note: expanded from macro 'newlist'
#define newlist(a,n,t)  (t *)xalloc((ptr_t *)(a), (siz_t)((n)*sizeof(t)))
                                   ^
traceroute.c:890:13: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                optargv = newlist(optargv, optargc+2, char *);
                          ^
traceroute.c:482:35: note: expanded from macro 'newlist'
#define newlist(a,n,t)  (t *)xalloc((ptr_t *)(a), (siz_t)((n)*sizeof(t)))
                                   ^
traceroute.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_defaults(option, argc, argv)
^
In file included from traceroute.c:476:
./defs.h:14: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 set_defaults       PROTO((char *, int, char **));
     ^
traceroute.c:918:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal("Missing %s", optname);
                     ^
traceroute.c:923:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal("Invalid %s %s", optname, optstring);
                     ^
traceroute.c:926:39: warning: passing arguments to 'itoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal("Minimum %s %s", optname, itoa(minvalue));
                                                    ^
traceroute.c:926:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal("Minimum %s %s", optname, itoa(minvalue));
                     ^
traceroute.c:929:39: warning: passing arguments to 'itoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal("Maximum %s %s", optname, itoa(maxvalue));
                                                    ^
traceroute.c:929:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fatal("Maximum %s %s", optname, itoa(maxvalue));
                     ^
traceroute.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getval(optstring, optname, minvalue, maxvalue)
^
In file included from traceroute.c:476:
./defs.h:15: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 getval              PROTO((char *, char *, int, int));
    ^
traceroute.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fatal(fmt, a, b, c, d)
^
In file included from traceroute.c:476:
./defs.h:16: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 fatal              PROTO((char *, ...));
     ^
traceroute.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
error(fmt, a, b, c, d)
^
In file included from traceroute.c:476:
./defs.h:17: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 error              PROTO((char *, ...));
     ^
traceroute.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set_options(addrlist, naddr)
^
In file included from traceroute.c:476:
./defs.h:21: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 set_options        PROTO((ipaddr_t *, int));
     ^
traceroute.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
interrupt(sig)
^
traceroute.c:1271:25: warning: passing arguments to 'trace_route' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        got_there = trace_route(addr);
                               ^
traceroute.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ping(addr)
^
In file included from traceroute.c:476:
./defs.h:26:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
bool ping               PROTO((ipaddr_t));
     ^
traceroute.c:1367:19: warning: passing arguments to 'send_probe' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        cc = send_probe(sendsock, ++seq, ttl, packetlen-optlen);
                                       ^
traceroute.c:1369:21: warning: passing arguments to 'select_mtu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                mtu = select_mtu(packetlen);
                                                ^
traceroute.c:1378:20: warning: passing arguments to 'recv_reply' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                cc = recv_reply(recvsock, &waittime);
                                               ^
traceroute.c:1392:26: warning: passing arguments to 'check_reply' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        icmpcode = check_reply(ipacket, cc, seq);
                                              ^
traceroute.c:1395:17: warning: passing arguments to 'tvsub' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                (void) tvsub(&recvtime, &nexttime);
                                            ^
traceroute.c:1396:17: warning: passing arguments to 'tvsub' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                (void) tvsub(&waittime, &recvtime);
                                            ^
traceroute.c:1406:15: warning: passing arguments to 'print_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                print_from(ipacket, cc, from->sin_addr);
                                          ^
traceroute.c:1413:15: warning: passing arguments to 'tvsub' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        rtt = tvsub(&recvtime, &sendtime);
                                   ^
traceroute.c:1415:16: warning: passing arguments to 'record_stats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        record_stats(rtt);
                                    ^
traceroute.c:1418:42: warning: passing arguments to 'tvprint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                printf("%s %s ms", separator, tvprint(rtt));
                                                                     ^
traceroute.c:1424:19: warning: passing arguments to 'regular_ttl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        if (regular_ttl((int)ip->ip_ttl + (ttl - 1)))
                                       ^
traceroute.c:1442:20: warning: passing arguments to 'gatewayaddr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                if (gatewayaddr(from->sin_addr))
                                               ^
traceroute.c:1522:22: warning: passing arguments to 'select_mtu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                        mtu = select_mtu(packetlen);
                                                        ^
traceroute.c:1544:15: warning: passing arguments to 'print_stats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        print_stats(probe);
                                   ^
traceroute.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
trace_route(addr)
^
In file included from traceroute.c:476:
./defs.h:27:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
bool trace_route        PROTO((ipaddr_t));
     ^
traceroute.c:1740:52: warning: too few arguments in call to 'error'
                        error("sendto: truncated packet to %s", hostname);
                        ~~~~~                                           ^
traceroute.c:1594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
send_probe(sock, seq, ttl, iplen)
^
In file included from traceroute.c:476:
./defs.h:28: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 send_probe          PROTO((int, int, int, int));
    ^
traceroute.c:1795:59: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        n = recvfrom(sock, (char *)ipacket, len, 0, fromaddr_sa, &fromlen);
                                                                 ^~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:716:27: note: passing argument to parameter here
    socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom);
                          ^
traceroute.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
recv_reply(sock, wait)
^
In file included from traceroute.c:476:
./defs.h:29: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 recv_reply          PROTO((int, struct timeval *));
    ^
traceroute.c:1847:16: warning: passing arguments to 'pr_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                cc, pr_addr(from->sin_addr));
                                           ^
traceroute.c:1850:15: warning: passing arguments to 'print_ippkt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        print_ippkt(ip, cc);
                                   ^
traceroute.c:1860:16: warning: passing arguments to 'pr_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                cc, pr_addr(from->sin_addr));
                                           ^
traceroute.c:1863:15: warning: passing arguments to 'print_ippkt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        print_ippkt(ip, cc);
                                   ^
traceroute.c:1924:15: warning: passing arguments to 'pr_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        cc, pr_addr(from->sin_addr));
                                   ^
traceroute.c:1927:14: warning: passing arguments to 'print_icmph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                print_icmph(icp, cc);
                           ^
traceroute.c:1823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
check_reply(buf, cc, seq)
^
In file included from traceroute.c:476:
./defs.h:30: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 check_reply         PROTO((u_char *, int, int));
    ^
traceroute.c:2017:14: warning: passing arguments to 'print_ippkt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                print_ippkt((struct ip *)icp->icmp_data, cc - ICMP_MINLEN);
                           ^
traceroute.c:2022:14: warning: passing arguments to 'print_ippkt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                print_ippkt((struct ip *)icp->icmp_data, cc - ICMP_MINLEN);
                           ^
traceroute.c:2045:14: warning: passing arguments to 'print_ippkt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                print_ippkt((struct ip *)icp->icmp_data, cc - ICMP_MINLEN);
                           ^
traceroute.c:2074:14: warning: passing arguments to 'print_ippkt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                print_ippkt((struct ip *)icp->icmp_data, cc - ICMP_MINLEN);
                           ^
traceroute.c:2080:14: warning: passing arguments to 'print_ippkt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                print_ippkt((struct ip *)icp->icmp_data, cc - ICMP_MINLEN);
                           ^
traceroute.c:1950: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_icmph(icp, cc)
^
In file included from traceroute.c:476:
./defs.h:34:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void print_icmph        PROTO((struct icmp *, int));
     ^
traceroute.c:2138:13: warning: passing arguments to 'print_iphdr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        print_iphdr(ip, cc);
                   ^
traceroute.c:2150:33: warning: passing arguments to 'pr_port' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                printf("from port %s", pr_port("tcp", tcp->th_sport));
                                              ^
traceroute.c:2151:33: warning: passing arguments to 'pr_port' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                printf(", to port %s", pr_port("tcp", tcp->th_dport));
                                              ^
traceroute.c:2158:33: warning: passing arguments to 'pr_port' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                printf("from port %s", pr_port("udp", udp->uh_sport));
                                              ^
traceroute.c:2159:33: warning: passing arguments to 'pr_port' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                printf(", to port %s", pr_port("udp", udp->uh_dport));
                                              ^
traceroute.c:2123: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_ippkt(ip, cc)
^
In file included from traceroute.c:476:
./defs.h:35: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 print_ippkt        PROTO((struct ip *, int));
     ^
traceroute.c:2228:16: warning: passing arguments to 'print_options' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                print_options(ipopt, ipoptlen);
                             ^
traceroute.c:2176: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_iphdr(ip, cc)
^
In file included from traceroute.c:476:
./defs.h:36: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 print_iphdr        PROTO((struct ip *, int));
     ^
traceroute.c:2267:15: warning: passing arguments to 'print_route' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        print_route(ipopt);
                                   ^
traceroute.c:2272:15: warning: passing arguments to 'print_route' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        print_route(ipopt);
                                   ^
traceroute.c:2277:15: warning: passing arguments to 'print_route' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        print_route(ipopt);
                                   ^
traceroute.c:2241: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_options(ipopt, ipoptlen)
^
In file included from traceroute.c:476:
./defs.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 print_options      PROTO((u_char *, int));
     ^
traceroute.c:2337:27: warning: passing arguments to 'pr_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                printf("\t%s\n", pr_addr(inaddr));
                                        ^
traceroute.c:2317: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_route(ipopt)
^
In file included from traceroute.c:476:
./defs.h:39: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 print_route        PROTO((u_char *));
     ^
traceroute.c:2360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pr_port(protocol, port)
^
In file included from traceroute.c:476:
./defs.h:44: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 subsequent definition [-Wdeprecated-non-prototype]
char *pr_port           PROTO((char *, u_short));
      ^
traceroute.c:2490:30: warning: passing arguments to 'inetname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                printf(" %s (%s)", inetname(inaddr), inet_ntoa(inaddr));
                                           ^
traceroute.c:2502:23: warning: passing arguments to 'as_lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                asnumber = as_lookup(inaddr, ashost, 0, keepopen);
                                    ^
traceroute.c:2471: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_from(buf, cc, inaddr)
^
In file included from traceroute.c:476:
./defs.h:49: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 print_from         PROTO((u_char *, int, struct in_addr));
     ^
traceroute.c:2533:23: warning: passing arguments to 'maphostbyaddr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                host = maphostbyaddr(inaddr);
                                    ^
traceroute.c:2524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inetname(inaddr)
^
In file included from traceroute.c:476:
./defs.h:50: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 subsequent definition [-Wdeprecated-non-prototype]
char *inetname          PROTO((struct in_addr));
      ^
traceroute.c:2561:23: warning: passing arguments to 'maphostbyaddr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                host = maphostbyaddr(inaddr);
                                    ^
traceroute.c:2552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pr_addr(inaddr)
^
In file included from traceroute.c:476:
./defs.h:51: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 subsequent definition [-Wdeprecated-non-prototype]
char *pr_addr           PROTO((struct in_addr));
      ^
traceroute.c:2622:17: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                host = maxstr(newstr(hp->h_name), MAXDNAME, FALSE);
                              ^
traceroute.c:485:26: note: expanded from macro 'newstr'
#define newstr(s)       strcpy(newstring(s), s)
                               ^
traceroute.c:484:36: note: expanded from macro 'newstring'
#define newstring(s)    (char *)xalloc((ptr_t *)NULL, (siz_t)(strlen(s)+1))
                                      ^
traceroute.c:2622:17: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
traceroute.c:485:26: note: expanded from macro 'newstr'
#define newstr(s)       strcpy(newstring(s), s)
                               ^
traceroute.c:484:36: note: expanded from macro 'newstring'
#define newstring(s)    (char *)xalloc((ptr_t *)NULL, (siz_t)(strlen(s)+1))
                                      ^
traceroute.c:2622:16: warning: passing arguments to 'maxstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                host = maxstr(newstr(hp->h_name), MAXDNAME, FALSE);
                             ^
traceroute.c:2629:16: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s->addrlist = newlist(s->addrlist, s->addrcount+1, ipaddr_t);
                      ^
traceroute.c:482:35: note: expanded from macro 'newlist'
#define newlist(a,n,t)  (t *)xalloc((ptr_t *)(a), (siz_t)((n)*sizeof(t)))
                                   ^
traceroute.c:2630:16: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s->namelist = newlist(s->namelist, s->addrcount+1, char *);
                      ^
traceroute.c:482:35: note: expanded from macro 'newlist'
#define newlist(a,n,t)  (t *)xalloc((ptr_t *)(a), (siz_t)((n)*sizeof(t)))
                                   ^
traceroute.c:2594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
maphostbyaddr(inaddr)
^
In file included from traceroute.c:476:
./defs.h:52: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 subsequent definition [-Wdeprecated-non-prototype]
char *maphostbyaddr     PROTO((struct in_addr));
      ^
traceroute.c:2674:33: warning: too few arguments in call to 'error'
                        error("Unknown host %s", host);
                        ~~~~~                        ^
traceroute.c:2689:40: warning: passing arguments to 'gatewayaddr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if ((ngate < MAXGATE) && !gatewayaddr(inaddr))
                                                     ^
traceroute.c:2699:40: warning: passing arguments to 'gatewayaddr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if ((ngate < MAXGATE) && !gatewayaddr(inaddr))
                                                     ^
traceroute.c:2655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getgate(host)
^
In file included from traceroute.c:476:
./defs.h:53:10: 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]
ipaddr_t getgate        PROTO((char *));
         ^
traceroute.c:2723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gatewayaddr(inaddr)
^
In file included from traceroute.c:476:
./defs.h:54: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]
bool gatewayaddr        PROTO((struct in_addr));
     ^
traceroute.c:2859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tvsub(t2, t1)
^
In file included from traceroute.c:476:
./defs.h:58: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 tvsub            PROTO((struct timeval *, struct timeval *));
       ^
traceroute.c:2905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tvprint(usec)
^
In file included from traceroute.c:476:
./defs.h:59: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 subsequent definition [-Wdeprecated-non-prototype]
char *tvprint           PROTO((time_t));
      ^
traceroute.c:2967:18: warning: passing arguments to 'xsqrt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        rttstd = xsqrt(rttstd / nreceived);
                                      ^
traceroute.c:2950: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_stats(ntransmitted)
^
In file included from traceroute.c:476:
./defs.h:60: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 print_stats        PROTO((int));
     ^
traceroute.c:2994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
record_stats(rtt)
^
In file included from traceroute.c:476:
./defs.h:61: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 record_stats       PROTO((time_t));
     ^
traceroute.c:3044: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_mtu(len)
^
In file included from traceroute.c:476:
./defs.h:63: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 select_mtu          PROTO((int));
    ^
traceroute.c:3074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
regular_ttl(ttl)
^
In file included from traceroute.c:476:
./defs.h:64: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]
bool regular_ttl        PROTO((int));
     ^
traceroute.c:3114:13: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        string = newstr(string);
                                 ^
traceroute.c:485:26: note: expanded from macro 'newstr'
#define newstr(s)       strcpy(newstring(s), s)
                               ^
traceroute.c:484:36: note: expanded from macro 'newstring'
#define newstring(s)    (char *)xalloc((ptr_t *)NULL, (siz_t)(strlen(s)+1))
                                      ^
traceroute.c:3114:13: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
traceroute.c:485:26: note: expanded from macro 'newstr'
#define newstr(s)       strcpy(newstring(s), s)
                               ^
traceroute.c:484:36: note: expanded from macro 'newstring'
#define newstring(s)    (char *)xalloc((ptr_t *)NULL, (siz_t)(strlen(s)+1))
                                      ^
traceroute.c:3106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
maxstr(string, n, save)
^
In file included from traceroute.c:476:
./defs.h:68: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 subsequent definition [-Wdeprecated-non-prototype]
char *maxstr            PROTO((char *, int, bool));
      ^
traceroute.c:3141:24: warning: too few arguments in call to 'error'
                error("Out of memory");
                ~~~~~                ^
traceroute.c:3130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xalloc(buf, size)
^
In file included from traceroute.c:476:
./defs.h:69: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]
ptr_t *xalloc           PROTO((ptr_t *, siz_t));
       ^
traceroute.c:3157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
itoa(n)
^
In file included from traceroute.c:476:
./defs.h:70: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 subsequent definition [-Wdeprecated-non-prototype]
char *itoa              PROTO((int));
      ^
traceroute.c:3179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xsqrt(y)
^
In file included from traceroute.c:476:
./defs.h:71: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]
double xsqrt            PROTO((double));
       ^
157 warnings generated.
clang  -o traceroute traceroute.o aslookup.o vers.o 
Undefined symbols for architecture x86_64:
  "_res_9_init", referenced from:
      _main in traceroute.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [traceroute] Error code 1

bmake: stopped in /Users/pbulk/build/net/traceroute-as/work
1 error

bmake: stopped in /Users/pbulk/build/net/traceroute-as/work
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/traceroute-as
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/traceroute-as