From 5cef08fefab2a1e12eeb54bbb0608448920630e8 Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Mon, 15 Apr 2013 09:23:03 +0000 Subject: Get rid of various 'typedef struct' definitions and use plain structure definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@ --- sys/dev/usb/uaudioreg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/usb/uaudioreg.h') diff --git a/sys/dev/usb/uaudioreg.h b/sys/dev/usb/uaudioreg.h index 27048a525a4..bdc22696518 100644 --- a/sys/dev/usb/uaudioreg.h +++ b/sys/dev/usb/uaudioreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uaudioreg.h,v 1.14 2010/07/23 19:59:09 jakemsr Exp $ */ +/* $OpenBSD: uaudioreg.h,v 1.15 2013/04/15 09:23:02 mglocker Exp $ */ /* $NetBSD: uaudioreg.h,v 1.11 2002/10/23 02:32:37 christos Exp $ */ /* @@ -48,7 +48,7 @@ #define UDESCSUB_AC_EXTENSION 8 /* The first fields are identical to usb_endpoint_descriptor_t */ -typedef struct { +struct usb_endpoint_descriptor_audio { uByte bLength; uByte bDescriptorType; uByte bEndpointAddress; @@ -64,7 +64,7 @@ typedef struct { */ uByte bRefresh; uByte bSynchAddress; -} __packed usb_endpoint_descriptor_audio_t; +} __packed; #define USB_ENDPOINT_DESCRIPTOR_AUDIO_SIZE 9 struct usb_audio_control_descriptor { -- cgit v1.2.3