aboutsummaryrefslogtreecommitdiff
path: root/libiberty/make-temp-file.c
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@getslash.de>2014-11-17 03:30:13 +0100
committerJan-Benedict Glaw <jbglaw@getslash.de>2014-11-17 03:30:13 +0100
commitabdef8eb901ce829fdc9fbe7eb89c8327c262f07 (patch)
tree941a2df064c75d5779290bc39f784dbedf084060 /libiberty/make-temp-file.c
parent41c7760520c02124d2d3d0b8ad12e2186ba48f46 (diff)
downloadgdb-abdef8eb901ce829fdc9fbe7eb89c8327c262f07.zip
gdb-abdef8eb901ce829fdc9fbe7eb89c8327c262f07.tar.gz
gdb-abdef8eb901ce829fdc9fbe7eb89c8327c262f07.tar.bz2
Sync libiberty from GCC
Diffstat (limited to 'libiberty/make-temp-file.c')
-rw-r--r--libiberty/make-temp-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/make-temp-file.c b/libiberty/make-temp-file.c
index 7b74f81..244cc23 100644
--- a/libiberty/make-temp-file.c
+++ b/libiberty/make-temp-file.c
@@ -93,7 +93,7 @@ static char *memoized_tmpdir;
/*
-@deftypefn Replacement char* choose_tmpdir ()
+@deftypefn Replacement const char* choose_tmpdir ()
Returns a pointer to a directory path suitable for creating temporary
files in.
@@ -102,7 +102,7 @@ files in.
*/
-char *
+const char *
choose_tmpdir (void)
{
if (!memoized_tmpdir)