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/microcode | |
| parent | 61260da8850e8a6c3adc941d28160d30877a0c04 (diff) | |
Ansify function definitions w/o arguments. Generated with sed.
Diffstat (limited to 'sys/dev/microcode')
| -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 |
3 files changed, 16 insertions, 16 deletions
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()); |
