summaryrefslogtreecommitdiff
path: root/xmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.h')
-rw-r--r--xmalloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmalloc.h b/xmalloc.h
index e49928932..cf38ddfa4 100644
--- a/xmalloc.h
+++ b/xmalloc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: xmalloc.h,v 1.16 2016/02/15 09:47:49 dtucker Exp $ */ 1/* $OpenBSD: xmalloc.h,v 1.17 2017/05/31 09:15:42 deraadt Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -20,6 +20,7 @@ void ssh_malloc_init(void);
20void *xmalloc(size_t); 20void *xmalloc(size_t);
21void *xcalloc(size_t, size_t); 21void *xcalloc(size_t, size_t);
22void *xreallocarray(void *, size_t, size_t); 22void *xreallocarray(void *, size_t, size_t);
23void *xrecallocarray(void *, size_t, size_t, size_t);
23char *xstrdup(const char *); 24char *xstrdup(const char *);
24int xasprintf(char **, const char *, ...) 25int xasprintf(char **, const char *, ...)
25 __attribute__((__format__ (printf, 2, 3))) 26 __attribute__((__format__ (printf, 2, 3)))