blob: d62634bd89030e80682c7dea513ecb9d750f4357 [file] [log] [blame]
bigbiff bigbiffe60683a2013-02-22 20:55:50 -05001#ifndef UTIL_LINUX_RPMATCH_H
2#define UTIL_LINUX_RPMATCH_H
3
4#ifndef HAVE_RPMATCH
5#define rpmatch(r) \
6 (*r == 'y' || *r == 'Y' ? 1 : *r == 'n' || *r == 'N' ? 0 : -1)
7#endif
8
9#endif /* UTIL_LINUX_RPMATCH_H */