* tree.h (lvalue_or_else): Delete function prototype.
* c-typeck.c (lvalue_or_else): Make static. Add static prototype.
* cp/cp-tree.h (lvalue_or_else): Add function prototype.
From-SVN: r82679
+2004-06-06 Roger Sayle <roger@eyesopen.com>
+
+ * tree.h (lvalue_or_else): Delete function prototype.
+ * c-typeck.c (lvalue_or_else): Make static. Add static prototype.
+
2004-06-06 Stephane Carrez <stcarrez@nerim.fr>
PR target/14542
static void set_nonincremental_init (void);
static void set_nonincremental_init_from_string (tree);
static tree find_init_member (tree);
+static int lvalue_or_else (tree, const char *);
\f
/* Do `exp = require_complete_type (exp);' to make sure exp
does not have an incomplete type. (That includes void types.) */
/* Return nonzero if REF is an lvalue valid for this language;
otherwise, print an error message and return zero. */
-int
+static int
lvalue_or_else (tree ref, const char *msgid)
{
int win = lvalue_p (ref);
+2004-06-06 Roger Sayle <roger@eyesopen.com>
+
+ * cp/cp-tree.h (lvalue_or_else): Add function prototype.
+
2004-06-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/15503
extern tree copy_base_binfos (tree, tree, tree);
extern int member_p (tree);
extern cp_lvalue_kind real_lvalue_p (tree);
+extern int lvalue_or_else (tree, const char *);
extern tree build_min (enum tree_code, tree, ...);
extern tree build_min_nt (enum tree_code, ...);
extern tree build_min_non_dep (enum tree_code, tree, ...);
extern int staticp (tree);
-/* Gets an error if argument X is not an lvalue.
- Also returns 1 if X is an lvalue, 0 if not. */
-
-extern int lvalue_or_else (tree, const char *);
-
/* save_expr (EXP) returns an expression equivalent to EXP
but it can be used multiple times within context CTX
and only evaluate EXP once. */