From 42f95d63c2cdefffd471f76e6c64af7e4872ba24 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 2 Jan 1997 06:59:56 +0000 Subject: [PATCH] (main): Return FAILURE as a value. (printable_version): Declare arg as int, not char. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index d14b6c46..3ef6683e 100644 --- a/src/main.c +++ b/src/main.c @@ -90,6 +90,7 @@ main(argc, argv) /* output the tables and the parser to ftable. In file output. */ output(); done(failure); + return failure; } /* functions to report errors which prevent a parser from being generated */ @@ -100,7 +101,7 @@ main(argc, argv) char * printable_version(c) - char c; + int c; { static char buf[10]; if (c < ' ' || c >= '\177') -- 2.49.0