From b0418622c8b462c0de6c241762a695751ef75c42 Mon Sep 17 00:00:00 2001
From: Andrew Talbot <Andrew.Talbot@talbotville.com>
Date: Sat, 14 Apr 2007 15:19:01 +0100
Subject: [PATCH] user32: Make function definitions and declarations agree.

---
 dlls/user32/network.c    | 4 ++--
 include/wine/winnet16.h  | 2 +-
 include/wine/winuser16.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/user32/network.c b/dlls/user32/network.c
index e9a9078088f..105d0161943 100644
--- a/dlls/user32/network.c
+++ b/dlls/user32/network.c
@@ -162,8 +162,8 @@ WORD WINAPI WNetUnlockQueueData16( LPSTR szQueue )
  * Redirects a local device (either a disk drive or printer port)
  * to a shared device on a remote server.
  */
-WORD WINAPI WNetAddConnection16( LPSTR lpNetPath, LPSTR lpPassWord,
-                                 LPSTR lpLocalName )
+WORD WINAPI WNetAddConnection16( LPCSTR lpNetPath, LPCSTR lpPassWord,
+                                 LPCSTR lpLocalName )
 {
     FIXME( "(%s, %p, %s): stub\n",
            debugstr_a(lpNetPath), lpPassWord, debugstr_a(lpLocalName) );
diff --git a/include/wine/winnet16.h b/include/wine/winnet16.h
index 9ca3a65a8c0..8f0486027a6 100644
--- a/include/wine/winnet16.h
+++ b/include/wine/winnet16.h
@@ -105,7 +105,7 @@ WORD WINAPI WNetUnlockQueueData16(LPSTR);
  * Connections
  */
 
-WORD WINAPI WNetAddConnection16(LPSTR,LPSTR,LPSTR);
+WORD WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
 WORD WINAPI WNetCancelConnection16(LPSTR,BOOL16);
 WORD WINAPI WNetGetConnection16(LPSTR,LPSTR,UINT16 *);
 WORD WINAPI WNetRestoreConnection16(HWND16,LPSTR);
diff --git a/include/wine/winuser16.h b/include/wine/winuser16.h
index db936ef62e6..0a05bdd79c4 100644
--- a/include/wine/winuser16.h
+++ b/include/wine/winuser16.h
@@ -948,7 +948,7 @@ VOID        WINAPI ValidateRgn16(HWND16,HRGN16);
 HWND16      WINAPI WindowFromDC16(HDC16);
 HWND16      WINAPI WindowFromPoint16(POINT16);
 BOOL16      WINAPI WinHelp16(HWND16,LPCSTR,UINT16,DWORD);
-UINT16      WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
+WORD        WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
 INT16       WINAPI wvsprintf16(LPSTR,LPCSTR,VA_LIST16);
 BOOL16      WINAPI DrawState16A(HDC16,HBRUSH16,DRAWSTATEPROC16,LPARAM,WPARAM16,INT16,INT16,INT16,INT16,UINT16);
 BOOL16      WINAPI IsDialogMessage16(HWND16,MSG16*);
-- 
GitLab