mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[TWAIN_32] Global variable compatibility update for gcc 10.
Imported Wine commit 4a91eb362666b3af549c48b95e093051756628e0 Signed-off-by: Michael Cronenworth <mike@cchtml.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f4a01431ca
commit
c6aac2bbfd
2 changed files with 6 additions and 4 deletions
|
@ -29,7 +29,9 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(twain);
|
||||
|
||||
extern HINSTANCE DSM_hinstance;
|
||||
TW_UINT16 DSM_twCC;
|
||||
activeDS *activeSources;
|
||||
HINSTANCE DSM_hinstance;
|
||||
|
||||
BOOL WINAPI DllMain (HINSTANCE hinstance, DWORD reason, LPVOID reserved)
|
||||
{
|
||||
|
|
|
@ -45,11 +45,11 @@ typedef struct tagActiveDS
|
|||
HWND event_window;
|
||||
} activeDS;
|
||||
|
||||
TW_UINT16 DSM_twCC DECLSPEC_HIDDEN; /* current condition code of Source Manager */
|
||||
extern TW_UINT16 DSM_twCC DECLSPEC_HIDDEN; /* current condition code of Source Manager */
|
||||
|
||||
activeDS *activeSources DECLSPEC_HIDDEN; /* list of active data sources */
|
||||
extern activeDS *activeSources DECLSPEC_HIDDEN; /* list of active data sources */
|
||||
|
||||
HINSTANCE DSM_hinstance DECLSPEC_HIDDEN;
|
||||
extern HINSTANCE DSM_hinstance DECLSPEC_HIDDEN;
|
||||
|
||||
/* Implementation of operation triplets (From Application to Source Manager) */
|
||||
extern TW_UINT16 TWAIN_CloseDS
|
||||
|
|
Loading…
Reference in a new issue