A pending item in my tree I might as well check in: I plan to migrate calloc()

and bb_calloc() calls to bb_xzalloc() which allocates prezeroed memory but
only takes one argument (the size).
This commit is contained in:
Rob Landley committed 2006-05-19 20:36:49 +00:00
1 parent b1629b1b2a
commit 80b8ff07ca
2 files changed
+10

No files matched your search

+1
View File
@@ -183,6 +183,7 @@ void run_applet_by_name(const char *name, int argc, char **argv);
* to have the prototypes here unconditionally. */
extern void *xmalloc(size_t size);
extern void *xrealloc(void *old, size_t size);
extern void *xzalloc(size_t size);
extern void *xcalloc(size_t nmemb, size_t size);
extern char *bb_xstrdup (const char *s);