(choose_tmpdir): Renamed from choose_temp_base.
authorDoug Evans <dje@gnu.org>
Wed, 17 Apr 1996 18:41:12 +0000 (18:41 +0000)
committerDoug Evans <dje@gnu.org>
Wed, 17 Apr 1996 18:41:12 +0000 (18:41 +0000)
#include <stdio.h>.

From-SVN: r11836

gcc/choose-temp.c

index 009147fbc414c94bdd5cbdeb53a33dcf8c27e5a5..73a741167b06174c208238c2e980ff53e25a4c94 100644 (file)
@@ -17,7 +17,7 @@ License along with libiberty; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-/* This file exports one function: choose_temp_base.  */
+/* This file exports one function: choose_tmpdir.  */
 
 #if ! defined (_WIN32) && ! defined (NO_SYS_FILE_H)
 #include <sys/file.h>   /* May get R_OK, etc. on some systems.  */
@@ -29,6 +29,8 @@ Boston, MA 02111-1307, USA.  */
 #define X_OK 1
 #endif
 
+#include <stdio.h>     /* May get P_tmpdir.  */
+
 #ifdef IN_GCC
 #include "config.h"
 #include "gansidecl.h"
@@ -85,7 +87,7 @@ try (dir, base)
    The buffer for the result is obtained with xmalloc.  */
 
 char *
-choose_temp_base ()
+choose_tmpdir ()
 {
   char *base = 0;
   char *temp_filename;