summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/isa/intr_machdep.h2
-rw-r--r--sys/boot/alpha/boot1/boot1.c2
-rw-r--r--sys/boot/alpha/libalpha/common.h12
-rw-r--r--sys/ddb/db_elf.c2
-rw-r--r--sys/dev/sio/sio_ebus.c6
-rw-r--r--sys/dev/ti/if_ti.c4
-rw-r--r--sys/i386/isa/intr_machdep.h2
-rw-r--r--sys/pci/if_ti.c4
-rw-r--r--sys/sparc64/include/profile.h8
9 files changed, 21 insertions, 21 deletions
diff --git a/sys/amd64/isa/intr_machdep.h b/sys/amd64/isa/intr_machdep.h
index d24de27..41542d0 100644
--- a/sys/amd64/isa/intr_machdep.h
+++ b/sys/amd64/isa/intr_machdep.h
@@ -140,7 +140,7 @@
* Type of the first (asm) part of an interrupt handler.
*/
typedef void inthand_t(u_int cs, u_int ef, u_int esp, u_int ss);
-typedef void unpendhand_t __P((void));
+typedef void unpendhand_t(void);
#define IDTVEC(name) __CONCAT(X,name)
diff --git a/sys/boot/alpha/boot1/boot1.c b/sys/boot/alpha/boot1/boot1.c
index 0864b31..f25b717 100644
--- a/sys/boot/alpha/boot1/boot1.c
+++ b/sys/boot/alpha/boot1/boot1.c
@@ -253,7 +253,7 @@ main()
char *name = "/boot/loader";
char *p;
char filename[512];
- void (*entry) __P((void));
+ void (*entry)(void);
u_long start, freq;
int i;
diff --git a/sys/boot/alpha/libalpha/common.h b/sys/boot/alpha/libalpha/common.h
index ff18476..7ae5830 100644
--- a/sys/boot/alpha/libalpha/common.h
+++ b/sys/boot/alpha/libalpha/common.h
@@ -3,9 +3,9 @@
* From: $NetBSD: common.h,v 1.2 1998/01/05 07:02:48 perry Exp $
*/
-int prom_open __P((char*, int));
-void OSFpal __P((void));
-void halt __P((void));
-u_int64_t prom_dispatch __P((int, ...));
-int cpu_number __P((void));
-void switch_palcode __P((void));
+int prom_open(char*, int);
+void OSFpal(void);
+void halt(void);
+u_int64_t prom_dispatch(int, ...);
+int cpu_number(void);
+void switch_palcode(void);
diff --git a/sys/ddb/db_elf.c b/sys/ddb/db_elf.c
index 97e97ca..792a759 100644
--- a/sys/ddb/db_elf.c
+++ b/sys/ddb/db_elf.c
@@ -56,7 +56,7 @@
#include <machine/elf.h>
-static char *db_elf_find_strtab __P((db_symtab_t *));
+static char *db_elf_find_strtab(db_symtab_t *);
#define STAB_TO_SYMSTART(stab) ((Elf_Sym *)((stab)->start))
#define STAB_TO_SYMEND(stab) ((Elf_Sym *)((stab)->end))
diff --git a/sys/dev/sio/sio_ebus.c b/sys/dev/sio/sio_ebus.c
index af6bc0b..0c2e58c 100644
--- a/sys/dev/sio/sio_ebus.c
+++ b/sys/dev/sio/sio_ebus.c
@@ -40,9 +40,9 @@ __FBSDID($FreeBSD$);
#include <ofw/openfirm.h>
#include <sparc64/ebus/ebusvar.h>
-int sio_ofw_inlist __P((char *name, char *list[]));
-static int sio_ebus_attach __P((device_t dev));
-static int sio_ebus_probe __P((device_t dev));
+int sio_ofw_inlist(char *name, char *list[]);
+static int sio_ebus_attach(device_t dev);
+static int sio_ebus_probe(device_t dev);
static device_method_t sio_ebus_methods[] = {
/* Device interface */
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index bc4b96e..68a0636 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -270,8 +270,8 @@ static int ti_chipinit (struct ti_softc *);
static int ti_gibinit (struct ti_softc *);
#ifdef TI_JUMBO_HDRSPLIT
-static __inline void ti_hdr_split __P((struct mbuf *top, int hdr_len,
- int pkt_len, int idx));
+static __inline void ti_hdr_split (struct mbuf *top, int hdr_len,
+ int pkt_len, int idx);
#endif /* TI_JUMBO_HDRSPLIT */
static device_method_t ti_methods[] = {
diff --git a/sys/i386/isa/intr_machdep.h b/sys/i386/isa/intr_machdep.h
index d24de27..41542d0 100644
--- a/sys/i386/isa/intr_machdep.h
+++ b/sys/i386/isa/intr_machdep.h
@@ -140,7 +140,7 @@
* Type of the first (asm) part of an interrupt handler.
*/
typedef void inthand_t(u_int cs, u_int ef, u_int esp, u_int ss);
-typedef void unpendhand_t __P((void));
+typedef void unpendhand_t(void);
#define IDTVEC(name) __CONCAT(X,name)
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index bc4b96e..68a0636 100644
--- a/sys/pci/if_ti.c
+++ b/sys/pci/if_ti.c
@@ -270,8 +270,8 @@ static int ti_chipinit (struct ti_softc *);
static int ti_gibinit (struct ti_softc *);
#ifdef TI_JUMBO_HDRSPLIT
-static __inline void ti_hdr_split __P((struct mbuf *top, int hdr_len,
- int pkt_len, int idx));
+static __inline void ti_hdr_split (struct mbuf *top, int hdr_len,
+ int pkt_len, int idx);
#endif /* TI_JUMBO_HDRSPLIT */
static device_method_t ti_methods[] = {
diff --git a/sys/sparc64/include/profile.h b/sys/sparc64/include/profile.h
index dea9011..122fc87 100644
--- a/sys/sparc64/include/profile.h
+++ b/sys/sparc64/include/profile.h
@@ -52,10 +52,10 @@ _mcount() \
#ifdef GUPROF
struct gmonparam;
-void nullfunc_loop_profiled __P((void));
-void nullfunc_profiled __P((void));
-void startguprof __P((struct gmonparam *p));
-void stopguprof __P((struct gmonparam *p));
+void nullfunc_loop_profiled(void);
+void nullfunc_profiled(void);
+void startguprof(struct gmonparam *p);
+void stopguprof(struct gmonparam *p);
#else
#define startguprof(p)
#define stopguprof(p)
OpenPOWER on IntegriCloud