mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
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
This commit is contained in:
parent
a5f1b965da
commit
8fcd36920e
11 changed files with 61 additions and 67 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue