aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-25 13:11:17 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-25 13:11:17 +0000
commit5a657fc371aefb7648ad42cc9db9187032a80809 (patch)
tree4c4f3626796f07f5c60165bd980cdfefe79f889c /gcc
parentb8694195959cd668ef6202158414f7fc648d8132 (diff)
downloadgcc-5a657fc371aefb7648ad42cc9db9187032a80809.zip
gcc-5a657fc371aefb7648ad42cc9db9187032a80809.tar.gz
gcc-5a657fc371aefb7648ad42cc9db9187032a80809.tar.bz2
libiberty.h (make_temp_file): Add a prototype.
include: * libiberty.h (make_temp_file): Add a prototype. libiberty: * choose-temp.c: Remove obsolete comment about gcc. (make_temp_file): Constify a char*. gcc: * collect2.c (make_temp_file): Don't prototype. * gcc.c (make_temp_file): Likewise. * mips.c (mips_make_temp_file): Renamed from `make_temp_file'. From-SVN: r29662
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/collect2.c2
-rw-r--r--gcc/config/mips/mips.c6
-rw-r--r--gcc/gcc.c2
4 files changed, 11 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 837e7c3..258efbb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * collect2.c (make_temp_file): Don't prototype.
+
+ * gcc.c (make_temp_file): Likewise.
+
+ * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
+
Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
* varasm.c (asm_emit_uninitialised): New function: Generate
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 4e61a0d..2e3d3b1 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -52,8 +52,6 @@ Boston, MA 02111-1307, USA. */
/* Obstack allocation and deallocation routines. */
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
-
-extern char *make_temp_file PROTO ((const char *));
/* On certain systems, we have code that works by scanning the object file
directly. But this code uses system-specific header files and library
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 6712d17..f24452b 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -93,7 +93,7 @@ static int m16_check_op PROTO ((rtx, int, int, int));
static void block_move_loop PROTO ((rtx, rtx, int, int,
rtx, rtx));
static void block_move_call PROTO ((rtx, rtx, rtx));
-static FILE *make_temp_file PROTO ((void));
+static FILE *mips_make_temp_file PROTO ((void));
static void save_restore_insns PROTO ((int, rtx,
long, FILE *));
static void mips16_output_gp_offset PROTO ((FILE *, rtx));
@@ -5378,7 +5378,7 @@ mips_output_external_libcall (file, name)
#endif
static FILE *
-make_temp_file ()
+mips_make_temp_file ()
{
FILE *stream;
const char *base = getenv ("TMPDIR");
@@ -5597,7 +5597,7 @@ mips_asm_file_start (stream)
if (TARGET_FILE_SWITCHING && ! TARGET_MIPS16)
{
asm_out_data_file = stream;
- asm_out_text_file = make_temp_file ();
+ asm_out_text_file = mips_make_temp_file ();
}
else
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 343811f..465f522 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1282,8 +1282,6 @@ static int argbuf_index;
#ifdef MKTEMP_EACH_FILE
-extern char *make_temp_file PROTO((const char *));
-
/* This is the list of suffixes and codes (%g/%u/%U) and the associated
temp file. */