diff options
author | 2008-12-30 12:58:08 +0000 | |
---|---|---|
committer | 2008-12-30 12:58:08 +0000 | |
commit | ea8b43c829ae878fee075c43dde3c12e72967e30 (patch) | |
tree | 49b4e0176874ba26b4493615501a2b6cef8d9c81 /xfuncs.h | |
parent | mark local state vars as static and drop unused ones (diff) | |
download | pax-utils-ea8b43c829ae878fee075c43dde3c12e72967e30.tar.gz pax-utils-ea8b43c829ae878fee075c43dde3c12e72967e30.tar.bz2 pax-utils-ea8b43c829ae878fee075c43dde3c12e72967e30.zip |
declare xzalloc()
Diffstat (limited to 'xfuncs.h')
-rw-r--r-- | xfuncs.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2003-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/xfuncs.h,v 1.1 2007/08/25 02:30:55 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/xfuncs.h,v 1.2 2008/12/30 12:58:08 vapier Exp $ * * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org> * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org> @@ -12,6 +12,7 @@ char *xstrdup(const char *s); void *xmalloc(size_t size); +void *xzalloc(size_t size); void *xrealloc(void *ptr, size_t size); void xstrncat(char **dst, const char *src, size_t *curr_len, size_t n); #define xstrcat(dst,src,curr_len) xstrncat(dst,src,curr_len,0) |