summaryrefslogtreecommitdiff
path: root/libiberty/choose-temp.c
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/choose-temp.c
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/choose-temp.c')
-rw-r--r--libiberty/choose-temp.c5
1 files changed, 1 insertions, 4 deletions
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;