From 8fcd36920e1b0e5ff92efb16f7ae05112cd4defa Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 17 Aug 2008 20:26:25 +0000 Subject: Fix some warnings that would be generated by gcc -Wmissing-prototypes git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5022 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/x86_64/tcg-target.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcg/x86_64') diff --git a/tcg/x86_64/tcg-target.c b/tcg/x86_64/tcg-target.c index 168faabeec..bc5694a8ca 100644 --- a/tcg/x86_64/tcg-target.c +++ b/tcg/x86_64/tcg-target.c @@ -108,7 +108,7 @@ static inline int tcg_target_get_call_iarg_regs_count(int flags) } /* parse target specific constraints */ -int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str) +static int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str) { const char *ct_str; @@ -404,7 +404,7 @@ static inline void tgen_arithi64(TCGContext *s, int c, int r0, int64_t val) } } -void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val) +static void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val) { if (val != 0) tgen_arithi64(s, ARITH_ADD, reg, val); -- cgit v1.2.3