Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb add missing rcsid and multiple include protection.



details:   https://anonhg.NetBSD.org/src/rev/9f2a0f3a0ab8
branches:  trunk
changeset: 781099:9f2a0f3a0ab8
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 19 07:55:54 2012 +0000

description:
add missing rcsid and multiple include protection.

diffstat:

 sys/dev/usb/if_otus.c    |  4 +++-
 sys/dev/usb/if_otusreg.h |  5 ++++-
 sys/dev/usb/if_otusvar.h |  6 +++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diffs (65 lines):

diff -r 885d9876a833 -r 9f2a0f3a0ab8 sys/dev/usb/if_otus.c
--- a/sys/dev/usb/if_otus.c     Sat Aug 18 22:28:23 2012 +0000
+++ b/sys/dev/usb/if_otus.c     Sun Aug 19 07:55:54 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_otus.c,v 1.10 2012/03/11 01:06:06 mrg Exp $ */
+/*     $NetBSD: if_otus.c,v 1.11 2012/08/19 07:55:54 christos Exp $    */
 /*     $OpenBSD: if_otus.c,v 1.18 2010/08/27 17:08:00 jsg Exp $        */
 
 /*-
@@ -17,6 +17,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: if_otus.c,v 1.11 2012/08/19 07:55:54 christos Exp $");
 /*-
  * Driver for Atheros AR9001U chipset.
  * http://www.atheros.com/pt/bulletins/AR9001USBBulletin.pdf
diff -r 885d9876a833 -r 9f2a0f3a0ab8 sys/dev/usb/if_otusreg.h
--- a/sys/dev/usb/if_otusreg.h  Sat Aug 18 22:28:23 2012 +0000
+++ b/sys/dev/usb/if_otusreg.h  Sun Aug 19 07:55:54 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_otusreg.h,v 1.2 2010/11/03 20:03:02 christos Exp $  */
+/*     $NetBSD: if_otusreg.h,v 1.3 2012/08/19 07:55:54 christos Exp $  */
 /*     $OpenBSD: if_otusreg.h,v 1.6 2009/04/06 18:17:01 damien Exp $   */
 
 /*-
@@ -17,6 +17,8 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+#ifndef _IF_OTUSREG_H_
+#define _IF_OTUSREG_H_
 
 /* USB Endpoints addresses. */
 #define AR_EPT_BULK_TX_NO      (UE_DIR_OUT | 1)
@@ -416,3 +418,4 @@
        CAL_CTL_DATA            ctlData[AR5416_NUM_CTLS];
        uint8_t                 padding[3];
 } __packed AR5416_EEPROM;
+#endif /* _IF_OTUSREG_H_ */
diff -r 885d9876a833 -r 9f2a0f3a0ab8 sys/dev/usb/if_otusvar.h
--- a/sys/dev/usb/if_otusvar.h  Sat Aug 18 22:28:23 2012 +0000
+++ b/sys/dev/usb/if_otusvar.h  Sun Aug 19 07:55:54 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_otusvar.h,v 1.1 2010/11/03 20:03:02 christos Exp $  */
+/*     $NetBSD: if_otusvar.h,v 1.2 2012/08/19 07:55:54 christos Exp $  */
 /*     $OpenBSD: if_otusreg.h,v 1.6 2009/04/06 18:17:01 damien Exp $   */
 
 /*-
@@ -17,6 +17,8 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+#ifndef _IF_OTUSVAR_H_
+#define _IF_OTUSVAR_H_
 
 #ifndef HAVE_EDCA
 /************************************************************
@@ -277,3 +279,5 @@
 #define sc_txtap       sc_txtapu.th
        int                             sc_txtap_len;
 };
+
+#endif /* _IF_OTUSVAR_H_ */



Home | Main Index | Thread Index | Old Index