diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-05-04 17:31:57 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-05-04 17:34:30 -0400 |
commit | fbc8a95ef9827ca785d43f50b0f8c0a5e390c1dc (patch) | |
tree | 432e27af39c5a445e7836abf71b70990c26f1443 | |
parent | 6bd021cecd013fe92dbd0fe3a19b8f82c99bcd9c (diff) |
chardiff: make GCC warnings go away
-rw-r--r-- | chardiff_post.c | 2 | ||||
-rw-r--r-- | chardiff_pre.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chardiff_post.c b/chardiff_post.c index 54679ed..98329bd 100644 --- a/chardiff_post.c +++ b/chardiff_post.c @@ -2,7 +2,7 @@ #include <stdio.h> int -main (int argc, char* argv[]) { +main () { int c; while ((c = getchar()) != EOF) { if (c=='\\') { diff --git a/chardiff_pre.c b/chardiff_pre.c index 2be38f5..b06b954 100644 --- a/chardiff_pre.c +++ b/chardiff_pre.c @@ -2,7 +2,7 @@ #include <stdio.h> int -main (int argc, char* argv[]) { +main () { int c; while ((c = getchar()) != EOF) { switch (c) { |