parser.y (164700) | parser.y (235789) |
---|---|
1%{ 2/* 3 * parser.y 4 */ 5 6/*- 7 * Copyright (c) 2006 Maksim Yevmenkin <m_evmenkin@yahoo.com> 8 * All rights reserved. --- 15 unchanged lines hidden (view full) --- 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * $Id: parser.y,v 1.7 2006/09/07 21:06:53 max Exp $ | 1%{ 2/* 3 * parser.y 4 */ 5 6/*- 7 * Copyright (c) 2006 Maksim Yevmenkin <m_evmenkin@yahoo.com> 8 * All rights reserved. --- 15 unchanged lines hidden (view full) --- 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * $Id: parser.y,v 1.7 2006/09/07 21:06:53 max Exp $ |
32 * $FreeBSD: head/usr.sbin/bluetooth/bthidd/parser.y 164700 2006-11-27 22:52:11Z emax $ | 32 * $FreeBSD: head/usr.sbin/bluetooth/bthidd/parser.y 235789 2012-05-22 16:33:10Z bapt $ |
33 */ 34 35#include <sys/queue.h> 36#include <bluetooth.h> 37#include <dev/usb/usb.h> 38#include <dev/usb/usbhid.h> 39#include <errno.h> 40#include <limits.h> 41#include <stdio.h> | 33 */ 34 35#include <sys/queue.h> 36#include <bluetooth.h> 37#include <dev/usb/usb.h> 38#include <dev/usb/usbhid.h> 39#include <errno.h> 40#include <limits.h> 41#include <stdio.h> |
42#include <stdlib.h> |
|
42#include <string.h> 43#include <unistd.h> 44#include <usbhid.h> 45 46#ifndef BTHIDCONTROL 47#include <stdarg.h> 48#include <syslog.h> 49#define SYSLOG syslog --- 6 unchanged lines hidden (view full) --- 56#define LOGCRIT stderr 57#define LOGERR stderr 58#define LOGWARNING stderr 59#define EOL "\n" 60#endif /* ndef BTHIDCONTROL */ 61 62#include "bthid_config.h" 63 | 43#include <string.h> 44#include <unistd.h> 45#include <usbhid.h> 46 47#ifndef BTHIDCONTROL 48#include <stdarg.h> 49#include <syslog.h> 50#define SYSLOG syslog --- 6 unchanged lines hidden (view full) --- 57#define LOGCRIT stderr 58#define LOGERR stderr 59#define LOGWARNING stderr 60#define EOL "\n" 61#endif /* ndef BTHIDCONTROL */ 62 63#include "bthid_config.h" 64 |
64 int yyparse (void); | |
65 int yylex (void); 66 void yyerror (char const *); 67static int32_t check_hid_device(hid_device_p hid_device); 68static void free_hid_device (hid_device_p hid_device); 69 70extern FILE *yyin; 71extern int yylineno; 72 char const *config_file = BTHIDD_CONFFILE; --- 403 unchanged lines hidden --- | 65 int yylex (void); 66 void yyerror (char const *); 67static int32_t check_hid_device(hid_device_p hid_device); 68static void free_hid_device (hid_device_p hid_device); 69 70extern FILE *yyin; 71extern int yylineno; 72 char const *config_file = BTHIDD_CONFFILE; --- 403 unchanged lines hidden --- |