From: Dan Harkless Date: Fri, 16 Jul 1999 00:48:59 +0000 (+0000) Subject: Changed from returning void to returning int so that main()s who call done() at X-Git-Tag: nmh-1_0~170 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=13f32d980c37d425a846e59ea63949bd5c2572c3 Changed from returning void to returning int so that main()s who call done() at the end can instead return done() at the end to eliminate the compilation warning about falling off the end of a non-void function. --- diff --git a/sbr/done.c b/sbr/done.c index 02465ea..b5072a6 100644 --- a/sbr/done.c +++ b/sbr/done.c @@ -7,8 +7,9 @@ #include -void +int done (int status) { exit (status); + return 1; /* dead code to satisfy the compiler */ }