Author: rpaulo
Date: Wed Oct 13 10:33:01 2010
New Revision: 213765
URL: http://svn.freebsd.org/changeset/base/213765

Log:
  Define YY_NO_INPUT. This makes aicasm buildable by clang with Werror
  turned on.

Modified:
  head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
  head/sys/dev/aic7xxx/aicasm/aicasm_scan.l

Modified: head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l     Wed Oct 13 10:31:32 
2010        (r213764)
+++ head/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l     Wed Oct 13 10:33:01 
2010        (r213765)
@@ -61,6 +61,7 @@
 #include "aicasm_symbol.h"
 #include "aicasm_macro_gram.h"
 
+#define YY_NO_INPUT
 #define MAX_STR_CONST 4096
 static char string_buf[MAX_STR_CONST];
 static char *string_buf_ptr;

Modified: head/sys/dev/aic7xxx/aicasm/aicasm_scan.l
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/aicasm_scan.l   Wed Oct 13 10:31:32 2010        
(r213764)
+++ head/sys/dev/aic7xxx/aicasm/aicasm_scan.l   Wed Oct 13 10:33:01 2010        
(r213765)
@@ -61,6 +61,7 @@
 #include "aicasm_symbol.h"
 #include "aicasm_gram.h"
 
+#define YY_NO_INPUT
 /* This is used for macro body capture too, so err on the large size. */
 #define MAX_STR_CONST 4096
 static char string_buf[MAX_STR_CONST];
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to