socsvn commit: r255886 - in soc2013/syuu/bhyve_usb/usr.sbin/bhyve: . usb
syuu at FreeBSD.org
syuu at FreeBSD.org
Tue Aug 13 19:25:36 UTC 2013
Author: syuu
Date: Tue Aug 13 19:25:35 2013
New Revision: 255886
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=255886
Log:
move ARRAY_SIZE to header
Modified:
soc2013/syuu/bhyve_usb/usr.sbin/bhyve/Makefile
soc2013/syuu/bhyve_usb/usr.sbin/bhyve/usb/host-libusb.c
Modified: soc2013/syuu/bhyve_usb/usr.sbin/bhyve/Makefile
==============================================================================
--- soc2013/syuu/bhyve_usb/usr.sbin/bhyve/Makefile Tue Aug 13 18:51:26 2013 (r255885)
+++ soc2013/syuu/bhyve_usb/usr.sbin/bhyve/Makefile Tue Aug 13 19:25:35 2013 (r255886)
@@ -21,6 +21,9 @@
.PATH: ${.CURDIR}/usb/gpl
SRCS+= desc.c
+.PATH: ${.CURDIR}/usb/lgpl
+SRCS+= dev-serial.c
+
NO_MAN=
DPADD= ${LIBVMMAPI} ${LIBMD} ${LIBPTHREAD}
Modified: soc2013/syuu/bhyve_usb/usr.sbin/bhyve/usb/host-libusb.c
==============================================================================
--- soc2013/syuu/bhyve_usb/usr.sbin/bhyve/usb/host-libusb.c Tue Aug 13 18:51:26 2013 (r255885)
+++ soc2013/syuu/bhyve_usb/usr.sbin/bhyve/usb/host-libusb.c Tue Aug 13 19:25:35 2013 (r255886)
@@ -53,7 +53,6 @@
OBJECT_CHECK(USBHostDevice, (obj), TYPE_USB_HOST_DEVICE)
#endif
#define USB_HOST_DEVICE(obj) ((struct USBHostDevice *)obj)
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
#define trace_usb_host_req_complete(a,b,c,d,e)
#define trace_usb_host_iso_start(a,b,c)
More information about the svn-soc-all
mailing list