summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/aic7xxx
diff options
context:
space:
mode:
authorcegger <cegger@NetBSD.org>2009-03-18 10:22:21 +0000
committercegger <cegger@NetBSD.org>2009-03-18 10:22:21 +0000
commitdf7f595ecd6efe54ea7c11083e2dbf711cad4b31 (patch)
tree2e70fb4fc9234da64b5c0d61f729656db3c80105 /sys/dev/microcode/aic7xxx
parent61260da8850e8a6c3adc941d28160d30877a0c04 (diff)
Ansify function definitions w/o arguments. Generated with sed.
Diffstat (limited to 'sys/dev/microcode/aic7xxx')
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm.c16
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm_symbol.c8
2 files changed, 12 insertions, 12 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;