libcmdutils has superfluous #define
lib - userland libraries
usr/src/lib/libcmdutils.h has the following define:
#define ISREG(A) (((A).st_mode & S_IFMT) == S_IFREG)
This is largely unneeded and S_ISREG is probably a better choice.