aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index b70a852..c9e21ce 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * libiberty.h (make_temp_file): Add a prototype.
+
Tue Sep 14 00:35:02 1999 Marc Espie <espie@cvs.openbsd.org>
* libiberty.h (basename): OpenBSD has a correct prototype.
diff --git a/include/libiberty.h b/include/libiberty.h
index 6832c7e..9a32840 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -64,6 +64,10 @@ extern long get_run_time PARAMS ((void));
extern char *choose_temp_base PARAMS ((void));
+/* Return a temporary file name or NULL if unable to create one. */
+
+extern char *make_temp_file PARAMS ((const char *));
+
/* Allocate memory filled with spaces. Allocates using malloc. */
extern const char *spaces PARAMS ((int count));