Alexandre Julliard : include: Avoid some type redefinitions.
Module: wine Branch: master Commit: b30517defd743f4295eaada3a7eabe98f31a395a URL: http://source.winehq.org/git/wine.git/?a=commit;h=b30517defd743f4295eaada3a7... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Sep 14 16:19:14 2015 +0900 include: Avoid some type redefinitions. --- include/webservices.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/webservices.h b/include/webservices.h index 744bee4..0a8b206 100644 --- a/include/webservices.h +++ b/include/webservices.h @@ -25,10 +25,11 @@ extern "C" { typedef struct _WS_ERROR WS_ERROR; typedef struct _WS_HEAP WS_HEAP; -typedef struct _WS_STRUCT_DESCRIPTION WS_STRUCT_DESCRIPTION; typedef struct _WS_XML_BUFFER WS_XML_BUFFER; typedef struct _WS_XML_READER WS_XML_READER; -typedef struct _WS_XML_STRING WS_XML_STRING; + +struct _WS_STRUCT_DESCRIPTION; +struct _WS_XML_STRING; typedef enum { WS_ERROR_PROPERTY_STRING_COUNT, @@ -140,10 +141,10 @@ typedef struct _WS_XML_READER_STREAM_INPUT { } WS_XML_READER_STREAM_INPUT; typedef struct _WS_XML_DICTIONARY { - GUID guid; - WS_XML_STRING *strings; - ULONG stringCount; - BOOL isConst; + GUID guid; + struct _WS_XML_STRING *strings; + ULONG stringCount; + BOOL isConst; } WS_XML_DICTIONARY; typedef struct _WS_XML_STRING { @@ -254,8 +255,8 @@ typedef struct _WS_STRUCT_DESCRIPTION { ULONG fieldCount; WS_XML_STRING *typeLocalName; WS_XML_STRING *typeNs; - WS_STRUCT_DESCRIPTION *parentType; - WS_STRUCT_DESCRIPTION **subTypes; + struct _WS_STRUCT_DESCRIPTION *parentType; + struct _WS_STRUCT_DESCRIPTION **subTypes; ULONG subTypeCount; ULONG structOptions; } WS_STRUCT_DESCRIPTION;
participants (1)
-
Alexandre Julliard