git: net/route.h: Expose the ROUNDUP and ADVANCE macros.

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


commit 8c14bf6fb46c3079369a8561585f0eba4692e6d6
Author: Nuno Antunes <nuno.antunes at gmail.com>
Date:   Fri Jul 18 11:16:10 2014 +0100

    net/route.h: Expose the ROUNDUP and ADVANCE macros.
    
    * These macros are replicated in multiple places on the tree.  Give
      them an RT_ prefix and centralize them in net/route.h in an effort
      to reduce code duplication.
    
    * Kernel and userland changes to use these macros will come in a
      subsequent commit.
    
    Taken-from: NetBSD
    Reviewed-by: dillon

Summary of changes:
 sys/net/route.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c14bf6fb46c3079369a8561585f0eba4692e6d6


-- 
DragonFly BSD source repository



More information about the Commits mailing list