summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
committeralfred <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
commit3264aec746947db8598130cb0ac382cf0b2a10cf (patch)
tree13b2f09af75205c81c286aaf60527ae3de623e14 /sys/dev/hea
parente8f7a49843febbd1d96e06f28e56160c942029dd (diff)
downloadFreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.zip
FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.tar.gz
Remove __P.
Diffstat (limited to 'sys/dev/hea')
-rw-r--r--sys/dev/hea/eni.c16
-rw-r--r--sys/dev/hea/eni_buffer.c2
-rw-r--r--sys/dev/hea/eni_if.c2
-rw-r--r--sys/dev/hea/eni_intr.c2
-rw-r--r--sys/dev/hea/eni_receive.c2
-rw-r--r--sys/dev/hea/eni_var.h32
6 files changed, 28 insertions, 28 deletions
diff --git a/sys/dev/hea/eni.c b/sys/dev/hea/eni.c
index 8a938df..c433e92 100644
--- a/sys/dev/hea/eni.c
+++ b/sys/dev/hea/eni.c
@@ -73,17 +73,17 @@ __RCSID("@(#) $FreeBSD$");
/*
* Typedef local functions
*/
-static const char *eni_pci_probe __P((pcici_t, pcidi_t));
-static void eni_pci_attach __P((pcici_t, int));
-static int eni_get_ack __P((Eni_unit *));
-static int eni_get_sebyte __P((Eni_unit *));
-static void eni_read_seeprom __P((Eni_unit *));
+static const char *eni_pci_probe(pcici_t, pcidi_t);
+static void eni_pci_attach(pcici_t, int);
+static int eni_get_ack(Eni_unit *);
+static int eni_get_sebyte(Eni_unit *);
+static void eni_read_seeprom(Eni_unit *);
#if BSD < 199506
-static int eni_pci_shutdown __P((struct kern_devconf *, int));
+static int eni_pci_shutdown(struct kern_devconf *, int);
#else
-static void eni_pci_shutdown __P((void *, int));
+static void eni_pci_shutdown(void *, int);
#endif
-static void eni_pci_reset __P((Eni_unit *));
+static void eni_pci_reset(Eni_unit *);
/*
* Used by kernel to return number of claimed devices
diff --git a/sys/dev/hea/eni_buffer.c b/sys/dev/hea/eni_buffer.c
index 5fc9d48..89aa901 100644
--- a/sys/dev/hea/eni_buffer.c
+++ b/sys/dev/hea/eni_buffer.c
@@ -54,7 +54,7 @@
__RCSID("@(#) $FreeBSD$");
#endif
-static int eni_test_memory __P((Eni_unit *));
+static int eni_test_memory(Eni_unit *);
/*
* The host is going to manage (that is, allocate and free) buffers
diff --git a/sys/dev/hea/eni_if.c b/sys/dev/hea/eni_if.c
index ce396bf..f4cd5d7 100644
--- a/sys/dev/hea/eni_if.c
+++ b/sys/dev/hea/eni_if.c
@@ -61,7 +61,7 @@
__RCSID("@(#) $FreeBSD$");
#endif
-static void eni_get_stats __P((Eni_unit *));
+static void eni_get_stats(Eni_unit *);
/*
* SUNI statistics counters take one of three forms:
diff --git a/sys/dev/hea/eni_intr.c b/sys/dev/hea/eni_intr.c
index f5f2f58..76f673f 100644
--- a/sys/dev/hea/eni_intr.c
+++ b/sys/dev/hea/eni_intr.c
@@ -56,7 +56,7 @@
__RCSID("@(#) $FreeBSD$");
#endif
-static void eni_suni_intr __P((Eni_unit *));
+static void eni_suni_intr(Eni_unit *);
/*
* SUNI Interrupt processing
diff --git a/sys/dev/hea/eni_receive.c b/sys/dev/hea/eni_receive.c
index 8e87752..6ec33a1 100644
--- a/sys/dev/hea/eni_receive.c
+++ b/sys/dev/hea/eni_receive.c
@@ -64,7 +64,7 @@
__RCSID("@(#) $FreeBSD$");
#endif
-static void eni_recv_stack __P((void *, KBuffer *));
+static void eni_recv_stack(void *, KBuffer *);
#ifdef DIAGNOSTIC
extern int eni_pdu_print;
diff --git a/sys/dev/hea/eni_var.h b/sys/dev/hea/eni_var.h
index f13a99d..248807a 100644
--- a/sys/dev/hea/eni_var.h
+++ b/sys/dev/hea/eni_var.h
@@ -42,37 +42,37 @@
* Global function declarations
*/
/* eni_buffer.c */
-int eni_init_memory __P((Eni_unit *));
-caddr_t eni_allocate_buffer __P((Eni_unit *, u_long *));
-void eni_free_buffer __P((Eni_unit *, caddr_t));
+int eni_init_memory(Eni_unit *);
+caddr_t eni_allocate_buffer(Eni_unit *, u_long *);
+void eni_free_buffer(Eni_unit *, caddr_t);
/* eni_if.c */
-int eni_atm_ioctl __P((int, caddr_t, caddr_t));
-void eni_zero_stats __P((Eni_unit *));
+int eni_atm_ioctl(int, caddr_t, caddr_t);
+void eni_zero_stats(Eni_unit *);
/* eni_init.c */
-int eni_init __P((Eni_unit *));
+int eni_init(Eni_unit *);
/* eni_intr.c */
#if defined(BSD) && BSD < 199506
-int eni_intr __P((void *));
+int eni_intr(void *);
#else
-void eni_intr __P((void *));
+void eni_intr(void *);
#endif
/* eni_receive.c */
-void eni_do_service __P((Eni_unit *));
-void eni_recv_drain __P((Eni_unit *));
+void eni_do_service(Eni_unit *);
+void eni_recv_drain(Eni_unit *);
/* eni_transmit.c */
-int eni_set_dma __P((Eni_unit *, int, u_long *, int, long *, int, u_long, int ));
-void eni_output __P((Cmn_unit *, Cmn_vcc *, KBuffer *));
-void eni_xmit_drain __P((Eni_unit *));
+int eni_set_dma(Eni_unit *, int, u_long *, int, long *, int, u_long, int );
+void eni_output(Cmn_unit *, Cmn_vcc *, KBuffer *);
+void eni_xmit_drain(Eni_unit *);
/* eni_vcm.c */
-int eni_instvcc __P((Cmn_unit *, Cmn_vcc *));
-int eni_openvcc __P((Cmn_unit *, Cmn_vcc *));
-int eni_closevcc __P((Cmn_unit *, Cmn_vcc *));
+int eni_instvcc(Cmn_unit *, Cmn_vcc *);
+int eni_openvcc(Cmn_unit *, Cmn_vcc *);
+int eni_closevcc(Cmn_unit *, Cmn_vcc *);
/*
* Global variable declarations
OpenPOWER on IntegriCloud