diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 10:33:01 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 10:33:01 +0000 |
commit | b6e55cce6f68ae7af33ca5e725d94a79f2a5fe9d (patch) | |
tree | 75a5abdbe7322b52031a8d9990350f007996be0a /sys | |
parent | 35bffd28c511f768df7821ed4dc1ef77a8619fe9 (diff) | |
download | FreeBSD-src-b6e55cce6f68ae7af33ca5e725d94a79f2a5fe9d.zip FreeBSD-src-b6e55cce6f68ae7af33ca5e725d94a79f2a5fe9d.tar.gz |
Define YY_NO_INPUT. This makes aicasm buildable by clang with Werror
turned on.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l | 1 | ||||
-rw-r--r-- | sys/dev/aic7xxx/aicasm/aicasm_scan.l | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l b/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l index ad06507..a4bd95e 100644 --- a/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l +++ b/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l @@ -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; diff --git a/sys/dev/aic7xxx/aicasm/aicasm_scan.l b/sys/dev/aic7xxx/aicasm/aicasm_scan.l index 2821862..d7b2898 100644 --- a/sys/dev/aic7xxx/aicasm/aicasm_scan.l +++ b/sys/dev/aic7xxx/aicasm/aicasm_scan.l @@ -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]; |