libiberty: Expose choose_tmpdir, and fix constness of return type
commit511909233abf569ce814f7acf19d3c452ce55604
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Oct 2014 20:20:05 +0000 (15 20:20 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Oct 2014 20:20:05 +0000 (15 20:20 +0000)
tree0b95c0fc810d46f2993b7222ec997e2cc685e750
parent123c59a69d055634e38a03a49776537cff870118
libiberty: Expose choose_tmpdir, and fix constness of return type

include/ChangeLog:
* libiberty.h (choose_tmpdir): New prototype.

libiberty/ChangeLog:
* choose-temp.c (choose_tmpdir): Remove now-redundant local
copy of prototype.
* functions.texi: Regenerate.
* make-temp-file.c (choose_tmpdir): Convert return type from
char * to const char * - given that this returns a pointer to
a memoized allocation, the caller must not touch it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216285 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/choose-temp.c
libiberty/functions.texi
libiberty/make-temp-file.c