summaryrefslogtreecommitdiff
path: root/libiberty
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 /libiberty
parentb8694195959cd668ef6202158414f7fc648d8132 (diff)
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 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/choose-temp.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index de9309ccb7c..6b6a6434b9f 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * choose-temp.c: Remove obsolete comment about gcc.
+ (make_temp_file): Constify a char*.
+
Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* xmemdup.c: Include sys/types.h.
diff --git a/libiberty/choose-temp.c b/libiberty/choose-temp.c
index be023791d4c..826d818ed62 100644
--- a/libiberty/choose-temp.c
+++ b/libiberty/choose-temp.c
@@ -19,9 +19,6 @@ Boston, MA 02111-1307, USA. */
/* This file exports two functions: choose_temp_base and make_temp_file. */
-/* This file lives in at least two places: libiberty and gcc.
- Don't change one without the other. */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -148,7 +145,7 @@ choose_temp_base ()
char *
make_temp_file (suffix)
- char *suffix;
+ const char *suffix;
{
char *base = 0;
char *temp_filename;