summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-17 18:24:35 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-17 18:24:35 +0200
commitb9cdb37176a163f5047e149c3b568eee9883157c (patch)
tree7d87703ffde0b3dd1ac811e1883415a168ce60bb /src/os_mswin.c
parent2b00b9b0f355421fdb49e3a15f5a62af657d1922 (diff)
downloadvim-git-b9cdb37176a163f5047e149c3b568eee9883157c.tar.gz
patch 8.1.1182: some function prototypes are outdatedv8.1.1182
Problem: Some function prototypes are outdated. Solution: Update function prototypes. (Ken Takata, closes #4267)
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index c638aa678..48be0de52 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -98,8 +98,10 @@ typedef int LPARAM;
typedef int LPBOOL;
typedef int LPCSTR;
typedef int LPCWSTR;
+typedef int LPDWORD;
typedef int LPSTR;
typedef int LPTSTR;
+typedef int LPVOID;
typedef int LPWSTR;
typedef int LRESULT;
typedef int MOUSE_EVENT_RECORD;
@@ -1733,7 +1735,7 @@ typedef BOOL (WINAPI *pfnGetVolumeInformationByHandleW)(
DWORD nFileSystemNameSize);
static pfnGetVolumeInformationByHandleW pGetVolumeInformationByHandleW = NULL;
- char_u *
+ static char_u *
resolve_reparse_point(char_u *fname)
{
HANDLE h = INVALID_HANDLE_VALUE;