merge from gcc

This commit is contained in:
DJ Delorie 2014-10-15 21:12:58 +00:00
parent 50e4b6d557
commit b23449bce1
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-10-15 David Malcolm <dmalcolm@redhat.com>
* libiberty.h (choose_tmpdir): New prototype.
2013-10-02 Mark Wielaard <mjw@redhat.com>
PR debug/63239

View File

@ -227,6 +227,11 @@ extern char *make_relative_prefix (const char *, const char *,
extern char *make_relative_prefix_ignore_links (const char *, const char *,
const char *) ATTRIBUTE_MALLOC;
/* Returns a pointer to a directory path suitable for creating temporary
files in. */
extern const char *choose_tmpdir (void) ATTRIBUTE_RETURNS_NONNULL;
/* Choose a temporary directory to use for scratch files. */
extern char *choose_temp_base (void) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;