aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-03-22 05:49:18 +0000
committerWarner Losh <imp@FreeBSD.org>2001-03-22 05:49:18 +0000
commitcc2310a9497f0e4ef7e3d14736796594bcffa9c6 (patch)
tree3004983b01c04795c7697df84f2ac2e47a65245d /sys
parent2873ce752bc869a6b2e6598320e6950e90a80387 (diff)
downloadsrc-cc2310a9497f0e4ef7e3d14736796594bcffa9c6.tar.gz
src-cc2310a9497f0e4ef7e3d14736796594bcffa9c6.zip
Axe a few __P() while I'm in the neighborhood.
Notes
Notes: svn path=/head/; revision=74633
Diffstat (limited to 'sys')
-rw-r--r--sys/pccard/driver.h12
-rw-r--r--sys/pccard/pcic.c7
-rw-r--r--sys/pccard/slot.h14
3 files changed, 16 insertions, 17 deletions
diff --git a/sys/pccard/driver.h b/sys/pccard/driver.h
index 3b237f37d6cc..f5705ab935f3 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 3443ef637977..1b0603112086 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 f43122c52f7b..67f756df5617 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 */