diff options
Diffstat (limited to 'xmalloc.h')
-rw-r--r-- | xmalloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); | |||
20 | void *xmalloc(size_t); | 20 | void *xmalloc(size_t); |
21 | void *xcalloc(size_t, size_t); | 21 | void *xcalloc(size_t, size_t); |
22 | void *xreallocarray(void *, size_t, size_t); | 22 | void *xreallocarray(void *, size_t, size_t); |
23 | void *xrecallocarray(void *, size_t, size_t, size_t); | ||
23 | char *xstrdup(const char *); | 24 | char *xstrdup(const char *); |
24 | int xasprintf(char **, const char *, ...) | 25 | int xasprintf(char **, const char *, ...) |
25 | __attribute__((__format__ (printf, 2, 3))) | 26 | __attribute__((__format__ (printf, 2, 3))) |