summaryrefslogtreecommitdiff
path: root/reglib.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@frijolero.org>2012-01-18 18:03:11 -0800
committerLuis R. Rodriguez <mcgrof@frijolero.org>2012-01-18 18:03:11 -0800
commit1dce4105ee1723b23acd08cfdb9d428f5162efdb (patch)
tree4125c366169a730ade314f28dfff3a3473a3561d /reglib.c
parent63ff7a25357b2ab0ce89a46794f9ee4ff2c2508d (diff)
downloadcrda-1dce4105ee1723b23acd08cfdb9d428f5162efdb.tar.gz
crda-1dce4105ee1723b23acd08cfdb9d428f5162efdb.tar.bz2
crda-1dce4105ee1723b23acd08cfdb9d428f5162efdb.zip
crda: make country2rd() static
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Diffstat (limited to 'reglib.c')
-rw-r--r--reglib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/reglib.c b/reglib.c
index 759c676..3cb7f72 100644
--- a/reglib.c
+++ b/reglib.c
@@ -186,8 +186,9 @@ static void reg_rule2rd(uint8_t *db, int dblen,
}
/* Converts a file regdomain to ieee80211_regdomain, easier to manage */
-struct ieee80211_regdomain *country2rd(uint8_t *db, int dblen,
- struct regdb_file_reg_country *country)
+static struct ieee80211_regdomain *
+country2rd(uint8_t *db, int dblen,
+ struct regdb_file_reg_country *country)
{
struct regdb_file_reg_rules_collection *rcoll;
struct ieee80211_regdomain *rd;