Skip to content

Commit

Permalink
Solves a gcc warning for 'static' after 'const'.
Browse files Browse the repository at this point in the history
json.c:192:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
 const static long
  ^
  • Loading branch information
batrick committed Nov 6, 2013
1 parent 7152c52 commit 49912fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json.c
Expand Up @@ -189,7 +189,7 @@ static int new_value
#define string_add(b) \
do { if (!state.first_pass) string [string_length] = b; ++ string_length; } while (0);

const static long
static const long
flag_next = 1 << 0,
flag_reproc = 1 << 1,
flag_need_comma = 1 << 2,
Expand Down

0 comments on commit 49912fa

Please sign in to comment.