Return type of (*done)() changed to void. default_done() replaced by
[mmh] / sbr / done.c
index b5072a6..938fdb2 100644 (file)
@@ -3,13 +3,12 @@
  * done.c -- terminate the program
  *
  * $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
  */
 
 #include <h/mh.h>
 
-int
-done (int status)
-{
-    exit (status);
-    return 1;  /* dead code to satisfy the compiler */
-}
+void (*done) (int) = exit;