X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fdone.c;h=e4efff3a0afa02578e07326b71fa3236a5889521;hb=337338b404931f06f0db2119c9e145e8ca5a9860;hp=bcc258ccf104cdc136b6ab00ec0d53113a81c61c;hpb=56a805299de35d8924969138aef4d0f1580daa6d;p=mmh diff --git a/sbr/done.c b/sbr/done.c index bcc258c..e4efff3 100644 --- a/sbr/done.c +++ b/sbr/done.c @@ -1,9 +1,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 +8,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;