Commit 7581ddfb authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

tools/genramvhd: make inline functions static to always include them in the object file

parent 4e6a3eab
......@@ -42,12 +42,12 @@ void help()
}
/* We don't want localized versions from ctype.h */
static int my_isalpha(char c)
static inline int my_isalpha(char c)
{
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
}
static int my_isok(char c)
static inline int my_isok(char c)
{
return c == '_' || my_isalpha(c) || (c >= '0' && c <= '9');
}
......
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