git: cpdup(1): Minor cleanups

Aaron LI aly at crater.dragonflybsd.org
Tue Oct 29 07:55:17 PDT 2019


commit 7d2302aca7eccb1ec36d1709627523584aedcd22
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Oct 29 22:39:22 2019 +0800

    cpdup(1): Minor cleanups
    
    * In 'cpdup.h', remove an inaccurate comment about <strings.h>
      inclusion.
    * Change predefined macro '__linux' to '__linux__', meanwhile add an
      empty define of '__dead2' under '__linux__' scope.
    * In 'hcproto.c', put static variable 'chflags_warning' inside
      '_ST_FLAGS_PRESENT_' macro scrope.
    
    Referred to the changes I made in the standalone 'cpdup' repo:
    https://github.com/DragonFlyBSD/cpdup

Summary of changes:
 bin/cpdup/cpdup.h   | 7 +++----
 bin/cpdup/hcproto.c | 2 ++
 2 files changed, 5 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d2302aca7eccb1ec36d1709627523584aedcd22


-- 
DragonFly BSD source repository



More information about the Commits mailing list