Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 08:34:41 +0000 (UTC)
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203775 - head/lib/libusb
Message-ID:  <201002110834.o1B8YfQh020837@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002110834.o1B8YfQh020837>