Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 10:33:01 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213765 - head/sys/dev/aic7xxx/aicasm
Message-ID:  <201010131033.o9DAX1EE080534@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010131033.o9DAX1EE080534>