Date: Mon, 22 Nov 2010 14:16:22 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r215676 - in head: sbin/hastd usr.bin/colldef usr.sbin/apmd usr.sbin/bluetooth/bthidd usr.sbin/bluetooth/hcsecd usr.sbin/config usr.sbin/kbdcontrol Message-ID: <201011221416.oAMEGMAY094015@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brucec Date: Mon Nov 22 14:16:22 2010 New Revision: 215676 URL: http://svn.freebsd.org/changeset/base/215676 Log: Don't generate input() since it's not used. Modified: head/sbin/hastd/Makefile head/usr.bin/colldef/Makefile head/usr.sbin/apmd/apmdlex.l head/usr.sbin/bluetooth/bthidd/lexer.l head/usr.sbin/bluetooth/hcsecd/lexer.l head/usr.sbin/config/lang.l head/usr.sbin/kbdcontrol/lex.l Modified: head/sbin/hastd/Makefile ============================================================================== --- head/sbin/hastd/Makefile Mon Nov 22 12:42:32 2010 (r215675) +++ head/sbin/hastd/Makefile Mon Nov 22 14:16:22 2010 (r215676) @@ -25,6 +25,7 @@ CFLAGS+=-DINET6 .endif # This is needed to have WARNS > 1. CFLAGS+=-DYY_NO_UNPUT +CFLAGS+=-DYY_NO_INPUT DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBL} ${LIBPTHREAD} ${LIBUTIL} LDADD= -lgeom -lbsdxml -lsbuf -ll -lpthread -lutil Modified: head/usr.bin/colldef/Makefile ============================================================================== --- head/usr.bin/colldef/Makefile Mon Nov 22 12:42:32 2010 (r215675) +++ head/usr.bin/colldef/Makefile Mon Nov 22 14:16:22 2010 (r215676) @@ -4,7 +4,7 @@ PROG= colldef SRCS= parse.y scan.l y.tab.h LFLAGS= -8 -i CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale -CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT +CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT -DYY_NO_INPUT LDADD= -ll DPADD= ${LIBL} Modified: head/usr.sbin/apmd/apmdlex.l ============================================================================== --- head/usr.sbin/apmd/apmdlex.l Mon Nov 22 12:42:32 2010 (r215675) +++ head/usr.sbin/apmd/apmdlex.l Mon Nov 22 14:16:22 2010 (r215676) @@ -38,6 +38,7 @@ /* We don't need it, avoid the warning. */ #define YY_NO_UNPUT +#define YY_NO_INPUT int lineno; int first_time; Modified: head/usr.sbin/bluetooth/bthidd/lexer.l ============================================================================== --- head/usr.sbin/bluetooth/bthidd/lexer.l Mon Nov 22 12:42:32 2010 (r215675) +++ head/usr.sbin/bluetooth/bthidd/lexer.l Mon Nov 22 14:16:22 2010 (r215676) @@ -39,7 +39,7 @@ int yylex (void); %} -%option yylineno noyywrap nounput +%option yylineno noyywrap nounput noinput delim [ \t\n] ws {delim}+ Modified: head/usr.sbin/bluetooth/hcsecd/lexer.l ============================================================================== --- head/usr.sbin/bluetooth/hcsecd/lexer.l Mon Nov 22 12:42:32 2010 (r215675) +++ head/usr.sbin/bluetooth/hcsecd/lexer.l Mon Nov 22 14:16:22 2010 (r215676) @@ -34,7 +34,7 @@ #include "parser.h" %} -%option yylineno noyywrap nounput +%option yylineno noyywrap nounput noinput delim [ \t\n] ws {delim}+ Modified: head/usr.sbin/config/lang.l ============================================================================== --- head/usr.sbin/config/lang.l Mon Nov 22 12:42:32 2010 (r215675) +++ head/usr.sbin/config/lang.l Mon Nov 22 14:16:22 2010 (r215676) @@ -39,6 +39,7 @@ #include "config.h" #define YY_NO_UNPUT +#define YY_NO_INPUT /* * Data for returning to previous files from include files. Modified: head/usr.sbin/kbdcontrol/lex.l ============================================================================== --- head/usr.sbin/kbdcontrol/lex.l Mon Nov 22 12:42:32 2010 (r215675) +++ head/usr.sbin/kbdcontrol/lex.l Mon Nov 22 14:16:22 2010 (r215676) @@ -32,6 +32,7 @@ #include "lex.h" #define YY_NO_UNPUT +#define YY_NO_INPUT %}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011221416.oAMEGMAY094015>