mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
Fix some warnings that would be generated by gcc -Wredundant-decls
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5115 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c8f9349ad9
commit
79383c9c08
39 changed files with 59 additions and 143 deletions
|
@ -27,8 +27,6 @@
|
|||
//#include "fpmodule.h"
|
||||
//#include "fpmodule.inl"
|
||||
|
||||
void SetRoundingMode(const unsigned int opcode);
|
||||
|
||||
unsigned int PerformFLT(const unsigned int opcode);
|
||||
unsigned int PerformFIX(const unsigned int opcode);
|
||||
|
||||
|
|
|
@ -40,5 +40,3 @@ struct target_pt_regs {
|
|||
#else
|
||||
#define UNAME_MACHINE "armv5tel"
|
||||
#endif
|
||||
|
||||
uint32_t do_arm_semihosting(CPUState *);
|
||||
|
|
|
@ -18,5 +18,4 @@ struct target_pt_regs {
|
|||
|
||||
#define UNAME_MACHINE "m68k"
|
||||
|
||||
void do_m68k_semihosting(CPUState *, int);
|
||||
void do_m68k_simcall(CPUState *, int);
|
||||
|
|
|
@ -477,9 +477,6 @@ void cpu_loop(CPUX86State *env)
|
|||
|
||||
#ifdef TARGET_ARM
|
||||
|
||||
/* XXX: find a better solution */
|
||||
extern void tb_invalidate_page_range(abi_ulong start, abi_ulong end);
|
||||
|
||||
static void arm_cache_flush(abi_ulong start, abi_ulong last)
|
||||
{
|
||||
abi_ulong addr, last1;
|
||||
|
|
|
@ -199,8 +199,7 @@ int get_osversion(void);
|
|||
void fork_start(void);
|
||||
void fork_end(int child);
|
||||
|
||||
extern int loglevel;
|
||||
extern FILE *logfile;
|
||||
#include "qemu-log.h"
|
||||
|
||||
/* strace.c */
|
||||
void print_syscall(int num,
|
||||
|
|
|
@ -269,10 +269,6 @@ extern int personality(int);
|
|||
extern int flock(int, int);
|
||||
extern int setfsuid(int);
|
||||
extern int setfsgid(int);
|
||||
extern int setresuid(uid_t, uid_t, uid_t);
|
||||
extern int getresuid(uid_t *, uid_t *, uid_t *);
|
||||
extern int setresgid(gid_t, gid_t, gid_t);
|
||||
extern int getresgid(gid_t *, gid_t *, gid_t *);
|
||||
extern int setgroups(int, gid_t *);
|
||||
|
||||
#define ERRNO_TABLE_SIZE 1200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue