Revision 3f47aa8c

b/block-vvfat.c
53 53
#define stderr STDERR
54 54
FILE* stderr = NULL;
55 55

  
56
static void checkpoint();
56
static void checkpoint(void);
57 57

  
58 58
#ifdef __MINGW32__
59 59
void nonono(const char* file, int line, const char* msg) {
......
2813 2813
};
2814 2814

  
2815 2815
#ifdef DEBUG
2816
static void checkpoint() {
2816
static void checkpoint(void) {
2817 2817
    assert(((mapping_t*)array_get(&(vvv->mapping), 0))->end == 2);
2818 2818
    check1(vvv);
2819 2819
    check2(vvv);
b/darwin-user/qemu.h
113 113
extern FILE *logfile;
114 114

  
115 115
/* commpage.c */
116
void commpage_init();
116
void commpage_init(void);
117 117
void do_commpage(void *cpu_env, int num, uint32_t arg1, uint32_t arg2, uint32_t arg3,
118 118
                uint32_t arg4, uint32_t arg5, uint32_t arg6, uint32_t arg7, uint32_t arg8);
119 119

  
b/darwin-user/syscall.c
417 417
                uint32_t arg4, uint32_t arg5, uint32_t arg6, uint32_t arg7,
418 418
                uint32_t arg8)
419 419
{
420
    extern uint32_t mach_reply_port();
420
    extern uint32_t mach_reply_port(void);
421 421

  
422 422
    long ret = 0;
423 423

  
......
551 551
                uint32_t arg8)
552 552
{
553 553
    extern uint32_t cthread_set_self(uint32_t);
554
    extern uint32_t processor_facilities_used();
554
    extern uint32_t processor_facilities_used(void);
555 555
    long ret = 0;
556 556

  
557 557
    arg1 = tswap32(arg1);
......
830 830
}
831 831

  
832 832
long do_unix_syscall_indirect(void *cpu_env, int num);
833
long do_sync();
833
long do_sync(void);
834 834
long do_exit(uint32_t arg1);
835 835
long do_getlogin(char *out, uint32_t size);
836 836
long do_open(char * arg1, uint32_t arg2, uint32_t arg3);
......
996 996
    return -1;
997 997
}
998 998

  
999
long do_sync()
999
long do_sync(void)
1000 1000
{
1001 1001
    sync();
1002 1002
    return 0;
b/hw/alpha_palcode.c
56 56

  
57 57
#if 0
58 58
/* One must explicitely check that the TB is valid and the FOE bit is reset */
59
static void update_itb ()
59
static void update_itb (void)
60 60
{
61 61
    /* This writes into a temp register, not the actual one */
62 62
    mtpr(TB_TAG);
......
65 65
    mtpr(ITB_PTE);
66 66
}
67 67

  
68
static void update_dtb ();
68
static void update_dtb (void);
69 69
{
70 70
    mtpr(TB_CTL);
71 71
    /* This write into a temp register, not the actual one */
b/target-i386/helper.c
1670 1670
    CC_SRC = eflags;
1671 1671
}
1672 1672

  
1673
void helper_single_step()
1673
void helper_single_step(void)
1674 1674
{
1675 1675
    env->dr[6] |= 0x4000;
1676 1676
    raise_exception(EXCP01_SSTP);
b/target-i386/svm.h
323 323

  
324 324
/* function references */
325 325

  
326
void helper_stgi();
326
void helper_stgi(void);
327 327
void vmexit(uint64_t exit_code, uint64_t exit_info_1);
328 328
int svm_check_intercept_param(uint32_t type, uint64_t param);
329 329
static inline int svm_check_intercept(unsigned int type) {
b/vl.c
899 899
    {NULL, }
900 900
};
901 901

  
902
static void show_available_alarms()
902
static void show_available_alarms(void)
903 903
{
904 904
    int i;
905 905

  

Also available in: Unified diff