ole32: Move the storage signatures to the appropriate file that uses them

Dmitry Timoshkov dmitry at codeweavers.com
Tue Mar 20 09:18:30 CDT 2007


Hello,

Changelog:
    ole32: Move the storage signatures to the appropriate file that uses them.

---
 dlls/ole32/storage32.c |    6 ++++++
 dlls/ole32/storage32.h |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index 408453a..97f53df 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -62,6 +62,12 @@ WINE_DEFAULT_DEBUG_CHANNEL(storage);
 #define OLESTREAM_ID 0x501
 #define OLESTREAM_MAX_STR_LEN 255
 
+/*
+ * These are signatures to detect the type of Document file.
+ */
+static const BYTE STORAGE_magic[8]    ={0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1};
+static const BYTE STORAGE_oldmagic[8] ={0xd0,0xcf,0x11,0xe0,0x0e,0x11,0xfc,0x0d};
+
 static const char rootPropertyName[] = "Root Entry";
 
 /****************************************************************************
diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h
index 4c893a0..ffad550 100644
--- a/dlls/ole32/storage32.h
+++ b/dlls/ole32/storage32.h
@@ -112,12 +112,6 @@ static const ULONG PROPERTY_NULL             = 0xFFFFFFFF;
      STGM_NOSNAPSHOT | STGM_DIRECT_SWMR | STGM_DELETEONRELEASE | STGM_SIMPLE)
 
 /*
- * These are signatures to detect the type of Document file.
- */
-static const BYTE STORAGE_magic[8]    ={0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1};
-static const BYTE STORAGE_oldmagic[8] ={0xd0,0xcf,0x11,0xe0,0x0e,0x11,0xfc,0x0d};
-
-/*
  * Forward declarations of all the structures used by the storage
  * module.
  */
-- 
1.5.0.5






More information about the wine-patches mailing list