diff options
author | kato <kato@FreeBSD.org> | 2002-03-20 11:52:56 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 2002-03-20 11:52:56 +0000 |
commit | bb970de1a3dd0e26635f0270a58cb31411036609 (patch) | |
tree | 67c76ac45d545529285ed90830330d938b40f635 /sys/pc98/apm | |
parent | bb53806a04a73f50e012d89736ebc131c223f99e (diff) | |
download | FreeBSD-src-bb970de1a3dd0e26635f0270a58cb31411036609.zip FreeBSD-src-bb970de1a3dd0e26635f0270a58cb31411036609.tar.gz |
Remove __P.
Diffstat (limited to 'sys/pc98/apm')
-rw-r--r-- | sys/pc98/apm/apm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/pc98/apm/apm.c b/sys/pc98/apm/apm.c index 3313512..e30605d 100644 --- a/sys/pc98/apm/apm.c +++ b/sys/pc98/apm/apm.c @@ -53,12 +53,12 @@ #include <pc98/apm/apm.h> /* Used by the apm_saver screen saver module */ -int apm_display __P((int newstate)); +int apm_display(int newstate); struct apm_softc apm_softc; -static void apm_resume __P((void)); +static void apm_resume(void); static int apm_bioscall(void); -static int apm_check_function_supported __P((u_int version, u_int func)); +static int apm_check_function_supported(u_int version, u_int func); static int apm_pm_func(u_long, void*, ...); @@ -75,14 +75,14 @@ int apm_evindex; #define APMDEV_CTL 8 #ifdef PC98 -extern int bios32_apm98 __P((struct bios_regs *, u_int, u_short)); +extern int bios32_apm98(struct bios_regs *, u_int, u_short); /* PC98's SMM definition */ #define APM_NECSMM_PORT 0x6b8e #define APM_NECSMM_PORTSZ 1 #define APM_NECSMM_EN 0x10 -static __inline void apm_enable_smm __P((struct apm_softc *)); -static __inline void apm_disable_smm __P((struct apm_softc *)); +static __inline void apm_enable_smm(struct apm_softc *); +static __inline void apm_disable_smm(struct apm_softc *); int apm_necsmm_addr; u_int32_t apm_necsmm_mask; #endif @@ -464,7 +464,7 @@ apm_hook_disestablish(int apmh, struct apmhook *ah) apm_del_hook(&hook[apmh], ah); } -static int apm_record_event __P((struct apm_softc *, u_int)); +static int apm_record_event(struct apm_softc *, u_int); static void apm_processevent(void); static u_int apm_op_inprog = 0; |