diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-19 16:17:03 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:56 -0700 |
commit | caf26a31b51a148f70113700fd4f9860b5da3931 (patch) | |
tree | 3409b37bf85a952830cb423baa76b09ae7a19d85 /drivers/staging/hv/osd.h | |
parent | 0ccafb365803b3256aa75fd07bf9e5c6814a260d (diff) |
Staging: hv: osd.h: remove GUID typedef
GUID should not be a typedef. As proof of the problem of typedefs,
look, we are passing 2 of these as a value in functions! Bah...
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/osd.h')
-rw-r--r-- | drivers/staging/hv/osd.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/staging/hv/osd.h b/drivers/staging/hv/osd.h index 1723248db91..9504604c72b 100644 --- a/drivers/staging/hv/osd.h +++ b/drivers/staging/hv/osd.h @@ -38,14 +38,9 @@ #define LOWORD(dw) ((unsigned short)(dw)) #define HIWORD(dw) ((unsigned short)(((unsigned int) (dw) >> 16) & 0xFFFF)) -typedef struct _DLIST_ENTRY { - struct _DLIST_ENTRY *Flink; - struct _DLIST_ENTRY *Blink; -} DLIST_ENTRY; - -typedef struct { - unsigned char Data[16]; -} GUID; +struct hv_guid { + unsigned char data[16]; +}; struct osd_waitevent { int condition; |