aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-11-03 20:40:32 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-11-03 20:40:32 +0000
commit4b66e1c09193e7606ebe6009a872bace584a0eb9 (patch)
tree89dfd5f9bb72d30f1f34a371ec59dff03a005ae6 /gcc/fix-header.c
parentf0447047c4b70d74c63ce8420053bdbfbeb26107 (diff)
downloadgcc-4b66e1c09193e7606ebe6009a872bace584a0eb9.zip
gcc-4b66e1c09193e7606ebe6009a872bace584a0eb9.tar.gz
gcc-4b66e1c09193e7606ebe6009a872bace584a0eb9.tar.bz2
fix-header.c (recognized_extern, [...]): Constify a char*.
* fix-header.c (recognized_extern, recognized_function): Constify a char*. * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'. (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED. (compute_available): Remove unused variable `last'. (compute_nearerout): Remove unused variable `temp_bitmap'. (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED. Remove unused variable `x'. * scan.h (recognized_function, recognized_extern): Constify a char*. * simplify-rtx.c (simplify_rtx): Remove unused variable `new'. From-SVN: r30380
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index c789e99..a87137d 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -498,8 +498,8 @@ recognized_macro (fname)
void
recognized_extern (name, name_length, type, type_length)
- char *name;
- char *type ATTRIBUTE_UNUSED;
+ const char *name;
+ const char *type ATTRIBUTE_UNUSED;
int name_length, type_length ATTRIBUTE_UNUSED;
{
switch (special_file_handling)
@@ -526,13 +526,13 @@ void
recognized_function (fname, fname_length,
kind, rtype, rtype_length,
have_arg_list, file_seen, line_seen)
- char *fname;
+ const char *fname;
int fname_length;
int kind; /* One of 'f' 'F' or 'I' */
- char *rtype;
+ const char *rtype;
int rtype_length;
int have_arg_list;
- char *file_seen;
+ const char *file_seen;
int line_seen;
{
struct partial_proto *partial;