diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-11 23:13:12 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-11 23:13:12 +0000 |
| commit | 91ffb709a082b22648ee346a830ec92e2d0ee36c (patch) | |
| tree | ec0ba20c291af19d0c5c23430ec5353db447b8c3 /gcc/c-typeck.c | |
| parent | 9db60a527bd955ea2b068b958e29ec83acf92bc1 (diff) | |
| download | ppe42-gcc-91ffb709a082b22648ee346a830ec92e2d0ee36c.tar.gz ppe42-gcc-91ffb709a082b22648ee346a830ec92e2d0ee36c.zip | |
* c-typeck.c (c_size_in_bytes, record_maybe_used_decl):
Make them static.
* c-tree.h: Remove the corresponding prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90504 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
| -rw-r--r-- | gcc/c-typeck.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index f9481f809a9..6be4d6b0000 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -111,6 +111,7 @@ static void set_nonincremental_init_from_string (tree); static tree find_init_member (tree); static int lvalue_or_else (tree, enum lvalue_use); static void readonly_error (tree, enum lvalue_use); +static void record_maybe_used_decl (tree); /* Do `exp = require_complete_type (exp);' to make sure exp does not have an incomplete type. (That includes void types.) */ @@ -1126,7 +1127,7 @@ type_lists_compatible_p (tree args1, tree args2) /* Compute the size to increment a pointer by. */ -tree +static tree c_size_in_bytes (tree type) { enum tree_code code = TREE_CODE (type); @@ -1807,7 +1808,7 @@ static struct maybe_used_decl *maybe_used_decls; a VLA type or the operand of typeof is a variably modified type. */ -void +static void record_maybe_used_decl (tree decl) { struct maybe_used_decl *t = XOBNEW (&parser_obstack, struct maybe_used_decl); |

