summaryrefslogtreecommitdiffstats
path: root/gcc/c-typeck.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-07 02:10:55 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-07 02:10:55 +0000
commit32d8eb784a9aa7cf83866f9199749eb10704d60c (patch)
tree961f94e941344d1d60e4d74f3e9ca46289b5ae10 /gcc/c-typeck.c
parent9e4850c955cb701f1a4dab92ff0ede2a89120515 (diff)
downloadppe42-gcc-32d8eb784a9aa7cf83866f9199749eb10704d60c.tar.gz
ppe42-gcc-32d8eb784a9aa7cf83866f9199749eb10704d60c.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82679 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r--gcc/c-typeck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index bdbb58b3f82..0f77d8c3397 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -80,6 +80,7 @@ static void add_pending_init (tree, tree);
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 *);
/* Do `exp = require_complete_type (exp);' to make sure exp
does not have an incomplete type. (That includes void types.) */
@@ -2629,7 +2630,7 @@ lvalue_p (tree ref)
/* 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);
OpenPOWER on IntegriCloud