diff options
author | oga | 2008-02-13 21:48:03 +0000 |
---|---|---|
committer | oga | 2008-02-13 21:48:03 +0000 |
commit | 5393488ecd55b65b03699e2f082b2fc583461989 (patch) | |
tree | 8128bfdac22070b4f5baa8dfb43bf63851ebcad1 | |
parent | cf4822fb8f31ac4f586d1ccd678696502a9a05b5 (diff) | |
download | cwm-5393488ecd55b65b03699e2f082b2fc583461989.tar.gz |
usage never returns, and thus should be __dead.
ok jasper@.
Diffstat (limited to '')
-rw-r--r-- | calmwm.c | 4 | ||||
-rw-r--r-- | calmwm.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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; @@ -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); |