From b327ed7872ca83c3a4249039ba1a3d8dd3ece630 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Tue, 17 Jan 2017 17:19:19 +0300
Subject: useless field DBEVENTINFO::cbSize removed

---
 include/delphi/m_database.inc |  1 -
 include/m_database.h          | 10 ++++------
 2 files changed, 4 insertions(+), 7 deletions(-)

(limited to 'include')

diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc
index 8dd608b9c4..3ec65f0089 100644
--- a/include/delphi/m_database.inc
+++ b/include/delphi/m_database.inc
@@ -40,7 +40,6 @@ const
 type
   PDBEVENTINFO = ^TDBEVENTINFO;
   TDBEVENTINFO = record
-    cbSize   : int;  // size of the structure
     szModule : PAnsiChar; // module that 'owns' this event and controls the data format
     timestamp: dword; // timestamp in UNIX time
     flags    : dword; // the DBEF_* flags above
diff --git a/include/m_database.h b/include/m_database.h
index 8dcf896036..23926eba9b 100644
--- a/include/m_database.h
+++ b/include/m_database.h
@@ -172,12 +172,10 @@ typedef struct
 
 typedef struct
 {
-	int   cbSize;           // size of the structure in bytes
-	char *szModule;         // pointer to name of the module that 'owns' this
-	// event, ie the one that is in control of the data format
-	DWORD timestamp;        // seconds since 00:00, 01/01/1970. Gives us times until
-	// 2106 unless you use the standard C library which is
-	// signed and can only do until 2038. In GMT.
+	char *szModule;         // pointer to name of the module that 'owns' this event
+	DWORD timestamp;        // seconds since 00:00, 01/01/1970. Gives us times until 2106 
+	                        // unless you use the standard C library which is
+	                        // signed and can only do until 2038. In GMT.
 	DWORD flags;            // the omnipresent flags
 	WORD  eventType;        // module-defined event type field
 	DWORD cbBlob;           // size of pBlob in bytes
-- 
cgit v1.2.3