From 9bf242660ab1ea936b677e2268b31c0d6426b6e0 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 30 Sep 2004 23:52:06 +0100 Subject: c-tree.h (readonly_error): Remove. * c-tree.h (readonly_error): Remove. * c-typeck (enum lvalue_use): New. (lvalue_or_else, readonly_error): Use it. All callers changed. (readonly_error): Make static. testsuite: * gcc.dg/lvalue-2.c: New test. From-SVN: r88362 --- gcc/c-tree.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/c-tree.h') diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 76981a7ea7c..f6e195fa101 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -428,7 +428,6 @@ extern struct c_expr c_expr_sizeof_expr (struct c_expr); extern struct c_expr c_expr_sizeof_type (struct c_type_name *); extern struct c_expr parser_build_binary_op (enum tree_code, struct c_expr, struct c_expr); -extern void readonly_error (tree, const char *); extern tree build_conditional_expr (tree, tree, tree); extern tree build_compound_expr (tree, tree); extern tree c_cast_expr (struct c_type_name *, tree); -- cgit v1.2.1