]> diplodocus.org Git - nmh/blobdiff - sbr/done.c
new.c: Order two return statements to match comment.
[nmh] / sbr / done.c
index cf2e3080ad668a39c81b1a546536fccad72e13b4..c703aba5b654e42983cf987b1c310b544bc935a6 100644 (file)
@@ -1,8 +1,4 @@
-
-/*
- * done.c -- terminate the program
- *
- * $Id$
+/* done.c -- terminate the program
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -11,9 +7,4 @@
 
 #include <h/mh.h>
 
-int
-done (int status)
-{
-    exit (status);
-    return 1;  /* dead code to satisfy the compiler */
-}
+void (*done) (int) NORETURN = exit;