svn commit: r203775 - head/lib/libusb
Wojciech A. Koszek
wkoszek at FreeBSD.org
Thu Feb 11 08:34:41 UTC 2010
Author: wkoszek
Date: Thu Feb 11 08:34:41 2010
New Revision: 203775
URL: http://svn.freebsd.org/changeset/base/203775
Log:
Remove redundand headers and use more standard ones where necessary.
Reviewed by: hps@
Modified:
head/lib/libusb/libusb.h
head/lib/libusb/libusb10_desc.c
head/lib/libusb/libusb10_io.c
head/lib/libusb/libusb20_desc.c
head/lib/libusb/libusb20_ugen20.c
head/lib/libusb/usb.h
Modified: head/lib/libusb/libusb.h
==============================================================================
--- head/lib/libusb/libusb.h Thu Feb 11 08:30:43 2010 (r203774)
+++ head/lib/libusb/libusb.h Thu Feb 11 08:34:41 2010 (r203775)
@@ -29,12 +29,7 @@
#include <sys/time.h>
#include <sys/types.h>
-#include <sys/endian.h>
-#include <stdint.h>
-#include <time.h>
-#include <string.h>
-#include <pthread.h>
#ifdef __cplusplus
Modified: head/lib/libusb/libusb10_desc.c
==============================================================================
--- head/lib/libusb/libusb10_desc.c Thu Feb 11 08:30:43 2010 (r203774)
+++ head/lib/libusb/libusb10_desc.c Thu Feb 11 08:34:41 2010 (r203775)
@@ -26,7 +26,6 @@
#include <stdlib.h>
#include <stdio.h>
-#include <pthread.h>
#include <sys/queue.h>
#include "libusb20.h"
Modified: head/lib/libusb/libusb10_io.c
==============================================================================
--- head/lib/libusb/libusb10_io.c Thu Feb 11 08:30:43 2010 (r203774)
+++ head/lib/libusb/libusb10_io.c Thu Feb 11 08:34:41 2010 (r203775)
@@ -32,7 +32,6 @@
#include <time.h>
#include <errno.h>
#include <sys/queue.h>
-#include <sys/endian.h>
#include "libusb20.h"
#include "libusb20_desc.h"
Modified: head/lib/libusb/libusb20_desc.c
==============================================================================
--- head/lib/libusb/libusb20_desc.c Thu Feb 11 08:30:43 2010 (r203774)
+++ head/lib/libusb/libusb20_desc.c Thu Feb 11 08:34:41 2010 (r203775)
@@ -27,7 +27,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <poll.h>
#include <sys/queue.h>
#include "libusb20.h"
Modified: head/lib/libusb/libusb20_ugen20.c
==============================================================================
--- head/lib/libusb/libusb20_ugen20.c Thu Feb 11 08:30:43 2010 (r203774)
+++ head/lib/libusb/libusb20_ugen20.c Thu Feb 11 08:34:41 2010 (r203775)
@@ -31,7 +31,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-#include <poll.h>
#include <fcntl.h>
#include <errno.h>
Modified: head/lib/libusb/usb.h
==============================================================================
--- head/lib/libusb/usb.h Thu Feb 11 08:30:43 2010 (r203774)
+++ head/lib/libusb/usb.h Thu Feb 11 08:34:41 2010 (r203775)
@@ -27,8 +27,7 @@
#ifndef _LIBUSB20_COMPAT_01_H_
#define _LIBUSB20_COMPAT_01_H_
-#include <sys/stdint.h>
-#include <sys/endian.h>
+#include <stdint.h>
#include <sys/types.h>
#include <sys/param.h>
More information about the svn-src-head
mailing list