summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-11 17:47:57 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-11 17:47:57 +0100
commit3ecd85e71eeead169bbd2d69b7631f22a02afdc2 (patch)
tree65f39001a6b433a91c6c6cef7e1c0e4d57a8526f
parente0639b67ad369871c241b846b0f722ff80da9886 (diff)
elm_prefs: mark some local symbols static and align thus with their declaration
-rw-r--r--src/bin/elm_prefs_cc_parse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elm_prefs_cc_parse.c b/src/bin/elm_prefs_cc_parse.c
index 01c061fb4..5fda91eed 100644
--- a/src/bin/elm_prefs_cc_parse.c
+++ b/src/bin/elm_prefs_cc_parse.c
@@ -1059,7 +1059,7 @@ _alphai(char *s, int *val)
1059 return s; 1059 return s;
1060} 1060}
1061 1061
1062char * 1062static char *
1063_get_numi(char *s, int *val) 1063_get_numi(char *s, int *val)
1064{ 1064{
1065 char buf[4096]; 1065 char buf[4096];
@@ -1077,7 +1077,7 @@ _get_numi(char *s, int *val)
1077 return s + pos; 1077 return s + pos;
1078} 1078}
1079 1079
1080int 1080static int
1081_is_numi(char c) 1081_is_numi(char c)
1082{ 1082{
1083 if (((c >= '0') && (c <= '9')) || ('-' == c) || ('+' == c)) 1083 if (((c >= '0') && (c <= '9')) || ('-' == c) || ('+' == c))
@@ -1086,7 +1086,7 @@ _is_numi(char c)
1086 return 0; 1086 return 0;
1087} 1087}
1088 1088
1089int 1089static int
1090_is_op1i(char c) 1090_is_op1i(char c)
1091{ 1091{
1092 switch (c) 1092 switch (c)
@@ -1102,7 +1102,7 @@ _is_op1i(char c)
1102 return 0; 1102 return 0;
1103} 1103}
1104 1104
1105int 1105static int
1106_is_op2i(char c) 1106_is_op2i(char c)
1107{ 1107{
1108 switch (c) 1108 switch (c)
@@ -1116,7 +1116,7 @@ _is_op2i(char c)
1116 return 0; 1116 return 0;
1117} 1117}
1118 1118
1119int 1119static int
1120_calci(char op, int a, int b) 1120_calci(char op, int a, int b)
1121{ 1121{
1122 switch (op) 1122 switch (op)
@@ -1153,7 +1153,7 @@ _calci(char op, int a, int b)
1153 1153
1154/* float set of functoins */ 1154/* float set of functoins */
1155 1155
1156double 1156static double
1157my_atof(const char *s) 1157my_atof(const char *s)
1158{ 1158{
1159 double res = 0; 1159 double res = 0;