merge from gcc

This commit is contained in:
DJ Delorie
2005-03-25 04:57:00 +00:00
parent 0f0595abd9
commit 2c18521373
2 changed files with 8 additions and 0 deletions

View File

@ -255,6 +255,10 @@ extern PTR xcalloc PARAMS ((size_t, size_t)) ATTRIBUTE_MALLOC;
extern char *xstrdup PARAMS ((const char *)) ATTRIBUTE_MALLOC;
/* Copy at most N characters from string into a buffer without fail. */
extern char *xstrndup PARAMS ((const char *, size_t)) ATTRIBUTE_MALLOC;
/* Copy an existing memory buffer to a new memory buffer without fail. */
extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC;