mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
remove TAILQ_END and __dead hacks
This commit is contained in:
parent
8ddc90665e
commit
96af45583a
2
calmwm.c
2
calmwm.c
@ -219,7 +219,7 @@ sigchld_cb(int which)
|
|||||||
errno = save_errno;
|
errno = save_errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
__dead void
|
void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
extern char *__progname;
|
extern char *__progname;
|
||||||
|
10
calmwm.h
10
calmwm.h
@ -21,13 +21,7 @@
|
|||||||
#ifndef _CALMWM_H_
|
#ifndef _CALMWM_H_
|
||||||
#define _CALMWM_H_
|
#define _CALMWM_H_
|
||||||
|
|
||||||
/* ugly stuff */
|
/* prototypes for portable-included functions */
|
||||||
#ifndef TAILQ_END
|
|
||||||
#define TAILQ_END(head) NULL
|
|
||||||
#endif
|
|
||||||
#ifndef __dead
|
|
||||||
#define __dead
|
|
||||||
#endif
|
|
||||||
char *fgetln(FILE *, size_t *);
|
char *fgetln(FILE *, size_t *);
|
||||||
long long strtonum(const char *, long long, long long, const char **);
|
long long strtonum(const char *, long long, long long, const char **);
|
||||||
size_t strlcpy(char *, const char *, size_t);
|
size_t strlcpy(char *, const char *, size_t);
|
||||||
@ -379,7 +373,7 @@ enum {
|
|||||||
extern Atom cwmh[CWMH_NITEMS];
|
extern Atom cwmh[CWMH_NITEMS];
|
||||||
extern Atom ewmh[EWMH_NITEMS];
|
extern Atom ewmh[EWMH_NITEMS];
|
||||||
|
|
||||||
__dead void usage(void);
|
void usage(void);
|
||||||
|
|
||||||
void client_applysizehints(struct client_ctx *);
|
void client_applysizehints(struct client_ctx *);
|
||||||
void client_config(struct client_ctx *);
|
void client_config(struct client_ctx *);
|
||||||
|
Loading…
Reference in New Issue
Block a user