From 9bb42946a8791addade91b9e9379f94b144429f7 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 28 Mar 2015 23:12:47 +0000 Subject: Introduce a xreallocarray and convert a few xcalloc instances that do not require zero'ing. --- calmwm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 03783cd..748db69 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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))) -- cgit v1.2.3-2-gb3c3