summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/blkio.c2
-rw-r--r--device/conf.h6
-rw-r--r--device/ds_routines.c2
-rw-r--r--device/net_io.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/device/blkio.c b/device/blkio.c
index 939067d..52d8c00 100644
--- a/device/blkio.c
+++ b/device/blkio.c
@@ -102,7 +102,7 @@ void minphys(ior)
* Dummy routine placed in device switch entries to indicate that
* block device may be mapped.
*/
-vm_offset_t block_io_mmap()
+vm_offset_t block_io_mmap(void)
{
return (0);
}
diff --git a/device/conf.h b/device/conf.h
index 8aacc86..a0d5010 100644
--- a/device/conf.h
+++ b/device/conf.h
@@ -58,9 +58,9 @@ typedef struct dev_ops *dev_ops_t;
/*
* Routines for null entries.
*/
-extern int nulldev(); /* no operation - OK */
-extern int nodev(); /* no operation - error */
-extern vm_offset_t nomap(); /* no operation - error */
+extern int nulldev(void); /* no operation - OK */
+extern int nodev(void); /* no operation - error */
+extern vm_offset_t nomap(void); /* no operation - error */
/*
* Flavor constants for d_dev_info routine
diff --git a/device/ds_routines.c b/device/ds_routines.c
index c99818b..82b5252 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -99,7 +99,7 @@
extern struct device_emulation_ops linux_block_emulation_ops;
#ifdef CONFIG_INET
extern struct device_emulation_ops linux_net_emulation_ops;
-extern void free_skbuffs ();
+extern void free_skbuffs (void);
#ifdef CONFIG_PCMCIA
extern struct device_emulation_ops linux_pcmcia_emulation_ops;
#endif /* CONFIG_PCMCIA */
diff --git a/device/net_io.h b/device/net_io.h
index e68e64a..f6de854 100644
--- a/device/net_io.h
+++ b/device/net_io.h
@@ -74,7 +74,7 @@ extern void net_kmsg_put(ipc_kmsg_t);
* Network utility routines.
*/
-extern void net_ast();
+extern void net_ast(void);
extern void net_packet(struct ifnet *, ipc_kmsg_t, unsigned int, boolean_t);
extern void net_filter(ipc_kmsg_t, ipc_kmsg_queue_t);
extern io_return_t net_getstat(struct ifnet *, dev_flavor_t, dev_status_t,