summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl/map_scan.l
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/wsconsctl/map_scan.l')
-rw-r--r--sbin/wsconsctl/map_scan.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/wsconsctl/map_scan.l b/sbin/wsconsctl/map_scan.l
index 60172cc9d45..a660b25dd89 100644
--- a/sbin/wsconsctl/map_scan.l
+++ b/sbin/wsconsctl/map_scan.l
@@ -1,4 +1,4 @@
-/* $OpenBSD: map_scan.l,v 1.5 2015/04/18 18:28:37 deraadt Exp $ */
+/* $OpenBSD: map_scan.l,v 1.6 2015/11/19 19:48:27 tedu Exp $ */
/* $NetBSD: map_scan.l 1.1 1998/12/28 14:01:17 hannken Exp $ */
/*-
@@ -30,6 +30,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+%option noyywrap
+
%{
#include <dev/wscons/wsksymdef.h>
@@ -39,8 +41,6 @@
#include "wsconsctl.h"
#include "y.tab.h"
-#define yywrap() 1
-
void
map_scan_setinput(char *str)
{