diff options
author | 2015-04-24 01:36:00 +0000 | |
---|---|---|
committer | 2015-04-24 01:36:00 +0000 | |
commit | e3b4f072510741cebbf90dcbdca1b00464b0e33c (patch) | |
tree | a66dbb091600eb0a92695b64d0e53d6e21c72901 /usr.bin/ssh/xmalloc.h | |
parent | Replace atoi() usage with strtonum(). OK deraadt@ (diff) | |
download | wireguard-openbsd-e3b4f072510741cebbf90dcbdca1b00464b0e33c.tar.xz wireguard-openbsd-e3b4f072510741cebbf90dcbdca1b00464b0e33c.zip |
rename xrealloc() to xreallocarray() since it follows that form.
ok djm
Diffstat (limited to 'usr.bin/ssh/xmalloc.h')
-rw-r--r-- | usr.bin/ssh/xmalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/xmalloc.h b/usr.bin/ssh/xmalloc.h index 261dfd612c8..2bec77ba8d3 100644 --- a/usr.bin/ssh/xmalloc.h +++ b/usr.bin/ssh/xmalloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xmalloc.h,v 1.14 2013/05/17 00:13:14 djm Exp $ */ +/* $OpenBSD: xmalloc.h,v 1.15 2015/04/24 01:36:01 deraadt Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -18,7 +18,7 @@ void *xmalloc(size_t); void *xcalloc(size_t, size_t); -void *xrealloc(void *, size_t, size_t); +void *xreallocarray(void *, size_t, size_t); char *xstrdup(const char *); int xasprintf(char **, const char *, ...) __attribute__((__format__ (printf, 2, 3))) |