git: Use system's RT_ROUNDUP and RT_ADVANCE macros instead of local copies.

Nuno Antunes nant at crater.dragonflybsd.org
Sat Jul 19 19:23:35 PDT 2014


commit 4ff4d99fc851da1a09ed7e6a9fe054d2dd3d6013
Author: Nuno Antunes <nuno.antunes at gmail.com>
Date:   Fri Jul 18 15:12:52 2014 +0100

    Use system's RT_ROUNDUP and RT_ADVANCE macros instead of local copies.
    
    Reviewed-by: dillon

Summary of changes:
 bin/hostname/hostname.c                    | 12 +++++++-----
 lib/libc/net/getifaddrs.c                  |  3 +--
 sbin/dhclient/dhclient.c                   |  7 ++-----
 sbin/ifconfig/ifconfig.c                   | 14 +-------------
 sbin/natd/natd.c                           |  6 +-----
 sbin/route/route.c                         | 12 ++++--------
 sbin/route/show.c                          |  6 +-----
 sbin/routed/if.c                           |  3 +--
 sys/net/if.c                               |  4 +---
 sys/net/route.c                            |  9 ++++-----
 sys/net/rtsock.c                           | 11 ++++-------
 sys/netgraph/eiface/ng_eiface.c            |  2 +-
 sys/netgraph7/eiface/ng_eiface.c           |  3 ++-
 tools/tools/net80211/wlanwatch/wlanwatch.c | 16 +--------------
 usr.bin/netstat/route.c                    |  8 +-------
 usr.sbin/arp/arp.c                         | 20 ++++++++++---------
 usr.sbin/gifconfig/gifconfig.c             | 13 +------------
 usr.sbin/ndp/ndp.c                         | 12 ++++--------
 usr.sbin/ppp/defs.h                        |  2 --
 usr.sbin/ppp/iface.c                       |  2 +-
 usr.sbin/ppp/route.c                       |  4 ++--
 usr.sbin/route6d/route6d.c                 | 31 +++++++++++++-----------------
 usr.sbin/rtadvd/if.c                       | 10 +---------
 usr.sbin/rtsold/if.c                       |  9 +--------
 usr.sbin/rtsold/rtsock.c                   |  8 --------
 usr.sbin/rwhod/rwhod.c                     |  6 +-----
 26 files changed, 67 insertions(+), 166 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4ff4d99fc851da1a09ed7e6a9fe054d2dd3d6013


-- 
DragonFly BSD source repository


More information about the Commits mailing list