Permalink
Browse files

t: fix "mixed declarations and code" error

  • Loading branch information...
1 parent 6fc0151 commit c8e5ff49a49d6c686cab2e17f04cc6e04a4b476e @steveschnepp steveschnepp committed Jul 3, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/nb_env.c
View
@@ -24,10 +24,11 @@ int emit_config() {
}
int emit_fetch() {
+ char **cur_environ = environ;
+
printf("env_nb.value %d\n", count_env_nb());
printf("env_nb.ext_info ");
- char **cur_environ = environ;
while (*cur_environ) {
printf("{%s},", *cur_environ);
cur_environ ++;

0 comments on commit c8e5ff4

Please sign in to comment.