Commit 66599806 by Jeff Garzik Committed by Jeff Law

* libiberty.h (xmemdup): Add prototype for new function.

From-SVN: r29200
parent b10647f1
1999-09-07 Jeff Garzik <jgarzik@pobox.com>
* libiberty.h (xmemdup): Add prototype for new function.
1999-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1999-09-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* obstack.h (obstack_grow, obstack_grow0): Move (char*) casts * obstack.h (obstack_grow, obstack_grow0): Move (char*) casts
......
...@@ -149,6 +149,10 @@ extern PTR xcalloc PARAMS ((size_t, size_t)); ...@@ -149,6 +149,10 @@ extern PTR xcalloc PARAMS ((size_t, size_t));
extern char *xstrdup PARAMS ((const char *)); extern char *xstrdup PARAMS ((const char *));
/* Copy an existing memory buffer to a new memory buffer without fail. */
extern PTR xmemdup PARAMS ((const PTR, size_t, size_t));
/* hex character manipulation routines */ /* hex character manipulation routines */
#define _hex_array_size 256 #define _hex_array_size 256
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment