diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-25 13:11:17 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-25 13:11:17 +0000 |
commit | 8f3763647e78c8ebef9bcbd817f76849eabf9244 (patch) | |
tree | 4c4f3626796f07f5c60165bd980cdfefe79f889c /libiberty | |
parent | f937cbd7b49a45eb60a900bcdd5039ca442fee13 (diff) | |
download | gcc-8f3763647e78c8ebef9bcbd817f76849eabf9244.tar.gz |
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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/choose-temp.c | 5 |
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; |