summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-05-23 05:42:35 +0000
committerjkim <jkim@FreeBSD.org>2013-05-23 05:42:35 +0000
commitb6198521c8334a27c0e3a8202347654ff272895e (patch)
tree3598651de83142df8fc17b6d40fc42a27bbe410d /usr.sbin/bluetooth
parent68b09f240d29ac65863cfa52dd5ab2c39c09a984 (diff)
downloadFreeBSD-src-b6198521c8334a27c0e3a8202347654ff272895e.zip
FreeBSD-src-b6198521c8334a27c0e3a8202347654ff272895e.tar.gz
Work around build breakages with GCC 4.2.
Reported by: tinderbox
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r--usr.sbin/bluetooth/bthidd/lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/bthidd/lexer.l b/usr.sbin/bluetooth/bthidd/lexer.l
index 54821da..b9f62a1 100644
--- a/usr.sbin/bluetooth/bthidd/lexer.l
+++ b/usr.sbin/bluetooth/bthidd/lexer.l
@@ -37,6 +37,8 @@
#include "parser.h"
int yylex (void);
+
+#define YY_DECL int yylex(void)
%}
%option yylineno noyywrap nounput noinput
OpenPOWER on IntegriCloud