From 5a657fc371aefb7648ad42cc9db9187032a80809 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 25 Sep 1999 13:11:17 +0000 Subject: 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 --- libiberty/ChangeLog | 5 +++++ libiberty/choose-temp.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index de9309c..6b6a643 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +1999-09-25 Kaveh R. Ghazi + + * choose-temp.c: Remove obsolete comment about gcc. + (make_temp_file): Constify a char*. + Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi * xmemdup.c: Include sys/types.h. diff --git a/libiberty/choose-temp.c b/libiberty/choose-temp.c index be02379..826d818 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; -- cgit v1.1