From 3963cf7edb63463350c5d27f5d0fb01193db7be2 Mon Sep 17 00:00:00 2001 From: ryo Date: Mon, 25 Oct 2021 07:40:29 +0000 Subject: fix build failure of "multiple definition" --- sys/dev/microcode/aic7xxx/aicasm_gram.y | 3 +-- sys/dev/microcode/aic7xxx/aicasm_symbol.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/dev/microcode') 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; -- cgit