diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-09 16:39:07 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-09 16:39:07 +0000 |
commit | cde6032c2eab72c8e694a9c59ee241bfe7042526 (patch) | |
tree | 034e30810460b89de634d55617763a2cc2966919 /src/utils/ecore/makekeys.c | |
parent | 8ac159bfe2f7c573d0f2fa59e6e989464ea6253c (diff) |
efl/ecore_x: remove shadow warning from makekeys
the warning didn't exist because we were not using cflags, now we will.
all these variables are not used outside main(), so keep them local.
SVN revision: 82473
Diffstat (limited to '')
-rw-r--r-- | src/utils/ecore/makekeys.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils/ecore/makekeys.c b/src/utils/ecore/makekeys.c index a057fa2c65..5d8c979cf0 100644 --- a/src/utils/ecore/makekeys.c +++ b/src/utils/ecore/makekeys.c | |||
@@ -44,11 +44,6 @@ static struct _Info | |||
44 | static int _parseline(const char *buf, char *key, long unsigned int *val, char *prefix); | 44 | static int _parseline(const char *buf, char *key, long unsigned int *val, char *prefix); |
45 | 45 | ||
46 | /* local variables */ | 46 | /* local variables */ |
47 | static char tab[TBLNUM]; | ||
48 | static unsigned short offsets[TBLNUM]; | ||
49 | static unsigned short indexes[TBLNUM]; | ||
50 | static long unsigned int values[TBLNUM]; | ||
51 | static char buf[1024]; | ||
52 | static int ksnum = 0; | 47 | static int ksnum = 0; |
53 | 48 | ||
54 | int | 49 | int |
@@ -63,6 +58,11 @@ main(int argc, char **argv) | |||
63 | int best_max_rehash = 0, best_z = 0; | 58 | int best_max_rehash = 0, best_z = 0; |
64 | long unsigned int val; | 59 | long unsigned int val; |
65 | char key[128], prefix[128]; | 60 | char key[128], prefix[128]; |
61 | char tab[TBLNUM]; | ||
62 | unsigned short offsets[TBLNUM]; | ||
63 | unsigned short indexes[TBLNUM]; | ||
64 | long unsigned int values[TBLNUM]; | ||
65 | char buf[1024]; | ||
66 | 66 | ||
67 | for (l = 1; l < argc; l++) | 67 | for (l = 1; l < argc; l++) |
68 | { | 68 | { |