aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-05-07 19:47:31 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-05-07 17:53:05 +0000
commita5ad59166aa7b8a3159ad057b77c8df6d84a9fa0 (patch)
treeef013f6e50a9dc2207395dd988ccdd513bd671a9 /tcg/tcg.c
parent92b30744d7da8facd8f2206731bae87eebb06164 (diff)
tcg: Add missing 'static' attribute
tcg_out_reloc is only used locally (in */target.c which is included in tcg.c). Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r--tcg/tcg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index beceff0c3c..a99ecb9a9e 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -100,8 +100,8 @@ static inline void tcg_out32(TCGContext *s, uint32_t v)
/* label relocation processing */
-void tcg_out_reloc(TCGContext *s, uint8_t *code_ptr, int type,
- int label_index, long addend)
+static void tcg_out_reloc(TCGContext *s, uint8_t *code_ptr, int type,
+ int label_index, long addend)
{
TCGLabel *l;
TCGRelocation *r;