From fbc8a95ef9827ca785d43f50b0f8c0a5e390c1dc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 4 May 2015 17:31:57 -0400 Subject: chardiff: make GCC warnings go away --- chardiff_post.c | 2 +- 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 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 int -main (int argc, char* argv[]) { +main () { int c; while ((c = getchar()) != EOF) { switch (c) { -- cgit v1.2.3-2-g168b