X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fdone.c;h=3545d1088f3cabb5bbdfa5af57fe96f55d323766;hp=bcc258ccf104cdc136b6ab00ec0d53113a81c61c;hb=865335e03bab5e0ceb47a4d20564c3afb3de30c4;hpb=56a805299de35d8924969138aef4d0f1580daa6d diff --git a/sbr/done.c b/sbr/done.c index bcc258c..3545d10 100644 --- a/sbr/done.c +++ b/sbr/done.c @@ -1,21 +1,11 @@ - /* - * 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. - */ +** 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 +** complete copyright information. +*/ #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;