From 5d5993dd31958ff7a1d87fb01805593764f27289 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Thu, 18 Feb 1999 20:38:48 +0000 Subject: bitmap.c (bitmap_print): Qualify a char* with the `const' keyword. * bitmap.c (bitmap_print): Qualify a char* with the `const' keyword. * bitmap.h (bitmap_print): Likewise. * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise. * c-lang.c (build_objc_string): Likewise. * c-lex.c (yyerror, extend_token_buffer): Likewise. Don't include limits.h or ctype.h. Remove unused variable `p'. * c-lex.h (yyerror): Qualify a char* with the `const' keyword. * c-pragma.c (handle_pragma_token): Likewise. * c-pragma.h (handle_pragma_token): Likewise. * c-tree.h (build_objc_string, builtin_function, grokfield, build_indirect_ref, lvalue_or_else, readonly_warning, error_init, pedwarn_init): Likewise. * c-typeck.c (convert_for_assignment, warn_for_assignment, push_string, warning_init, incomplete_type_error, build_indirect_ref, lvalue_or_else, readonly_warning, build_c_cast, spelling, push_member_name, print_spelling, error_init, pedwarn_init, start_init): Likewise. * objc/objc-act.c (build_objc_string): Likewise. * print-tree.c (print_node_brief, print_node): Likewise. * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise. From-SVN: r25296 --- gcc/bitmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/bitmap.c') diff --git a/gcc/bitmap.c b/gcc/bitmap.c index a5aa2e7..b4fc097 100644 --- a/gcc/bitmap.c +++ b/gcc/bitmap.c @@ -613,10 +613,10 @@ void bitmap_print (file, head, prefix, suffix) FILE *file; bitmap head; - char *prefix; - char *suffix; + const char *prefix; + const char *suffix; { - char *comma = ""; + const char *comma = ""; int i; fputs (prefix, file); -- cgit v1.1