diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-04-24 23:44:34 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-04-24 23:44:34 +0000 |
commit | 2c3612b2b27eff32eac5d2c39ef1064f98b1777a (patch) | |
tree | 2662f05ec7f04a424975cceb8cebe9ddcb8c6768 /gcc/mips-tfile.c | |
parent | c53d1676422be0f488aea439d0548753a90b9131 (diff) | |
download | gcc-2c3612b2b27eff32eac5d2c39ef1064f98b1777a.tar.gz |
(fatal, error): Make first arg const to avoid warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9436 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r-- | gcc/mips-tfile.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index 126923717e6..85632c25782 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -2,7 +2,7 @@ contain debugging information specified by the GNU compiler in the form of comments (the mips assembler does not support assembly access to debug information). - Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1991, 1993, 1994. 1995 Free Software Foundation, Inc. Contributed by Michael Meissner, meissner@osf.org This file is part of GNU CC. @@ -671,8 +671,8 @@ extern PTR_T xrealloc __proto((PTR_T, Size_t)); extern void xfree __proto((PTR_T)); #ifdef HAVE_VPRINTF -extern void fatal PVPROTO((char *format, ...)); -extern void error PVPROTO((char *format, ...)); +extern void fatal PVPROTO((const char *format, ...)); +extern void error PVPROTO((const char *format, ...)); #else /* We must not provide any prototype here, even if ANSI C. */ extern void fatal __proto(()); @@ -5606,7 +5606,7 @@ free_thead (ptr) /*VARARGS*/ void -fatal VPROTO((char *format, ...)) +fatal VPROTO((const char *format, ...)) { #ifndef __STDC__ char *format; @@ -5636,7 +5636,7 @@ fatal VPROTO((char *format, ...)) /*VARARGS*/ void -error VPROTO((char *format, ...)) +error VPROTO((const char *format, ...)) { #ifndef __STDC__ char *format; |