X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fdone.c;h=05bcf524a09d64652f780b80d8eb09a41215216b;hb=a4e085dcc682da556af59d8b2c8a0afe44c6f257;hp=bcc258ccf104cdc136b6ab00ec0d53113a81c61c;hpb=56a805299de35d8924969138aef4d0f1580daa6d;p=mmh diff --git a/sbr/done.c b/sbr/done.c index bcc258c..05bcf52 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;