From: | Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Sat, 12 Nov 2005 18:04:48 -0800 (PST) |
swildner 2005/11/12 18:04:48 PST DragonFly src repository Modified files: lib/libc/net addr2ascii.c ascii2addr.c base64.c ether_addr.c getaddrinfo.c gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c getnameinfo.c getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c getproto.c getprotoent.c getprotoname.c getservbyname.c getservbyport.c getservent.c herror.c inet_addr.c inet_lnaof.c inet_makeaddr.c inet_net_ntop.c inet_net_pton.c inet_neta.c inet_netof.c inet_network.c inet_ntop.c inet_pton.c ip6opt.c linkaddr.c map_v4v6.c name6.c ns_addr.c ns_name.c ns_print.c ns_ttl.c nsap_addr.c rcmd.c rcmdsh.c recv.c res_comp.c res_debug.c res_init.c res_mkquery.c res_mkupdate.c res_query.c res_send.c res_update.c rthdr.c send.c Log: Cleanup: - Add $DragonFly$. - Ansify function definitions. - In function definitions, move the type on a line of its own. - Move function's open brace on a line of its own. - Remove (void) casts for discarded return values. - Remove unused variables. Revision Changes Path 1.2 +5 -5 src/lib/libc/net/addr2ascii.c 1.2 +2 -4 src/lib/libc/net/ascii2addr.c 1.4 +3 -5 src/lib/libc/net/base64.c 1.4 +6 -15 src/lib/libc/net/ether_addr.c 1.6 +38 -87 src/lib/libc/net/getaddrinfo.c 1.6 +11 -26 src/lib/libc/net/gethostbydns.c 1.6 +6 -11 src/lib/libc/net/gethostbyht.c 1.4 +3 -11 src/lib/libc/net/gethostbynis.c 1.5 +6 -6 src/lib/libc/net/gethostnamadr.c 1.4 +5 -19 src/lib/libc/net/getnameinfo.c 1.5 +8 -16 src/lib/libc/net/getnetbydns.c 1.5 +5 -9 src/lib/libc/net/getnetbyht.c 1.4 +3 -9 src/lib/libc/net/getnetbynis.c 1.4 +6 -8 src/lib/libc/net/getnetnamadr.c 1.5 +1 -2 src/lib/libc/net/getproto.c 1.5 +3 -4 src/lib/libc/net/getprotoent.c 1.5 +1 -2 src/lib/libc/net/getprotoname.c 1.5 +1 -2 src/lib/libc/net/getservbyname.c 1.5 +1 -3 src/lib/libc/net/getservbyport.c 1.7 +6 -10 src/lib/libc/net/getservent.c 1.6 +2 -4 src/lib/libc/net/herror.c 1.5 +2 -5 src/lib/libc/net/inet_addr.c 1.5 +1 -2 src/lib/libc/net/inet_lnaof.c 1.4 +1 -2 src/lib/libc/net/inet_makeaddr.c 1.4 +2 -11 src/lib/libc/net/inet_net_ntop.c 1.4 +2 -9 src/lib/libc/net/inet_net_pton.c 1.3 +2 -5 src/lib/libc/net/inet_neta.c 1.5 +1 -2 src/lib/libc/net/inet_netof.c 1.6 +1 -2 src/lib/libc/net/inet_network.c 1.4 +3 -13 src/lib/libc/net/inet_ntop.c 1.4 +3 -10 src/lib/libc/net/inet_pton.c 1.4 +8 -25 src/lib/libc/net/ip6opt.c 1.5 +2 -5 src/lib/libc/net/linkaddr.c 1.4 +2 -7 src/lib/libc/net/map_v4v6.c 1.9 +4 -9 src/lib/libc/net/name6.c 1.5 +7 -16 src/lib/libc/net/ns_addr.c 1.3 +5 -5 src/lib/libc/net/ns_name.c 1.3 +6 -6 src/lib/libc/net/ns_print.c 1.3 +2 -2 src/lib/libc/net/ns_ttl.c 1.4 +3 -10 src/lib/libc/net/nsap_addr.c 1.7 +51 -82 src/lib/libc/net/rcmd.c 1.4 +9 -11 src/lib/libc/net/rcmdsh.c 1.5 +1 -4 src/lib/libc/net/recv.c 1.4 +7 -10 src/lib/libc/net/res_comp.c 1.4 +45 -40 src/lib/libc/net/res_debug.c 1.6 +6 -8 src/lib/libc/net/res_init.c 1.5 +13 -14 src/lib/libc/net/res_mkquery.c 1.3 +14 -10 src/lib/libc/net/res_mkupdate.c 1.6 +17 -18 src/lib/libc/net/res_query.c 1.6 +27 -45 src/lib/libc/net/res_send.c 1.3 +2 -2 src/lib/libc/net/res_update.c 1.4 +8 -23 src/lib/libc/net/rthdr.c 1.5 +1 -4 src/lib/libc/net/send.c http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/addr2ascii.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/ascii2addr.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/base64.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/ether_addr.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getaddrinfo.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/gethostbydns.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/gethostbyht.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/gethostbynis.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/gethostnamadr.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getnameinfo.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getnetbydns.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getnetbyht.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getnetbynis.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getnetnamadr.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getproto.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getprotoent.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getprotoname.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getservbyname.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getservbyport.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/getservent.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/herror.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_addr.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_lnaof.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_makeaddr.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_net_ntop.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_net_pton.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_neta.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_netof.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_network.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_ntop.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/inet_pton.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/ip6opt.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/linkaddr.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/map_v4v6.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/name6.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/ns_addr.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/ns_name.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/ns_print.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/ns_ttl.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/nsap_addr.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/rcmd.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/rcmdsh.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/recv.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_comp.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_debug.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_init.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_mkquery.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_mkupdate.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_query.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_send.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/res_update.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/rthdr.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/net/send.c.diff?r1=1.4&r2=1.5&f=u