Remove __P

This commit is contained in:
Kevin Lo 2007-03-21 03:28:16 +00:00
parent b5bb9b72d1
commit 4eaa43e6f4
3 changed files with 18 additions and 18 deletions

View File

@ -49,7 +49,7 @@
#define BOOTOPT_TYPE_HEXINT 4
#define BOOTOPT_TYPE_MASK 7
int get_bootconf_option __P((char *, char *, int, void *));
int get_bootconf_option (char *, char *, int, void *);
extern char *boot_args;
extern char *boot_file;

View File

@ -322,16 +322,16 @@ void arm9_setttb (u_int);
void arm9_tlb_flushID_SE (u_int va);
void arm9_icache_sync_all __P((void));
void arm9_icache_sync_range __P((vm_offset_t, vm_size_t));
void arm9_icache_sync_all (void);
void arm9_icache_sync_range (vm_offset_t, vm_size_t);
void arm9_dcache_wbinv_all __P((void));
void arm9_dcache_wbinv_range __P((vm_offset_t, vm_size_t));
void arm9_dcache_inv_range __P((vm_offset_t, vm_size_t));
void arm9_dcache_wb_range __P((vm_offset_t, vm_size_t));
void arm9_dcache_wbinv_all (void);
void arm9_dcache_wbinv_range (vm_offset_t, vm_size_t);
void arm9_dcache_inv_range (vm_offset_t, vm_size_t);
void arm9_dcache_wb_range (vm_offset_t, vm_size_t);
void arm9_idcache_wbinv_all __P((void));
void arm9_idcache_wbinv_range __P((vm_offset_t, vm_size_t));
void arm9_idcache_wbinv_all (void);
void arm9_idcache_wbinv_range (vm_offset_t, vm_size_t);
void arm9_context_switch (void);
@ -503,20 +503,20 @@ u_int GetCPSR(void);
* (in arm/arm32/setstack.S)
*/
void set_stackptr __P((u_int mode, u_int address));
u_int get_stackptr __P((u_int mode));
void set_stackptr (u_int mode, u_int address);
u_int get_stackptr (u_int mode);
/*
* Miscellany
*/
int get_pc_str_offset __P((void));
int get_pc_str_offset (void);
/*
* CPU functions from locore.S
*/
void cpu_reset __P((void)) __attribute__((__noreturn__));
void cpu_reset (void) __attribute__((__noreturn__));
/*
* Cache info variables.

View File

@ -52,7 +52,7 @@
#include <sys/queue.h>
typedef int (*undef_handler_t) __P((unsigned int, unsigned int, trapframe_t *, int));
typedef int (*undef_handler_t) (unsigned int, unsigned int, trapframe_t *, int);
#define FP_COPROC 1
#define FP_COPROC2 2
@ -60,9 +60,9 @@ typedef int (*undef_handler_t) __P((unsigned int, unsigned int, trapframe_t *, i
/* Prototypes for undefined.c */
void *install_coproc_handler __P((int, undef_handler_t));
void remove_coproc_handler __P((void *));
void undefined_init __P((void));
void *install_coproc_handler (int, undef_handler_t);
void remove_coproc_handler (void *);
void undefined_init (void);
/*
* XXX Stuff below here is for use before malloc() is available. Most code
@ -78,7 +78,7 @@ struct undefined_handler {
* Handlers installed using install_coproc_handler_static shouldn't be
* removed.
*/
void install_coproc_handler_static __P((int, struct undefined_handler *));
void install_coproc_handler_static (int, struct undefined_handler *);
/* Calls up to undefined.c from trap handlers */
void undefinedinstruction(struct trapframe *);