include/optutils: remove unnecessary exclusive_option()

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2012-07-26 09:27:42 +02:00
parent 1c608be18c
commit f69b4c5b62
1 changed files with 0 additions and 14 deletions

View File

@ -18,20 +18,6 @@ static inline const char *option_to_longopt(int c, const struct option *opts)
# define OPTUTILS_EXIT_CODE EXIT_FAILURE
#endif
/* deprecated */
static inline void exclusive_option(int *what, const int how,
const char *errmesg)
{
if (*what == 0) {
*what = how;
return;
}
if (*what == how)
return;
errx(OPTUTILS_EXIT_CODE,
_("options %s are mutually exclusive"), errmesg);
}
/*
* Check collisions between options.
*