From 5393488ecd55b65b03699e2f082b2fc583461989 Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 13 Feb 2008 21:48:03 +0000 Subject: usage never returns, and thus should be __dead. ok jasper@. --- calmwm.c | 4 ++-- calmwm.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/calmwm.c b/calmwm.c index 2ae813d..4a075fd 100644 --- a/calmwm.c +++ b/calmwm.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.c,v 1.9 2008/02/13 21:04:19 oga Exp $ + * $Id: calmwm.c,v 1.10 2008/02/13 21:48:03 oga Exp $ */ #include "headers.h" @@ -322,7 +322,7 @@ _sigchld_cb(int which) ; } -void +__dead void usage(void) { extern char *__progname; diff --git a/calmwm.h b/calmwm.h index 8446718..9318997 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.h,v 1.20 2008/02/13 21:04:19 oga Exp $ + * $Id: calmwm.h,v 1.21 2008/02/13 21:48:03 oga Exp $ */ #ifndef _CALMWM_H_ @@ -312,7 +312,7 @@ int x_errorhandler(Display *, XErrorEvent *); void x_setup(char *display_name); char *x_screenname(int); void x_setupscreen(struct screen_ctx *, u_int); -void usage(void); +__dead void usage(void); struct client_ctx *client_find(Window); void client_setup(void); -- cgit v1.2.3-2-gb3c3