diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 1bdcb63..d93e55f 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -947,6 +947,12 @@ xmalloc (size_t size) return (val); } +void * +xzalloc (size_t size) +{ + return xcalloc (1, size); +} + PTR /* OK: PTR */ xrealloc (PTR ptr, size_t size) /* OK: PTR */ { |