diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2015-04-24 01:36:00 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-04-29 18:15:23 +1000 |
commit | 657a5fbc0d0aff309079ff8fb386f17e964963c2 (patch) | |
tree | 942146a8381a12903fdfaec579b9ff2b2bf41406 /xmalloc.h | |
parent | 1108ae242fdd2c304307b68ddf46aebe43ebffaa (diff) |
upstream commit
rename xrealloc() to xreallocarray() since it follows
that form. ok djm
Diffstat (limited to 'xmalloc.h')
-rw-r--r-- | xmalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: xmalloc.h,v 1.14 2013/05/17 00:13:14 djm Exp $ */ | 1 | /* $OpenBSD: xmalloc.h,v 1.15 2015/04/24 01:36:01 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | void *xmalloc(size_t); | 19 | void *xmalloc(size_t); |
20 | void *xcalloc(size_t, size_t); | 20 | void *xcalloc(size_t, size_t); |
21 | void *xrealloc(void *, size_t, size_t); | 21 | void *xreallocarray(void *, size_t, size_t); |
22 | char *xstrdup(const char *); | 22 | char *xstrdup(const char *); |
23 | int xasprintf(char **, const char *, ...) | 23 | int xasprintf(char **, const char *, ...) |
24 | __attribute__((__format__ (printf, 2, 3))) | 24 | __attribute__((__format__ (printf, 2, 3))) |