diff options
| author | cegger <cegger@NetBSD.org> | 2009-03-18 10:22:21 +0000 |
|---|---|---|
| committer | cegger <cegger@NetBSD.org> | 2009-03-18 10:22:21 +0000 |
| commit | df7f595ecd6efe54ea7c11083e2dbf711cad4b31 (patch) | |
| tree | 2e70fb4fc9234da64b5c0d61f729656db3c80105 /sys/dev | |
| parent | 61260da8850e8a6c3adc941d28160d30877a0c04 (diff) | |
Ansify function definitions w/o arguments. Generated with sed.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/adb/adb_kbd.c | 6 | ||||
| -rw-r--r-- | sys/dev/dm/dm_dev.c | 6 | ||||
| -rw-r--r-- | sys/dev/dm/dm_pdev.c | 4 | ||||
| -rw-r--r-- | sys/dev/hpc/video_subr.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/sl811hs.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/tropic.c | 8 | ||||
| -rw-r--r-- | sys/dev/ieee1394/fwohci.c | 6 | ||||
| -rw-r--r-- | sys/dev/isa/spkr.c | 6 | ||||
| -rw-r--r-- | sys/dev/kloader.c | 12 | ||||
| -rw-r--r-- | sys/dev/marvell/gt.c | 6 | ||||
| -rw-r--r-- | sys/dev/marvell/gtidma.c | 6 | ||||
| -rw-r--r-- | sys/dev/microcode/aic7xxx/aicasm.c | 16 | ||||
| -rw-r--r-- | sys/dev/microcode/aic7xxx/aicasm_symbol.c | 8 | ||||
| -rw-r--r-- | sys/dev/microcode/cyclades-z/cyzfirm2h.c | 8 | ||||
| -rw-r--r-- | sys/dev/ofw/ofcons.c | 6 | ||||
| -rw-r--r-- | sys/dev/pud/pud.c | 6 | ||||
| -rw-r--r-- | sys/dev/putter/putter.c | 8 | ||||
| -rw-r--r-- | sys/dev/qbus/qd.c | 6 | ||||
| -rw-r--r-- | sys/dev/raidframe/rf_debugMem.c | 6 | ||||
| -rw-r--r-- | sys/dev/raidframe/rf_geniq.c | 6 | ||||
| -rw-r--r-- | sys/dev/sequencer.c | 6 | ||||
| -rw-r--r-- | sys/dev/sun/fb.c | 10 | ||||
| -rw-r--r-- | sys/dev/usb/ehci.c | 6 | ||||
| -rw-r--r-- | sys/dev/usb/if_udav.c | 6 | ||||
| -rw-r--r-- | sys/dev/usb/if_url.c | 6 | ||||
| -rw-r--r-- | sys/dev/vme/xd.c | 10 |
26 files changed, 93 insertions, 93 deletions
diff --git a/sys/dev/adb/adb_kbd.c b/sys/dev/adb/adb_kbd.c index 2368fa34ffb..391e1274699 100644 --- a/sys/dev/adb/adb_kbd.c +++ b/sys/dev/adb/adb_kbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: adb_kbd.c,v 1.12 2008/03/26 18:04:15 matt Exp $ */ +/* $NetBSD: adb_kbd.c,v 1.13 2009/03/18 10:22:39 cegger Exp $ */ /* * Copyright (C) 1998 Colin Wood @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: adb_kbd.c,v 1.12 2008/03/26 18:04:15 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: adb_kbd.c,v 1.13 2009/03/18 10:22:39 cegger Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -570,7 +570,7 @@ adbkbd_ioctl(void *v, u_long cmd, void *data, int flag, struct lwp *l) } int -adbkbd_cnattach() +adbkbd_cnattach(void) { adbkbd_is_console = 1; diff --git a/sys/dev/dm/dm_dev.c b/sys/dev/dm/dm_dev.c index 899b4975bad..5543b0aa43f 100644 --- a/sys/dev/dm/dm_dev.c +++ b/sys/dev/dm/dm_dev.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_dev.c,v 1.3 2009/03/06 16:17:29 haad Exp $ */ +/* $NetBSD: dm_dev.c,v 1.4 2009/03/18 10:22:39 cegger Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -300,7 +300,7 @@ dm_dev_destroy(void) * Allocate new device entry. */ dm_dev_t* -dm_dev_alloc() +dm_dev_alloc(void) { dm_dev_t *dmv; @@ -379,7 +379,7 @@ dm_dev_prop_list(void) * Initialize global device mutex. */ int -dm_dev_init() +dm_dev_init(void) { TAILQ_INIT(&dm_dev_list); /* initialize global dev list */ mutex_init(&dm_dev_mutex, MUTEX_DEFAULT, IPL_NONE); diff --git a/sys/dev/dm/dm_pdev.c b/sys/dev/dm/dm_pdev.c index b04d2cd7b14..8af4aaaddf9 100644 --- a/sys/dev/dm/dm_pdev.c +++ b/sys/dev/dm/dm_pdev.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_pdev.c,v 1.2 2008/12/19 15:24:03 haad Exp $ */ +/* $NetBSD: dm_pdev.c,v 1.3 2009/03/18 10:22:39 cegger Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -230,7 +230,7 @@ dm_pdev_decr(dm_pdev_t *dmp) } /*static int - dm_pdev_dump_list() + dm_pdev_dump_list(void) { dm_pdev_t *dmp; diff --git a/sys/dev/hpc/video_subr.c b/sys/dev/hpc/video_subr.c index 67b4bfa8dd3..c397fd1789a 100644 --- a/sys/dev/hpc/video_subr.c +++ b/sys/dev/hpc/video_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: video_subr.c,v 1.11 2008/04/28 20:23:48 martin Exp $ */ +/* $NetBSD: video_subr.c,v 1.12 2009/03/18 10:22:40 cegger Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: video_subr.c,v 1.11 2008/04/28 20:23:48 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: video_subr.c,v 1.12 2009/03/18 10:22:40 cegger Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -290,7 +290,7 @@ video_dot(struct video_chip *vc, int x, int y) } int -video_reverse_color() +video_reverse_color(void) { struct { int reverse, normal; diff --git a/sys/dev/ic/sl811hs.c b/sys/dev/ic/sl811hs.c index 0ed5ce78ca3..32402c894af 100644 --- a/sys/dev/ic/sl811hs.c +++ b/sys/dev/ic/sl811hs.c @@ -1,4 +1,4 @@ -/* $NetBSD: sl811hs.c,v 1.21 2008/03/28 17:14:45 drochner Exp $ */ +/* $NetBSD: sl811hs.c,v 1.22 2009/03/18 10:22:40 cegger Exp $ */ /* * Not (c) 2007 Matthew Orgass @@ -86,7 +86,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.21 2008/03/28 17:14:45 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.22 2009/03/18 10:22:40 cegger Exp $"); #include <sys/cdefs.h> #include <sys/param.h> @@ -3632,7 +3632,7 @@ slhci_print_intr(void) #if 0 void -slhci_log_sc() +slhci_log_sc(void) { struct slhci_transfers *t; int i; diff --git a/sys/dev/ic/tropic.c b/sys/dev/ic/tropic.c index 750d147e31f..c86919e9df5 100644 --- a/sys/dev/ic/tropic.c +++ b/sys/dev/ic/tropic.c @@ -1,4 +1,4 @@ -/* $NetBSD: tropic.c,v 1.37 2009/03/14 21:04:20 dsl Exp $ */ +/* $NetBSD: tropic.c,v 1.38 2009/03/18 10:22:40 cegger Exp $ */ /* * Ported to NetBSD by Onno van der Linden @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tropic.c,v 1.37 2009/03/14 21:04:20 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tropic.c,v 1.38 2009/03/18 10:22:40 cegger Exp $"); #include "opt_inet.h" #include "bpfilter.h" @@ -1128,11 +1128,11 @@ tr_intr(void *arg) } #ifdef notyet -int asb_reply_rcv() +int asb_reply_rcv(void) { } -int asb_reply_xmit() +int asb_reply_xmit(void) { } diff --git a/sys/dev/ieee1394/fwohci.c b/sys/dev/ieee1394/fwohci.c index 02cbb7fd638..de9ba18f8ac 100644 --- a/sys/dev/ieee1394/fwohci.c +++ b/sys/dev/ieee1394/fwohci.c @@ -1,4 +1,4 @@ -/* $NetBSD: fwohci.c,v 1.115 2008/11/12 12:36:11 ad Exp $ */ +/* $NetBSD: fwohci.c,v 1.116 2009/03/18 10:22:40 cegger Exp $ */ /*- * Copyright (c) 2003 Hidetoshi Shimokawa @@ -37,7 +37,7 @@ * */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.115 2008/11/12 12:36:11 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.116 2009/03/18 10:22:40 cegger Exp $"); #define ATRQ_CH 0 #define ATRS_CH 1 @@ -880,7 +880,7 @@ fwohci_cyctimer(struct firewire_comm *fc) return(OREAD(sc, OHCI_CYCLETIMER)); } -FWOHCI_DETACH() +FWOHCI_DETACH(void) { int i; diff --git a/sys/dev/isa/spkr.c b/sys/dev/isa/spkr.c index ebfda255660..7ddfddc725c 100644 --- a/sys/dev/isa/spkr.c +++ b/sys/dev/isa/spkr.c @@ -1,4 +1,4 @@ -/* $NetBSD: spkr.c,v 1.29 2009/01/11 10:43:06 cegger Exp $ */ +/* $NetBSD: spkr.c,v 1.30 2009/03/18 10:22:40 cegger Exp $ */ /* * Copyright (c) 1990 Eric S. Raymond (esr@snark.thyrsus.com) @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: spkr.c,v 1.29 2009/01/11 10:43:06 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: spkr.c,v 1.30 2009/03/18 10:22:40 cegger Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -171,7 +171,7 @@ static const int pitchtab[] = #define NOCTAVES (__arraycount(pitchtab) / OCTAVE_NOTES) static void -playinit() +playinit(void) { octave = DFLT_OCTAVE; whole = (hz * SECS_PER_MIN * WHOLE_NOTE) / DFLT_TEMPO; diff --git a/sys/dev/kloader.c b/sys/dev/kloader.c index 14342ac77b3..5418791b4fd 100644 --- a/sys/dev/kloader.c +++ b/sys/dev/kloader.c @@ -1,4 +1,4 @@ -/* $NetBSD: kloader.c,v 1.18 2008/06/04 12:41:40 ad Exp $ */ +/* $NetBSD: kloader.c,v 1.19 2009/03/18 10:22:39 cegger Exp $ */ /*- * Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.18 2008/06/04 12:41:40 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.19 2009/03/18 10:22:39 cegger Exp $"); #include "debug_kloader.h" @@ -145,7 +145,7 @@ __kloader_reboot_setup(struct kloader_ops *ops, const char *filename) void -kloader_reboot() +kloader_reboot(void) { if (kloader.setuped) { @@ -165,7 +165,7 @@ kloader_reboot() int -kloader_load() +kloader_load(void) { Elf_Ehdr eh; Elf_Phdr *ph, *p; @@ -610,7 +610,7 @@ kloader_open(const char *filename) } void -kloader_close() +kloader_close(void) { struct lwp *l = KLOADER_LWP; struct vnode *vp = kloader.vp; @@ -675,7 +675,7 @@ kloader_bootinfo_set(struct kloader_bootinfo *kbi, int argc, char *argv[], #ifdef KLOADER_DEBUG void -kloader_pagetag_dump() +kloader_pagetag_dump(void) { struct kloader_page_tag *tag = kloader.tagstart; struct kloader_page_tag *p, *op; diff --git a/sys/dev/marvell/gt.c b/sys/dev/marvell/gt.c index 2b7a5ef9e7c..22d1e70f00c 100644 --- a/sys/dev/marvell/gt.c +++ b/sys/dev/marvell/gt.c @@ -1,4 +1,4 @@ -/* $NetBSD: gt.c,v 1.18 2008/06/17 22:41:30 he Exp $ */ +/* $NetBSD: gt.c,v 1.19 2009/03/18 10:22:40 cegger Exp $ */ /* * Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.18 2008/06/17 22:41:30 he Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.19 2009/03/18 10:22:40 cegger Exp $"); #include "opt_marvell.h" #include "locators.h" @@ -863,7 +863,7 @@ gt_watchdog_service(void) * gt_watchdog_reset - force a watchdog reset using Preset_VAL=0 */ void -gt_watchdog_reset() +gt_watchdog_reset(void) { struct gt_softc *gt = gt_watchdog_sc; u_int32_t r; diff --git a/sys/dev/marvell/gtidma.c b/sys/dev/marvell/gtidma.c index 2f7ccf7bb05..65fe302fbf8 100644 --- a/sys/dev/marvell/gtidma.c +++ b/sys/dev/marvell/gtidma.c @@ -1,4 +1,4 @@ -/* $NetBSD: gtidma.c,v 1.15 2009/01/03 03:43:22 yamt Exp $ */ +/* $NetBSD: gtidma.c,v 1.16 2009/03/18 10:22:40 cegger Exp $ */ /* * Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc. @@ -44,7 +44,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: gtidma.c,v 1.15 2009/01/03 03:43:22 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gtidma.c,v 1.16 2009/03/18 10:22:40 cegger Exp $"); #include "opt_idma.h" #include "opt_ddb.h" @@ -126,7 +126,7 @@ unsigned char idmalock[CACHELINESIZE] |IDMA_CTLLO_DESCMODE) static inline u_int64_t -_mftb() +_mftb(void) { u_long scratch; u_int64_t tb; diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c index e04387910c8..ed8069dd206 100644 --- a/sys/dev/microcode/aic7xxx/aicasm.c +++ b/sys/dev/microcode/aic7xxx/aicasm.c @@ -1,4 +1,4 @@ -/* $NetBSD: aicasm.c,v 1.6 2005/12/11 12:22:18 christos Exp $ */ +/* $NetBSD: aicasm.c,v 1.7 2009/03/18 10:22:40 cegger Exp $ */ /* * Aic7xxx SCSI host adapter firmware asssembler @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: aicasm.c,v 1.6 2005/12/11 12:22:18 christos Exp $"); +__RCSID("$NetBSD: aicasm.c,v 1.7 2009/03/18 10:22:40 cegger Exp $"); #include <sys/types.h> #include <sys/mman.h> @@ -309,7 +309,7 @@ main(int argc, char *argv[]) } static void -usage() +usage(void) { (void)fprintf(stderr, @@ -321,7 +321,7 @@ usage() } static void -back_patch() +back_patch(void) { struct instruction *cur_instr; @@ -350,7 +350,7 @@ back_patch() } static void -output_code() +output_code(void) { struct instruction *cur_instr; patch_t *cur_patch; @@ -725,7 +725,7 @@ stop(const char *string, int err_code) } struct instruction * -seq_alloc() +seq_alloc(void) { struct instruction *new_instr; @@ -739,7 +739,7 @@ seq_alloc() } critical_section_t * -cs_alloc() +cs_alloc(void) { critical_section_t *new_cs; @@ -753,7 +753,7 @@ cs_alloc() } scope_t * -scope_alloc() +scope_alloc(void) { scope_t *new_scope; diff --git a/sys/dev/microcode/aic7xxx/aicasm_symbol.c b/sys/dev/microcode/aic7xxx/aicasm_symbol.c index 377bba7bc14..f6e5d9a6fa3 100644 --- a/sys/dev/microcode/aic7xxx/aicasm_symbol.c +++ b/sys/dev/microcode/aic7xxx/aicasm_symbol.c @@ -1,4 +1,4 @@ -/* $NetBSD: aicasm_symbol.c,v 1.5 2005/12/11 12:22:18 christos Exp $ */ +/* $NetBSD: aicasm_symbol.c,v 1.6 2009/03/18 10:22:40 cegger Exp $ */ /* * Aic7xxx SCSI host adapter firmware asssembler symbol table implementation @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: aicasm_symbol.c,v 1.5 2005/12/11 12:22:18 christos Exp $"); +__RCSID("$NetBSD: aicasm_symbol.c,v 1.6 2009/03/18 10:22:40 cegger Exp $"); #include <sys/types.h> @@ -131,7 +131,7 @@ symbol_delete(symbol_t *symbol) } void -symtable_open() +symtable_open(void) { symtable = dbopen(/*filename*/NULL, O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH, @@ -145,7 +145,7 @@ symtable_open() } void -symtable_close() +symtable_close(void) { if (symtable != NULL) { DBT key; diff --git a/sys/dev/microcode/cyclades-z/cyzfirm2h.c b/sys/dev/microcode/cyclades-z/cyzfirm2h.c index dfad90527cc..eb84cfad5a2 100644 --- a/sys/dev/microcode/cyclades-z/cyzfirm2h.c +++ b/sys/dev/microcode/cyclades-z/cyzfirm2h.c @@ -1,4 +1,4 @@ -/* $NetBSD: cyzfirm2h.c,v 1.5 2005/12/11 12:22:18 christos Exp $ */ +/* $NetBSD: cyzfirm2h.c,v 1.6 2009/03/18 10:22:41 cegger Exp $ */ /*- * Copyright (c) 2000 Zembu Labs, Inc. @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: cyzfirm2h.c,v 1.5 2005/12/11 12:22:18 christos Exp $"); +__RCSID("$NetBSD: cyzfirm2h.c,v 1.6 2009/03/18 10:22:41 cegger Exp $"); #include <sys/types.h> #include <sys/mman.h> @@ -99,7 +99,7 @@ main(int argc, char *argv[]) err(1, "unable to mmap input file"); (void) close(i); - fprintf(out_file, "/*\t$NetBSD: cyzfirm2h.c,v 1.5 2005/12/11 12:22:18 christos Exp $\t*/\n\n"); + fprintf(out_file, "/*\t$NetBSD: cyzfirm2h.c,v 1.6 2009/03/18 10:22:41 cegger Exp $\t*/\n\n"); fprintf(out_file, "\ /* * Firmware for Cyclades Z series multiport serial boards. @@ -131,7 +131,7 @@ main(int argc, char *argv[]) } void -usage() +usage(void) { fprintf(stderr, "usage: %s infile outfile\n", getprogname()); diff --git a/sys/dev/ofw/ofcons.c b/sys/dev/ofw/ofcons.c index 3d3d1e2b78b..de9ad7cc541 100644 --- a/sys/dev/ofw/ofcons.c +++ b/sys/dev/ofw/ofcons.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofcons.c,v 1.37 2009/03/14 21:04:21 dsl Exp $ */ +/* $NetBSD: ofcons.c,v 1.38 2009/03/18 10:22:41 cegger Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ofcons.c,v 1.37 2009/03/14 21:04:21 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofcons.c,v 1.38 2009/03/18 10:22:41 cegger Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -255,7 +255,7 @@ ofcons_pollin(void *aux) } static int -ofcons_probe() +ofcons_probe(void) { int chosen; char stdinbuf[4], stdoutbuf[4]; diff --git a/sys/dev/pud/pud.c b/sys/dev/pud/pud.c index 7dd0743de97..5ddca549781 100644 --- a/sys/dev/pud/pud.c +++ b/sys/dev/pud/pud.c @@ -1,4 +1,4 @@ -/* $NetBSD: pud.c,v 1.7 2009/01/20 18:20:48 drochner Exp $ */ +/* $NetBSD: pud.c,v 1.8 2009/03/18 10:22:41 cegger Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.7 2009/01/20 18:20:48 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pud.c,v 1.8 2009/03/18 10:22:41 cegger Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -371,7 +371,7 @@ pud_config(int fd, int flags, int fmt) } void -pudattach() +pudattach(void) { int error; diff --git a/sys/dev/putter/putter.c b/sys/dev/putter/putter.c index 8011d942f45..e6577c34d68 100644 --- a/sys/dev/putter/putter.c +++ b/sys/dev/putter/putter.c @@ -1,4 +1,4 @@ -/* $NetBSD: putter.c,v 1.19 2009/01/20 18:20:48 drochner Exp $ */ +/* $NetBSD: putter.c,v 1.20 2009/03/18 10:22:41 cegger Exp $ */ /* * Copyright (c) 2006, 2007 Antti Kantee. All Rights Reserved. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.19 2009/01/20 18:20:48 drochner Exp $"); +__KERNEL_RCSID(0, "$NetBSD: putter.c,v 1.20 2009/03/18 10:22:41 cegger Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -147,7 +147,7 @@ static kmutex_t pi_mtx; void putterattach(void); void -putterattach() +putterattach(void) { mutex_init(&pi_mtx, MUTEX_DEFAULT, IPL_NONE); @@ -155,7 +155,7 @@ putterattach() #if 0 void -putter_destroy() +putter_destroy(void) { mutex_destroy(&pi_mtx); diff --git a/sys/dev/qbus/qd.c b/sys/dev/qbus/qd.c index ab88d7e2a74..9653ca4b070 100644 --- a/sys/dev/qbus/qd.c +++ b/sys/dev/qbus/qd.c @@ -1,4 +1,4 @@ -/* $NetBSD: qd.c,v 1.46 2009/03/14 21:04:22 dsl Exp $ */ +/* $NetBSD: qd.c,v 1.47 2009/03/18 10:22:41 cegger Exp $ */ /*- * Copyright (c) 1988 Regents of the University of California. @@ -58,7 +58,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: qd.c,v 1.46 2009/03/14 21:04:22 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: qd.c,v 1.47 2009/03/18 10:22:41 cegger Exp $"); #include "opt_ddb.h" @@ -402,7 +402,7 @@ int qd0cninited = 0, qd0iscons = 0; * any memory for it in bootstrap. */ void -qdearly() +qdearly(void) { extern vaddr_t virtual_avail; int tmp; diff --git a/sys/dev/raidframe/rf_debugMem.c b/sys/dev/raidframe/rf_debugMem.c index ff0d86e8aa2..7d04732ccaa 100644 --- a/sys/dev/raidframe/rf_debugMem.c +++ b/sys/dev/raidframe/rf_debugMem.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_debugMem.c,v 1.19 2008/02/12 03:12:41 oster Exp $ */ +/* $NetBSD: rf_debugMem.c,v 1.20 2009/03/18 10:22:41 cegger Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_debugMem.c,v 1.19 2008/02/12 03:12:41 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_debugMem.c,v 1.20 2009/03/18 10:22:41 cegger Exp $"); #include <dev/raidframe/raidframevar.h> @@ -93,7 +93,7 @@ rf_unrecord_malloc(void *p, int sz) } void -rf_print_unfreed() +rf_print_unfreed(void) { int i, foundone = 0; struct mh_struct *p; diff --git a/sys/dev/raidframe/rf_geniq.c b/sys/dev/raidframe/rf_geniq.c index bf286d5242c..d89847094f3 100644 --- a/sys/dev/raidframe/rf_geniq.c +++ b/sys/dev/raidframe/rf_geniq.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_geniq.c,v 1.5 2009/03/14 21:04:22 dsl Exp $ */ +/* $NetBSD: rf_geniq.c,v 1.6 2009/03/18 10:22:41 cegger Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_geniq.c,v 1.5 2009/03/14 21:04:22 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_geniq.c,v 1.6 2009/03/18 10:22:41 cegger Exp $"); #define RF_UTILITY 1 #include "rf_pqdeg.h" @@ -67,7 +67,7 @@ lsfr_shift(unsigned val, unsigned poly) RF_ua32_t rf_qfor[32]; void -main() +main(void) { unsigned int i, j, l, a, b; unsigned int val; diff --git a/sys/dev/sequencer.c b/sys/dev/sequencer.c index f5e28e50208..0e55325b2d5 100644 --- a/sys/dev/sequencer.c +++ b/sys/dev/sequencer.c @@ -1,4 +1,4 @@ -/* $NetBSD: sequencer.c,v 1.51 2009/01/11 10:40:27 cegger Exp $ */ +/* $NetBSD: sequencer.c,v 1.52 2009/03/18 10:22:39 cegger Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sequencer.c,v 1.51 2009/01/11 10:40:27 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sequencer.c,v 1.52 2009/03/18 10:22:39 cegger Exp $"); #include "sequencer.h" @@ -1367,7 +1367,7 @@ const struct cdevsw midi_cdevsw = { */ int -midi_unit_count() +midi_unit_count(void) { return (0); } diff --git a/sys/dev/sun/fb.c b/sys/dev/sun/fb.c index 95454ff9f1e..09d997851b1 100644 --- a/sys/dev/sun/fb.c +++ b/sys/dev/sun/fb.c @@ -1,4 +1,4 @@ -/* $NetBSD: fb.c,v 1.30 2009/03/14 21:04:23 dsl Exp $ */ +/* $NetBSD: fb.c,v 1.31 2009/03/18 10:22:41 cegger Exp $ */ /* * Copyright (c) 1992, 1993 @@ -46,7 +46,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: fb.c,v 1.30 2009/03/14 21:04:23 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fb.c,v 1.31 2009/03/18 10:22:41 cegger Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -92,7 +92,7 @@ const struct cdevsw fb_cdevsw = { }; void -fb_unblank() +fb_unblank(void) { struct fbdevlist *fbl = &fblist; @@ -501,14 +501,14 @@ fbrcons_init(struct fbdevice *fb) } int -fbrcons_rows() +fbrcons_rows(void) { return ((fblist.fb_dev != NULL) ? fblist.fb_dev->fb_rcons.rc_maxrow : 0); } int -fbrcons_cols() +fbrcons_cols(void) { return ((fblist.fb_dev != NULL) ? fblist.fb_dev->fb_rcons.rc_maxcol : 0); diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index 1f4822e9cb2..df70984747a 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.156 2008/12/16 22:35:35 christos Exp $ */ +/* $NetBSD: ehci.c,v 1.157 2009/03/18 10:22:41 cegger Exp $ */ /* * Copyright (c) 2004-2008 The NetBSD Foundation, Inc. @@ -52,7 +52,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.156 2008/12/16 22:35:35 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.157 2009/03/18 10:22:41 cegger Exp $"); #include "ohci.h" #include "uhci.h" @@ -1368,7 +1368,7 @@ ehci_dump_regs(ehci_softc_t *sc) * debugger. */ void -ehci_dump() +ehci_dump(void) { ehci_dump_regs(theehci); } diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c index fe26ba4d8b2..2c3f5164946 100644 --- a/sys/dev/usb/if_udav.c +++ b/sys/dev/usb/if_udav.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_udav.c,v 1.24 2008/05/24 16:40:58 cube Exp $ */ +/* $NetBSD: if_udav.c,v 1.25 2009/03/18 10:22:41 cegger Exp $ */ /* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */ /* * Copyright (c) 2003 @@ -44,7 +44,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.24 2008/05/24 16:40:58 cube Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_udav.c,v 1.25 2009/03/18 10:22:41 cegger Exp $"); #include "opt_inet.h" #include "bpfilter.h" @@ -1208,7 +1208,7 @@ udav_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) } #if 0 -Static void udav_intr() +Static void udav_intr(void) { } #endif diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c index e16677414e3..ce2f330a00b 100644 --- a/sys/dev/usb/if_url.c +++ b/sys/dev/usb/if_url.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_url.c,v 1.32 2008/05/24 16:40:58 cube Exp $ */ +/* $NetBSD: if_url.c,v 1.33 2009/03/18 10:22:42 cegger Exp $ */ /* * Copyright (c) 2001, 2002 * Shingo WATANABE <nabe@nabechan.org>. All rights reserved. @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_url.c,v 1.32 2008/05/24 16:40:58 cube Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_url.c,v 1.33 2009/03/18 10:22:42 cegger Exp $"); #include "opt_inet.h" #include "bpfilter.h" @@ -1090,7 +1090,7 @@ url_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) } #if 0 -Static void url_intr() +Static void url_intr(void) { } #endif diff --git a/sys/dev/vme/xd.c b/sys/dev/vme/xd.c index 9b52b4f3c31..df39418998f 100644 --- a/sys/dev/vme/xd.c +++ b/sys/dev/vme/xd.c @@ -1,4 +1,4 @@ -/* $NetBSD: xd.c,v 1.80 2009/03/14 21:04:23 dsl Exp $ */ +/* $NetBSD: xd.c,v 1.81 2009/03/18 10:22:42 cegger Exp $ */ /* * @@ -51,7 +51,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.80 2009/03/14 21:04:23 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xd.c,v 1.81 2009/03/18 10:22:42 cegger Exp $"); #undef XDC_DEBUG /* full debug */ #define XDC_DIAG /* extra sanity checks */ @@ -257,7 +257,7 @@ int XDC_DELAY; #if defined(__sparc__) #include <sparc/sparc/vaddrs.h> #include <sparc/sparc/cpuvar.h> -void xdc_md_setup() +void xdc_md_setup(void) { if (CPU_ISSUN4 && cpuinfo.cpu_type == CPUTYP_4_300) XDC_DELAY = XDC_DELAY_4_300; @@ -265,12 +265,12 @@ void xdc_md_setup() XDC_DELAY = XDC_DELAY_SPARC; } #elif defined(sun3) -void xdc_md_setup() +void xdc_md_setup(void) { XDC_DELAY = XDC_DELAY_SUN3; } #else -void xdc_md_setup() +void xdc_md_setup(void) { XDC_DELAY = 0; } |
