From 13f32d980c37d425a846e59ea63949bd5c2572c3 Mon Sep 17 00:00:00 2001 From: Dan Harkless Date: Fri, 16 Jul 1999 00:48:59 +0000 Subject: [PATCH] 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. --- sbr/done.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ } -- 1.7.10.4