|
From: <mil...@us...> - 2008-02-04 20:34:42
|
Revision: 2784
http://selinux.svn.sourceforge.net/selinux/?rev=2784&view=rev
Author: millertc
Date: 2008-02-04 12:34:39 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
Prevent flex from generating an input() function that we never use.
Avoids a gcc warning.
Signed-off-by: Todd C. Miller <tm...@tr...>
Acked-by: Stephen Smalley <sd...@ty...>
Modified Paths:
--------------
trunk/checkpolicy/policy_scan.l
trunk/libsemanage/src/conf-scan.l
Modified: trunk/checkpolicy/policy_scan.l
===================================================================
--- trunk/checkpolicy/policy_scan.l 2008-02-04 16:34:48 UTC (rev 2783)
+++ trunk/checkpolicy/policy_scan.l 2008-02-04 20:34:39 UTC (rev 2784)
@@ -43,7 +43,7 @@
unsigned int policydb_errors = 0;
%}
-%option nounput
+%option noinput nounput
%array
letter [A-Za-z]
Modified: trunk/libsemanage/src/conf-scan.l
===================================================================
--- trunk/libsemanage/src/conf-scan.l 2008-02-04 16:34:48 UTC (rev 2783)
+++ trunk/libsemanage/src/conf-scan.l 2008-02-04 20:34:39 UTC (rev 2784)
@@ -32,7 +32,7 @@
%}
%option stack prefix="semanage_"
-%option nounput noyy_push_state noyy_pop_state noyy_top_state
+%option noinput nounput noyy_push_state noyy_pop_state noyy_top_state
%x arg
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|