aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-05-30 14:47:23 -0700
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-05-30 18:54:52 -0700
commitecf53ab4f13b04aabe1ad7b47329fa7939047154 (patch)
tree4c5cbc8cb8295cdbe4294b992b2880929a9ccb9a
parentd958c1d8e0e0418bd7afd280ad9d4ec5fbec178c (diff)
downloadcrda-ecf53ab4f13b04aabe1ad7b47329fa7939047154.tar.gz
crda: rename isalpha_upper() to reglib_isalpha_upper()
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r--reglib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/reglib.h b/reglib.h
index 98aadcc..41827cd 100644
--- a/reglib.h
+++ b/reglib.h
@@ -38,7 +38,7 @@ static inline int reglib_is_world_regdom(const char *alpha2)
return 0;
}
-static inline int isalpha_upper(char letter)
+static inline int reglib_isalpha_upper(char letter)
{
if (letter >= 'A' && letter <= 'Z')
return 1;
@@ -47,7 +47,7 @@ static inline int isalpha_upper(char letter)
static inline int is_alpha2(const char *alpha2)
{
- if (isalpha_upper(alpha2[0]) && isalpha_upper(alpha2[1]))
+ if (reglib_isalpha_upper(alpha2[0]) && reglib_isalpha_upper(alpha2[1]))
return 1;
return 0;
}