[PATCH i-g-t] assembler: define YY_NO_INPUT to prevent unused symbol warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Thomas Wood <thomas.wood@xxxxxxxxx>
---
 assembler/lex.l | 1 +
 1 file changed, 1 insertion(+)

diff --git a/assembler/lex.l b/assembler/lex.l
index 4f1f961..81a52ba 100644
--- a/assembler/lex.l
+++ b/assembler/lex.l
@@ -12,6 +12,7 @@ extern char *input_filename;
 /* Locations */
 int yycolumn = 1;
 
+#define YY_NO_INPUT
 #define YY_USER_ACTION						\
 	yylloc.first_line = yylloc.last_line = yylineno;	\
 	yylloc.first_column = yycolumn;				\
-- 
1.8.5.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux