summaryrefslogtreecommitdiff
path: root/reglib.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-12-01 12:11:15 +0100
committerLuis R. Rodriguez <lrodriguez@atheros.com>2008-12-01 14:33:09 -0800
commitd1a650e58c48c045d2eb387ec1d6d31c2e931622 (patch)
treeff0a6fc93afffc2e762df6f78b6a047ed67d33ec /reglib.c
parent1c351281d37c7f13235c0c8da902c11ef3dd7e0a (diff)
downloadcrda-d1a650e58c48c045d2eb387ec1d6d31c2e931622.tar.gz
crda-d1a650e58c48c045d2eb387ec1d6d31c2e931622.tar.bz2
crda-d1a650e58c48c045d2eb387ec1d6d31c2e931622.zip
Mark functions static when not used outside their translation unit.
Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Diffstat (limited to 'reglib.c')
-rw-r--r--reglib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/reglib.c b/reglib.c
index e6b9b3f..c173818 100644
--- a/reglib.c
+++ b/reglib.c
@@ -133,7 +133,7 @@ out:
#endif
}
-void reg_rule2rd(__u8 *db, int dblen,
+static void reg_rule2rd(__u8 *db, int dblen,
__be32 ruleptr, struct ieee80211_reg_rule *rd_reg_rule)
{
struct regdb_file_reg_rule *rule;
@@ -214,7 +214,7 @@ int is_valid_reg_rule(const struct ieee80211_reg_rule *rule)
return 1;
}
-void print_reg_rule(struct ieee80211_reg_rule *rule)
+static void print_reg_rule(struct ieee80211_reg_rule *rule)
{
struct ieee80211_freq_range *freq;
struct ieee80211_power_rule *power;