diff options
author | DJ Delorie <dj@redhat.com> | 2014-10-15 21:12:58 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2014-10-15 21:12:58 +0000 |
commit | b23449bce18c689fe273d0e72c5ea9055ea434ab (patch) | |
tree | bff4b91a5bfcc385f3928c812e02c7a8a828055f | |
parent | 50e4b6d55770e59d6e842006b1e8d6c70a4fdc62 (diff) | |
download | newlib-b23449bce18c689fe273d0e72c5ea9055ea434ab.zip newlib-b23449bce18c689fe273d0e72c5ea9055ea434ab.tar.gz newlib-b23449bce18c689fe273d0e72c5ea9055ea434ab.tar.bz2 |
merge from gcc
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 2a83e1b..1d3021d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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 diff --git a/include/libiberty.h b/include/libiberty.h index bcc1f9a..d09c9a5 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -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; |