From: Brendan Shanks bshanks@codeweavers.com
--- dlls/winemac.drv/dllmain.c | 8 ++++++-- dlls/winemac.drv/macdrv_dll.h | 36 ----------------------------------- 2 files changed, 6 insertions(+), 38 deletions(-) delete mode 100644 dlls/winemac.drv/macdrv_dll.h
diff --git a/dlls/winemac.drv/dllmain.c b/dlls/winemac.drv/dllmain.c index 86cf6f1e25a..7ece4dc99a3 100644 --- a/dlls/winemac.drv/dllmain.c +++ b/dlls/winemac.drv/dllmain.c @@ -18,17 +18,21 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */
+#include <stdarg.h> #include "ntstatus.h" #define WIN32_NO_STATUS -#include "macdrv_dll.h" +#include "windef.h" +#include "winbase.h" +#include "ntgdi.h" #include "macdrv_res.h" #include "shellapi.h" +#include "unixlib.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(macdrv);
-HMODULE macdrv_module = 0; +static HMODULE macdrv_module = 0;
struct quit_info { HWND *wins; diff --git a/dlls/winemac.drv/macdrv_dll.h b/dlls/winemac.drv/macdrv_dll.h deleted file mode 100644 index 16a98c6a30a..00000000000 --- a/dlls/winemac.drv/macdrv_dll.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * MAC driver definitions - * - * Copyright 2022 Jacek Caban for CodeWeavers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#ifndef __WINE_MACDRV_DLL_H -#define __WINE_MACDRV_DLL_H - -#include <stdarg.h> -#include "windef.h" -#include "winbase.h" -#include "ntgdi.h" -#include "unixlib.h" - -extern NTSTATUS WINAPI macdrv_dnd_query_drag(void *arg, ULONG size); -extern NTSTATUS WINAPI macdrv_dnd_query_drop(void *arg, ULONG size); -extern NTSTATUS WINAPI macdrv_dnd_query_exited(void *arg, ULONG size); - -extern HMODULE macdrv_module; - -#endif /* __WINE_MACDRV_DLL_H */