diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-22 16:33:10 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-22 16:33:10 +0000 |
commit | 310ab6d7ff9b6ca4c8c1159bdd4eafd63aaf34ba (patch) | |
tree | 4d20581e8625e859c371cf627f8558e129ea0d06 /usr.sbin/bluetooth | |
parent | 3d5972e5d0c6e26393fc904ac9b0ae554e750b1f (diff) | |
download | FreeBSD-src-310ab6d7ff9b6ca4c8c1159bdd4eafd63aaf34ba.zip FreeBSD-src-310ab6d7ff9b6ca4c8c1159bdd4eafd63aaf34ba.tar.gz |
Fix world after byacc import:
- old yacc(1) use to magicially append stdlib.h, while new one don't
- new yacc(1) do declare yyparse by itself, fix redundant declaration of
'yyparse'
Approved by: des (mentor)
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r-- | usr.sbin/bluetooth/bthidd/parser.y | 2 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hcsecd/parser.y | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/bthidd/parser.y b/usr.sbin/bluetooth/bthidd/parser.y index ca49059..50468f4 100644 --- a/usr.sbin/bluetooth/bthidd/parser.y +++ b/usr.sbin/bluetooth/bthidd/parser.y @@ -39,6 +39,7 @@ #include <errno.h> #include <limits.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include <usbhid.h> @@ -61,7 +62,6 @@ #include "bthid_config.h" - int yyparse (void); int yylex (void); void yyerror (char const *); static int32_t check_hid_device(hid_device_p hid_device); diff --git a/usr.sbin/bluetooth/hcsecd/parser.y b/usr.sbin/bluetooth/hcsecd/parser.y index 385bff2..ec91c48 100644 --- a/usr.sbin/bluetooth/hcsecd/parser.y +++ b/usr.sbin/bluetooth/hcsecd/parser.y @@ -36,6 +36,7 @@ #include <errno.h> #include <limits.h> #include <stdio.h> +#include <stdlib.h> #include <stdarg.h> #include <string.h> #include <syslog.h> |