aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga2008-02-13 21:48:03 +0000
committeroga2008-02-13 21:48:03 +0000
commit5393488ecd55b65b03699e2f082b2fc583461989 (patch)
tree8128bfdac22070b4f5baa8dfb43bf63851ebcad1
parentcf4822fb8f31ac4f586d1ccd678696502a9a05b5 (diff)
downloadcwm-5393488ecd55b65b03699e2f082b2fc583461989.tar.gz
usage never returns, and thus should be __dead.
ok jasper@.
Diffstat (limited to '')
-rw-r--r--calmwm.c4
-rw-r--r--calmwm.h4
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);