elm_prefs: mark some local symbols static and align thus with their declaration

This commit is contained in:
Stefan Schmidt 2015-11-11 17:47:57 +01:00
parent 0ea4c7b13c
commit 3580978391
1 changed files with 6 additions and 6 deletions

View File

@ -1059,7 +1059,7 @@ _alphai(char *s, int *val)
return s;
}
char *
static char *
_get_numi(char *s, int *val)
{
char buf[4096];
@ -1077,7 +1077,7 @@ _get_numi(char *s, int *val)
return s + pos;
}
int
static int
_is_numi(char c)
{
if (((c >= '0') && (c <= '9')) || ('-' == c) || ('+' == c))
@ -1086,7 +1086,7 @@ _is_numi(char c)
return 0;
}
int
static int
_is_op1i(char c)
{
switch (c)
@ -1102,7 +1102,7 @@ _is_op1i(char c)
return 0;
}
int
static int
_is_op2i(char c)
{
switch (c)
@ -1116,7 +1116,7 @@ _is_op2i(char c)
return 0;
}
int
static int
_calci(char op, int a, int b)
{
switch (op)
@ -1153,7 +1153,7 @@ _calci(char op, int a, int b)
/* float set of functoins */
double
static double
my_atof(const char *s)
{
double res = 0;