diff options
author | okan <okan> | 2009-06-20 00:22:39 +0000 |
---|---|---|
committer | okan <okan> | 2009-06-20 00:22:39 +0000 |
commit | 58d12134b1679a9172a7131abffc27769780b9c5 (patch) | |
tree | ffd2aa13b869b39db64f2a18488c87bfc2aa9882 /calmwm.h | |
parent | 18c7d89c985cda7a9a5fa7de7c13ae177509380b (diff) | |
download | cwm-58d12134b1679a9172a7131abffc27769780b9c5.tar.gz cwm-58d12134b1679a9172a7131abffc27769780b9c5.tar.xz cwm-58d12134b1679a9172a7131abffc27769780b9c5.zip |
unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the
place anyway, this makes things a bit more consistent; from Thomas Pfaff ok oga@
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h index c796058..58ed382 100644 --- a/calmwm.h +++ b/calmwm.h @@ -395,9 +395,6 @@ void *xmalloc(size_t); void *xcalloc(size_t, size_t); char *xstrdup(const char *); -#define XMALLOC(p, t) ((p) = (t *)xmalloc(sizeof * (p))) -#define XCALLOC(p, t) ((p) = (t *)xcalloc(1, sizeof * (p))) - struct screen_ctx *screen_fromroot(Window); struct screen_ctx *screen_current(void); void screen_updatestackingorder(void); |