Francois Gouget : user32: Make WIN_SetOwner() static.

Alexandre Julliard julliard at winehq.org
Thu May 9 13:32:43 CDT 2019


Module: wine
Branch: master
Commit: 1631f6902261c0a0e9c4884ff3de6a7bdc0453a8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1631f6902261c0a0e9c4884ff3de6a7bdc0453a8

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu May  9 11:02:31 2019 +0200

user32: Make WIN_SetOwner() static.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/win.c | 2 +-
 dlls/user32/win.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index 0bb9fd9..a29e3a1 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -742,7 +742,7 @@ HWND WIN_GetFullHandle( HWND hwnd )
  *
  * Change the owner of a window.
  */
-HWND WIN_SetOwner( HWND hwnd, HWND owner )
+static HWND WIN_SetOwner( HWND hwnd, HWND owner )
 {
     WND *win = WIN_GetPtr( hwnd );
     HWND ret = 0;
diff --git a/dlls/user32/win.h b/dlls/user32/win.h
index 81b08fc..1f51fd6 100644
--- a/dlls/user32/win.h
+++ b/dlls/user32/win.h
@@ -91,7 +91,6 @@ extern HWND WIN_GetFullHandle( HWND hwnd ) DECLSPEC_HIDDEN;
 extern HWND WIN_IsCurrentProcess( HWND hwnd ) DECLSPEC_HIDDEN;
 extern HWND WIN_IsCurrentThread( HWND hwnd ) DECLSPEC_HIDDEN;
 extern UINT win_set_flags( HWND hwnd, UINT set_mask, UINT clear_mask ) DECLSPEC_HIDDEN;
-extern HWND WIN_SetOwner( HWND hwnd, HWND owner ) DECLSPEC_HIDDEN;
 extern ULONG WIN_SetStyle( HWND hwnd, ULONG set_bits, ULONG clear_bits ) DECLSPEC_HIDDEN;
 extern BOOL WIN_GetRectangles( HWND hwnd, enum coords_relative relative, RECT *rectWindow, RECT *rectClient ) DECLSPEC_HIDDEN;
 extern void map_window_region( HWND from, HWND to, HRGN hrgn ) DECLSPEC_HIDDEN;




More information about the wine-cvs mailing list