summaryrefslogblamecommitdiffstats
path: root/libblkid/rpmatch.h
blob: d62634bd89030e80682c7dea513ecb9d750f4357 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                      
#ifndef UTIL_LINUX_RPMATCH_H
#define UTIL_LINUX_RPMATCH_H

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

#endif /* UTIL_LINUX_RPMATCH_H */