diff options
author | okan | 2015-03-28 23:12:47 +0000 |
---|---|---|
committer | okan | 2015-03-28 23:12:47 +0000 |
commit | 9bb42946a8791addade91b9e9379f94b144429f7 (patch) | |
tree | b25fc6d5b689346d70e6ed6da0e53631bfbba475 /calmwm.h | |
parent | bb5e4d99f201e4ec5894c69664775998925ad2d0 (diff) | |
download | cwm-9bb42946a8791addade91b9e9379f94b144429f7.tar.gz |
Introduce a xreallocarray and convert a few xcalloc instances that do
not require zero'ing.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. * - * $OpenBSD: calmwm.h,v 1.285 2015/03/26 21:41:43 okan Exp $ + * $OpenBSD: calmwm.h,v 1.286 2015/03/28 23:12:47 okan Exp $ */ #ifndef _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))) |