X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/56a805299de35d8924969138aef4d0f1580daa6d..5d0a239fc3496d71ec0e89da317b68f76fc777a2:/sbr/done.c?ds=inline diff --git a/sbr/done.c b/sbr/done.c index bcc258cc..05bcf524 100644 --- a/sbr/done.c +++ b/sbr/done.c @@ -2,8 +2,6 @@ /* * 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. @@ -11,11 +9,4 @@ #include -int (*done) (int) = default_done; - -int -default_done (int status) -{ - exit (status); - return 1; /* dead code to satisfy the compiler */ -} +void (*done) (int) NORETURN = exit;