summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorryo <ryo@NetBSD.org>2021-10-25 07:40:29 +0000
committerryo <ryo@NetBSD.org>2021-10-25 07:40:29 +0000
commit3963cf7edb63463350c5d27f5d0fb01193db7be2 (patch)
treeacb4f04fb16b54772964f0caae69df7f3edd3d3a /sys/dev/microcode
parentd9847b8b05ee44ed7579d9166af5b6b051c4d90a (diff)
fix build failure of "multiple definition"
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm_gram.y3
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm_symbol.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/microcode/aic7xxx/aicasm_gram.y b/sys/dev/microcode/aic7xxx/aicasm_gram.y
index 3e2cf0fe1d3..c22c967db51 100644
--- a/sys/dev/microcode/aic7xxx/aicasm_gram.y
+++ b/sys/dev/microcode/aic7xxx/aicasm_gram.y
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: aicasm_gram.y,v 1.8 2021/09/19 10:34:09 andvar Exp $ */
+/* $NetBSD: aicasm_gram.y,v 1.9 2021/10/25 07:40:29 ryo Exp $ */
/*
* Parser for the Aic7xxx SCSI Host adapter sequencer assembler.
@@ -62,7 +62,6 @@
#include "aicasm_symbol.h"
#include "aicasm_insformat.h"
-int yylineno;
char *yyfilename;
char stock_prefix[] = "aic_";
char *prefix = stock_prefix;
diff --git a/sys/dev/microcode/aic7xxx/aicasm_symbol.h b/sys/dev/microcode/aic7xxx/aicasm_symbol.h
index 0c7657b34ed..f198bbfcb63 100644
--- a/sys/dev/microcode/aic7xxx/aicasm_symbol.h
+++ b/sys/dev/microcode/aic7xxx/aicasm_symbol.h
@@ -1,4 +1,4 @@
-/* $NetBSD: aicasm_symbol.h,v 1.2 2003/04/19 19:26:11 fvdl Exp $ */
+/* $NetBSD: aicasm_symbol.h,v 1.3 2021/10/25 07:40:29 ryo Exp $ */
/*
* Aic7xxx SCSI host adapter firmware asssembler symbol table definitions
@@ -112,7 +112,7 @@ struct macro_arg {
regex_t arg_regex;
char *replacement_text;
};
-STAILQ_HEAD(macro_arg_list, macro_arg) args;
+STAILQ_HEAD(macro_arg_list, macro_arg);
struct macro_info {
struct macro_arg_list args;