usage never returns, and thus should be __dead.

ok jasper@.
This commit is contained in:
oga 2008-02-13 21:48:03 +00:00
parent 6c3c2731b5
commit 5683e22512
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);