summaryrefslogtreecommitdiffstats
path: root/local/rpmatch.h
blob: 2541aa3db3b4a89616e849bc04867bd513a0ae24 (plain)
1
2
3
4
5
6
7
8
9
#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 */