diff options
-rw-r--r-- | calmwm.c | 2 | ||||
-rw-r--r-- | calmwm.h | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/calmwm.c b/calmwm.c index 3ec4aba..e78b912 100644 --- a/calmwm.c +++ b/calmwm.c @@ -219,7 +219,7 @@ sigchld_cb(int which) errno = save_errno; } -__dead void +void usage(void) { extern char *__progname; diff --git a/calmwm.h b/calmwm.h index b68cc37..c2e0b90 100644 --- a/calmwm.h +++ b/calmwm.h @@ -21,13 +21,7 @@ #ifndef _CALMWM_H_ #define _CALMWM_H_ -/* ugly stuff */ -#ifndef TAILQ_END -#define TAILQ_END(head) NULL -#endif -#ifndef __dead -#define __dead -#endif +/* prototypes for portable-included functions */ char *fgetln(FILE *, size_t *); long long strtonum(const char *, long long, long long, const char **); size_t strlcpy(char *, const char *, size_t); @@ -379,7 +373,7 @@ enum { extern Atom cwmh[CWMH_NITEMS]; extern Atom ewmh[EWMH_NITEMS]; -__dead void usage(void); +void usage(void); void client_applysizehints(struct client_ctx *); void client_config(struct client_ctx *); |