* libiberty.h: Remove #ifndef PRIVATE_XMALLOC.

This commit is contained in:
Fred Fish
1996-10-01 03:01:33 +00:00
parent 875c8d5cc8
commit 77f7bfd835
2 changed files with 32 additions and 2 deletions

View File

@ -21,9 +21,12 @@ extern char **buildargv PARAMS ((char *));
extern void freeargv PARAMS ((char **));
/* Return the last component of a path name. */
/* Return the last component of a path name. Note that we can't use a
prototype here because the parameter is declared inconsistently
across different systems, sometimes as "char *" and sometimes as
"const char *" */
extern char *basename PARAMS ((const char *));
extern char *basename ();
/* Concatenate an arbitrary number of strings, up to (char *) NULL.
Allocates memory using xmalloc. */
@ -38,6 +41,10 @@ extern int fdmatch PARAMS ((int fd1, int fd2));
extern long get_run_time PARAMS ((void));
/* Choose a temporary directory to use for scratch files. */
extern char *choose_temp_base PARAMS ((void));
/* Allocate memory filled with spaces. Allocates using malloc. */
extern const char *spaces PARAMS ((int count));
@ -56,6 +63,10 @@ extern const char *strerrno PARAMS ((int));
extern int strtoerrno PARAMS ((const char *));
/* ANSI's strerror(), but more robust. */
extern char *xstrerror PARAMS ((int));
/* Return the maximum signal number for which strsignal will return a
string. */
@ -111,6 +122,10 @@ extern PTR xmalloc ();
extern PTR xrealloc ();
/* Copy a string into a memory buffer without fail. */
extern char *xstrdup PARAMS ((const char *));
/* hex character manipulation routines */
#define _hex_array_size 256