[ofa-general] [PATCH] opensm/osm_qos_parser: fixed compilation on byacc
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Mon Mar 10 07:56:23 PDT 2008
Hi Sasha.
Fixing compilation with byacc (bug 932).
Please apply to ofed_1_3 and master.
-- Yevgeny
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
opensm/opensm/osm_qos_parser.l | 1 +
opensm/opensm/osm_qos_parser.y | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/opensm/opensm/osm_qos_parser.l b/opensm/opensm/osm_qos_parser.l
index 41f8720..32e8ab3 100644
--- a/opensm/opensm/osm_qos_parser.l
+++ b/opensm/opensm/osm_qos_parser.l
@@ -56,6 +56,7 @@ static void save_pos();
extern int column_num;
extern int line_num;
extern FILE * __qos_parser_in;
+extern YYSTYPE __qos_parser_lval;
boolean_t in_description = FALSE;
boolean_t in_list_of_hex_num_ranges = FALSE;
diff --git a/opensm/opensm/osm_qos_parser.y b/opensm/opensm/osm_qos_parser.y
index 6595091..040c355 100644
--- a/opensm/opensm/osm_qos_parser.y
+++ b/opensm/opensm/osm_qos_parser.y
@@ -149,6 +149,7 @@ extern char * __qos_parser_text;
extern int __qos_parser_lex (void);
extern FILE * __qos_parser_in;
extern int errno;
+int __qos_parser_parse();
#define RESET_BUFFER __parser_tmp_struct_reset()
--
1.5.1.4
More information about the general
mailing list