From cc2310a9497f0e4ef7e3d14736796594bcffa9c6 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 22 Mar 2001 05:49:18 +0000 Subject: [PATCH] Axe a few __P() while I'm in the neighborhood. --- sys/pccard/driver.h | 12 ++++++------ sys/pccard/pcic.c | 7 +++---- sys/pccard/slot.h | 14 +++++++------- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/sys/pccard/driver.h b/sys/pccard/driver.h index 3b237f37d6c..f5705ab935f 100644 --- a/sys/pccard/driver.h +++ b/sys/pccard/driver.h @@ -11,14 +11,14 @@ struct pccard_device; -void pccard_add_driver __P((struct pccard_device *)); +void pccard_add_driver(struct pccard_device *); enum beepstate { BEEP_OFF, BEEP_ON }; -void pccard_insert_beep __P((void)); -void pccard_remove_beep __P((void)); -void pccard_success_beep __P((void)); -void pccard_failure_beep __P((void)); -int pccard_beep_select __P((int)); +void pccard_insert_beep(void); +void pccard_remove_beep(void); +void pccard_success_beep(void); +void pccard_failure_beep(void); +int pccard_beep_select(int); #endif /* !_PCCARD_DRIVER_H_ */ diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 3443ef63797..1b060311208 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -1,6 +1,5 @@ /* * Intel PCIC or compatible Controller driver - * May be built to make a loadable module. *------------------------------------------------------------------------- * * Copyright (c) 1995 Andrew McRae. All rights reserved. @@ -50,11 +49,11 @@ * Prototypes for interrupt handler. */ static driver_intr_t pcicintr; -static int pcic_ioctl __P((struct slot *, int, caddr_t)); -static int pcic_power __P((struct slot *)); +static int pcic_ioctl(struct slot *, int, caddr_t); +static int pcic_power(struct slot *); static timeout_t pcic_reset; static void pcic_resume(struct slot *); -static void pcic_disable __P((struct slot *)); +static void pcic_disable(struct slot *); static timeout_t pcictimeout; static struct callout_handle pcictimeout_ch = CALLOUT_HANDLE_INITIALIZER(&pcictimeout_ch); diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h index f43122c52f7..67f756df561 100644 --- a/sys/pccard/slot.h +++ b/sys/pccard/slot.h @@ -54,19 +54,19 @@ */ struct slot; struct slot_ctrl { - int (*mapmem) __P((struct slot *, int)); + int (*mapmem)(struct slot *, int); /* Map memory */ - int (*mapio) __P((struct slot *, int)); + int (*mapio)(struct slot *, int); /* Map io */ - void (*reset) __P((void *)); + void (*reset)(void *); /* init */ - void (*disable) __P((struct slot *)); + void (*disable)(struct slot *); /* Disable slot */ - int (*power) __P((struct slot *)); + int (*power)(struct slot *); /* Set power values */ - int (*ioctl) __P((struct slot *, int, caddr_t)); + int (*ioctl)(struct slot *, int, caddr_t); /* ioctl to lower level */ - void (*resume) __P((struct slot *)); + void (*resume)(struct slot *); /* suspend/resume support */ int maxmem; /* Number of allowed memory windows */ int maxio; /* Number of allowed I/O windows */