diff options
author | Toomas Soome <tsoome@me.com> | 2020-05-26 10:08:37 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2021-03-12 09:17:32 +0200 |
commit | 830ec39e9a3d673fcf5865875006ab471d56b85b (patch) | |
tree | 094e6c88ebc00d3d713b53d15042bf2572a11b18 | |
parent | 92163adad0f33b8ee626f71225670465b4718da2 (diff) | |
download | illumos-joyent-830ec39e9a3d673fcf5865875006ab471d56b85b.tar.gz |
13553 iasl: multiply-defined symbols
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/cmd/acpi/iasl/aslcompiler.l | 3 | ||||
-rw-r--r-- | usr/src/cmd/acpi/iasl/dtparser.l | 2 | ||||
-rw-r--r-- | usr/src/cmd/acpi/iasl/prparser.l | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/cmd/acpi/iasl/aslcompiler.l b/usr/src/cmd/acpi/iasl/aslcompiler.l index 88c0617ba0..942fd815a3 100644 --- a/usr/src/cmd/acpi/iasl/aslcompiler.l +++ b/usr/src/cmd/acpi/iasl/aslcompiler.l @@ -156,7 +156,8 @@ #include <stdlib.h> #include <string.h> -YYSTYPE AslCompilerlval; + +extern YYSTYPE AslCompilerlval; /* * Generation: Use the following command line: diff --git a/usr/src/cmd/acpi/iasl/dtparser.l b/usr/src/cmd/acpi/iasl/dtparser.l index fae32dba8a..077f47ac38 100644 --- a/usr/src/cmd/acpi/iasl/dtparser.l +++ b/usr/src/cmd/acpi/iasl/dtparser.l @@ -208,7 +208,7 @@ NewLine [\n] /* * Local support functions */ -YY_BUFFER_STATE LexBuffer; +static YY_BUFFER_STATE LexBuffer; /****************************************************************************** * diff --git a/usr/src/cmd/acpi/iasl/prparser.l b/usr/src/cmd/acpi/iasl/prparser.l index 8940197b7c..d3e46d9f60 100644 --- a/usr/src/cmd/acpi/iasl/prparser.l +++ b/usr/src/cmd/acpi/iasl/prparser.l @@ -224,7 +224,7 @@ Identifier [a-zA-Z][0-9a-zA-Z]* /* * Local support functions */ -YY_BUFFER_STATE LexBuffer; +static YY_BUFFER_STATE LexBuffer; /****************************************************************************** |