* defs.h (msavestring, mstrsave): Remove prototypes.

* utils.c (msavestring, mstrsave): Remove functions.
* objfiles.c (allocate_objfile): Use xstrdup instead of mstrsave.
* solib-sunos.c (allocate_rt_common_objfile): Use xstrdup instead
of mstrsave.
* source.c (find_and_open_source): Use xstrdup instead of
mstrsave.
This commit is contained in:
Mark Kettenis
2004-09-30 19:57:54 +00:00
parent db8acf26ca
commit 982526a134
6 changed files with 14 additions and 23 deletions

View File

@ -852,10 +852,6 @@ extern int longest_to_int (LONGEST);
extern char *savestring (const char *, size_t);
extern char *msavestring (void *, const char *, size_t);
extern char *mstrsave (void *, const char *);
/* xmalloc(), xrealloc() and xcalloc() have already been declared in
"libiberty.h". */
extern void xfree (void *);