summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-09 16:39:07 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-09 16:39:07 +0000
commitcde6032c2eab72c8e694a9c59ee241bfe7042526 (patch)
tree034e30810460b89de634d55617763a2cc2966919 /src/utils
parent8ac159bfe2f7c573d0f2fa59e6e989464ea6253c (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 'src/utils')
-rw-r--r--src/utils/ecore/makekeys.c10
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
44static int _parseline(const char *buf, char *key, long unsigned int *val, char *prefix); 44static int _parseline(const char *buf, char *key, long unsigned int *val, char *prefix);
45 45
46/* local variables */ 46/* local variables */
47static char tab[TBLNUM];
48static unsigned short offsets[TBLNUM];
49static unsigned short indexes[TBLNUM];
50static long unsigned int values[TBLNUM];
51static char buf[1024];
52static int ksnum = 0; 47static int ksnum = 0;
53 48
54int 49int
@@ -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 {