summaryrefslogtreecommitdiff
path: root/extra/config/lkc.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:19:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:19:00 +0000
commitf1775381f91f1250b20f1949dfd0364ddb0ee9fc (patch)
tree1326bd7f4dfd8c57f89c4d6b2f13d4f22f578abf /extra/config/lkc.h
parentd35b0bc119816825a657f7c9c2a1f062e7048c39 (diff)
- fix inline keyword
Diffstat (limited to 'extra/config/lkc.h')
-rw-r--r--extra/config/lkc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/extra/config/lkc.h b/extra/config/lkc.h
index 4bc68f20a..c55c2fbd7 100644
--- a/extra/config/lkc.h
+++ b/extra/config/lkc.h
@@ -116,38 +116,38 @@ struct property *prop_alloc(enum prop_type type, struct symbol *sym);
struct symbol *prop_get_symbol(struct property *prop);
struct property *sym_get_env_prop(struct symbol *sym);
-static inline tristate sym_get_tristate_value(struct symbol *sym)
+static __inline__ tristate sym_get_tristate_value(struct symbol *sym)
{
return sym->curr.tri;
}
-static inline struct symbol *sym_get_choice_value(struct symbol *sym)
+static __inline__ struct symbol *sym_get_choice_value(struct symbol *sym)
{
return (struct symbol *)sym->curr.val;
}
-static inline bool sym_set_choice_value(struct symbol *ch, struct symbol *chval)
+static __inline__ bool sym_set_choice_value(struct symbol *ch, struct symbol *chval)
{
return sym_set_tristate_value(chval, yes);
}
-static inline bool sym_is_choice(struct symbol *sym)
+static __inline__ bool sym_is_choice(struct symbol *sym)
{
return sym->flags & SYMBOL_CHOICE ? true : false;
}
-static inline bool sym_is_choice_value(struct symbol *sym)
+static __inline__ bool sym_is_choice_value(struct symbol *sym)
{
return sym->flags & SYMBOL_CHOICEVAL ? true : false;
}
-static inline bool sym_is_optional(struct symbol *sym)
+static __inline__ bool sym_is_optional(struct symbol *sym)
{
return sym->flags & SYMBOL_OPTIONAL ? true : false;
}
-static inline bool sym_has_value(struct symbol *sym)
+static __inline__ bool sym_has_value(struct symbol *sym)
{
return sym->flags & SYMBOL_DEF_USER ? true : false;
}