git: lib/libhammer: Remove duplicated and unnecessary macro definitions

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Mar 28 15:31:29 PDT 2015


commit aa32bba7a976f81e63cb1c2e415455bcfbc2a663
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Mar 26 21:35:11 2015 +0900

    lib/libhammer: Remove duplicated and unnecessary macro definitions
    
    - All these macros are already defined in sbin/hammer/*.
    
    - HAMMER_BUF* are macros internally used by hammer userspace
      to manage hammer's 16KB buffers. Unless buffer management
      code is migrated to libhammer, it doesn't make much sense
      only to have these macros in library code.
    
    - All the rest of the macros are locally defined and used by
      hammer commands. No need to have them in header files.

Summary of changes:
 lib/libhammer/libhammer.h | 18 ------------------
 1 file changed, 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa32bba7a976f81e63cb1c2e415455bcfbc2a663


-- 
DragonFly BSD source repository



More information about the Commits mailing list