Commit d1a650e5 authored by Diego 'Flameeyes' Pettenò's avatar Diego 'Flameeyes' Pettenò Committed by Luis R. Rodriguez

Mark functions static when not used outside their translation unit.

Signed-off-by: 's avatarDiego E. 'Flameeyes' Pettenò <>
Signed-off-by: 's avatarLuis R. Rodriguez <>
parent 1c351281
......@@ -75,7 +75,7 @@ static int reg_rules_intersect(
* resulting intersection of rules between rd1 and rd2. We will
* malloc() this structure for you.
struct ieee80211_regdomain *regdom_intersect(
static struct ieee80211_regdomain *regdom_intersect(
struct ieee80211_regdomain *rd1,
struct ieee80211_regdomain *rd2)
......@@ -133,7 +133,7 @@ out:
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;
......@@ -88,14 +88,11 @@ void *crda_get_file_ptr(__u8 *db, int dblen, int structlen, __be32 ptr);
int crda_verify_db_signature(__u8 *db, int dblen, int siglen);
/* File reg db entry -> rd converstion utilities */
void reg_rule2rd(__u8 *db, int dblen,
__be32 ruleptr, struct ieee80211_reg_rule *rd_reg_rule);
struct ieee80211_regdomain *country2rd(__u8 *db, int dblen,
struct regdb_file_reg_country *country);
/* reg helpers */
int is_valid_reg_rule(const struct ieee80211_reg_rule *rule);
void print_reg_rule(struct ieee80211_reg_rule *rule);
void print_regdom(struct ieee80211_regdomain *rd);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment