Changed from returning void to returning int so that main()s who call done() at
authorDan Harkless <dan@harkless.org>
Fri, 16 Jul 1999 00:48:59 +0000 (00:48 +0000)
committerDan Harkless <dan@harkless.org>
Fri, 16 Jul 1999 00:48:59 +0000 (00:48 +0000)
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

index 02465ea..b5072a6 100644 (file)
@@ -7,8 +7,9 @@
 
 #include <h/mh.h>
 
-void
+int
 done (int status)
 {
     exit (status);
+    return 1;  /* dead code to satisfy the compiler */
 }