summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2015-03-28 23:12:47 +0000
committerokan <okan>2015-03-28 23:12:47 +0000
commita4a414b68bf8a59255ee68959863f4c5fdee85d9 (patch)
treec612ebec85e5022479b6888b1ada2c5ad17c8eac /calmwm.h
parent0bbe0ad98c7b8ed5d081747ee3bdb2dbf7a1b848 (diff)
downloadcwm-a4a414b68bf8a59255ee68959863f4c5fdee85d9.tar.gz
cwm-a4a414b68bf8a59255ee68959863f4c5fdee85d9.tar.xz
cwm-a4a414b68bf8a59255ee68959863f4c5fdee85d9.zip
Introduce a xreallocarray and convert a few xcalloc instances that do
not require zero'ing.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 1d1cbe5..fd4b554 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -559,6 +559,7 @@ void			 u_spawn(char *);
 
 void			*xcalloc(size_t, size_t);
 void			*xmalloc(size_t);
+void			*xreallocarray(void *, size_t, size_t);
 char			*xstrdup(const char *);
 int			 xasprintf(char **, const char *, ...)
 			    __attribute__((__format__ (printf, 2, 3)))