Sync libiberty sources with GCC.
[deliverable/binutils-gdb.git] / libiberty / make-temp-file.c
index 7b74f8179b101e9c37c6bb8683b3cc588ed1fc27..98e215d15e79b666d99ce75316b723f2786c166b 100644 (file)
@@ -1,6 +1,5 @@
 /* Utility to pick a temporary filename prefix.
-   Copyright (C) 1996, 1997, 1998, 2001, 2009, 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 1996-2017 Free Software Foundation, Inc.
 
 This file is part of the libiberty library.
 Libiberty is free software; you can redistribute it and/or
@@ -93,7 +92,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 +101,7 @@ files in.
 
 */
 
-char *
+const char *
 choose_tmpdir (void)
 {
   if (!memoized_tmpdir)
This page took 0.02398 seconds and 4 git commands to generate.