Mike McCormack : ole32: Clean up some declarations.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jul 12 06:53:43 CDT 2006


Module: wine
Branch: master
Commit: 6c21ac2565273e3266f2b9c750f6d9fe403a9363
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=6c21ac2565273e3266f2b9c750f6d9fe403a9363

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Jul 11 18:38:01 2006 +0900

ole32: Clean up some declarations.

---

 dlls/ole32/stg_prop.c |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c
index 441457b..4764b26 100644
--- a/dlls/ole32/stg_prop.c
+++ b/dlls/ole32/stg_prop.c
@@ -118,25 +118,23 @@ typedef struct tagPROPERTYIDOFFSET
     DWORD dwOffset; /* from beginning of section */
 } PROPERTYIDOFFSET;
 
-struct tagPropertyStorage_impl;
+typedef struct tagPropertyStorage_impl PropertyStorage_impl;
 
 /* Initializes the property storage from the stream (and undoes any uncommitted
  * changes in the process.)  Returns an error if there is an error reading or
  * if the stream format doesn't match what's expected.
  */
-static HRESULT PropertyStorage_ReadFromStream(struct tagPropertyStorage_impl *);
+static HRESULT PropertyStorage_ReadFromStream(PropertyStorage_impl *);
 
-static HRESULT PropertyStorage_WriteToStream(struct tagPropertyStorage_impl *);
+static HRESULT PropertyStorage_WriteToStream(PropertyStorage_impl *);
 
 /* Creates the dictionaries used by the property storage.  If successful, all
  * the dictionaries have been created.  If failed, none has been.  (This makes
  * it a bit easier to deal with destroying them.)
  */
-static HRESULT PropertyStorage_CreateDictionaries(
- struct tagPropertyStorage_impl *);
+static HRESULT PropertyStorage_CreateDictionaries(PropertyStorage_impl *);
 
-static void PropertyStorage_DestroyDictionaries(
- struct tagPropertyStorage_impl *);
+static void PropertyStorage_DestroyDictionaries(PropertyStorage_impl *);
 
 /* Copies from propvar to prop.  If propvar's type is VT_LPSTR, copies the
  * string using PropertyStorage_StringCopy.
@@ -161,7 +159,7 @@ static HRESULT create_EnumSTATPROPSETSTG
 /***********************************************************************
  * Implementation of IPropertyStorage
  */
-typedef struct tagPropertyStorage_impl
+struct tagPropertyStorage_impl
 {
     const IPropertyStorageVtbl *vtbl;
     LONG ref;
@@ -180,7 +178,7 @@ typedef struct tagPropertyStorage_impl
     struct dictionary *name_to_propid;
     struct dictionary *propid_to_name;
     struct dictionary *propid_to_prop;
-} PropertyStorage_impl;
+};
 
 /************************************************************************
  * IPropertyStorage_fnQueryInterface (IPropertyStorage)




More information about the wine-cvs mailing list