From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> Signed-off-by: Luis R. Rodriguez <mcgrof at do-not-panic.com> --- crda.c | 2 +- reglib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crda.c b/crda.c index fc7a25f..2a601eb 100644 --- a/crda.c +++ b/crda.c @@ -170,7 +170,7 @@ int main(int argc, char **argv) return -EINVAL; } - if (!is_valid_regdom(env_country)) { + if (!reglib_is_valid_regdom(env_country)) { fprintf(stderr, "COUNTRY environment variable must be an " "ISO ISO 3166-1-alpha-2 (uppercase) or 00\n"); return -EINVAL; diff --git a/reglib.h b/reglib.h index b7c5d08..8ed94d9 100644 --- a/reglib.h +++ b/reglib.h @@ -52,7 +52,7 @@ static inline int reglib_is_alpha2(const char *alpha2) return 0; } -static inline int is_valid_regdom(const char *alpha2) +static inline int reglib_is_valid_regdom(const char *alpha2) { if (!reglib_is_alpha2(alpha2) && !reglib_is_world_regdom(alpha2)) return 0; -- 1.7.10.4