procps/local/rpmatch.h
Craig Small 47a8676625 build-sys: Relocate lib/
test files in lib go to src/tests
include/ goes to local/
lib/*.c goes to local/

Signed-off-by: Craig Small <csmall@dropbear.xyz>
2022-08-29 20:28:03 +10:00

10 lines
204 B
C

#ifndef PROCPS_NG_RPMATCH_H
#define PROCPS_NG_RPMATCH_H
#ifndef HAVE_RPMATCH
#define rpmatch(r) \
(*r == 'y' || *r == 'Y' ? 1 : *r == 'n' || *r == 'N' ? 0 : -1)
#endif
#endif /* PROCPS_NG_RPMATCH_H */