Skip to content

Commit

Permalink
Fix C99-related compilation errors.
Browse files Browse the repository at this point in the history
Fixed by fixing C-file syntax instead of fixing compiler options, since merely adding new compiler
options fixes the build, but produces new warnings.
  • Loading branch information
josteink committed Jan 26, 2013
1 parent fb95f91 commit 52c284f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/drip_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ int main(int argc, char **argv) {
spit_int("status", status);
} else {
fprintf(stderr, "java process exited prematurely with status %d: ", status);
for (int i=1; i < argc; i++) {
int i;
for (i=1; i < argc; i++) {
fprintf(stderr, "%s ", argv[i]);
}
fprintf(stderr, "\n");
Expand Down

0 comments on commit 52c284f

Please sign in to comment.