cpdup(1): Minor cleanups
authorAaron LI <aly@aaronly.me>
Tue, 29 Oct 2019 14:39:22 +0000 (22:39 +0800)
committerAaron LI <aly@aaronly.me>
Tue, 29 Oct 2019 14:39:22 +0000 (22:39 +0800)
commit7d2302aca7eccb1ec36d1709627523584aedcd22
tree15010900ce9f7ff30157b196de8e0059c380f71d
parent333a466d07d50b9e9a62d3707df76617fb1edeac
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
bin/cpdup/cpdup.h
bin/cpdup/hcproto.c