diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-05-30 03:44:48 -0700 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-05-30 18:54:52 -0700 |
commit | 89fbf36fca8c09df83ff55b4278e1105a9170d2c (patch) | |
tree | 7fba77dcf630ab4e1434eaab9ac0d7927d40159b | |
parent | 1699b5275ea8f653c384d002185323263a37e213 (diff) | |
download | crda-89fbf36fca8c09df83ff55b4278e1105a9170d2c.tar.gz |
crda: rename print_regdom() to reglib_print_regdom()
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r-- | intersect.c | 2 | ||||
-rw-r--r-- | print-regdom.c | 2 | ||||
-rw-r--r-- | regdbdump.c | 2 | ||||
-rw-r--r-- | reglib.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/intersect.c b/intersect.c index 51479e4..22b3225 100644 --- a/intersect.c +++ b/intersect.c @@ -68,7 +68,7 @@ int main(int argc, char **argv) /* Tada! */ printf("== World regulatory domain: ==\n"); - print_regdom(rd_intsct); + reglib_print_regdom(rd_intsct); free(rd_intsct); return r; diff --git a/print-regdom.c b/print-regdom.c index abd6488..ab122db 100644 --- a/print-regdom.c +++ b/print-regdom.c @@ -70,7 +70,7 @@ static void print_reg_rule(const struct ieee80211_reg_rule *rule) printf("\n"); } -void print_regdom(const struct ieee80211_regdomain *rd) +void reglib_print_regdom(const struct ieee80211_regdomain *rd) { unsigned int i; printf("country %.2s: %s\n", rd->alpha2, diff --git a/regdbdump.c b/regdbdump.c index dcbed71..ea14730 100644 --- a/regdbdump.c +++ b/regdbdump.c @@ -13,7 +13,7 @@ int main(int argc, char **argv) } reglib_for_each_country(rd, idx, argv[1]) { - print_regdom(rd); + reglib_print_regdom(rd); free((struct ieee80211_regdomain *) rd); } @@ -85,7 +85,7 @@ const struct ieee80211_regdomain * reglib_get_rd_alpha2(const char *alpha2, const char *file); /* reg helpers */ -void print_regdom(const struct ieee80211_regdomain *rd); +void reglib_print_regdom(const struct ieee80211_regdomain *rd); struct ieee80211_regdomain * reglib_intersect_rds(const struct ieee80211_regdomain *rd1, const struct ieee80211_regdomain *rd2); |