From 549984f6b3b5ec146edcb03d86e637eff9956bd2 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 19 Dec 2013 20:43:54 +0100 Subject: Declare void argument lists (part 2) Declare void argument lists that were not declared in the first part of this patch and * kern/sched_prim.h (recompute_priorities): Fix prototype. * kern/startup.c (setup_main) (recompute_priorities): Fix call. --- device/blkio.c | 2 +- device/conf.h | 6 +++--- device/ds_routines.c | 2 +- device/net_io.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'device') 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, -- cgit v1.2.3