Commit f159dff2 authored by Cesar Prados's avatar Cesar Prados Committed by Alessandro Rubini

tools: trivial: change of function declarations

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