aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 0667769..2b73288 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1557,11 +1557,11 @@ notice VPROTO((const char *msgid, ...))
}
void
-fnotice VPROTO((FILE *file, char *msgid, ...))
+fnotice VPROTO((FILE *file, const char *msgid, ...))
{
#ifndef ANSI_PROTOTYPES
FILE *file;
- char *msgid;
+ const char *msgid;
#endif
va_list ap;
@@ -1569,7 +1569,7 @@ fnotice VPROTO((FILE *file, char *msgid, ...))
#ifndef ANSI_PROTOTYPES
file = va_arg (ap, FILE *);
- msgid = va_arg (ap, char *);
+ msgid = va_arg (ap, const char *);
#endif
vnotice (file, msgid, ap);