Mercurial > vim
diff src/os_mswin.c @ 16354:b3bc3ba07bef v8.1.1182
patch 8.1.1182: some function prototypes are outdated
commit https://github.com/vim/vim/commit/b9cdb37176a163f5047e149c3b568eee9883157c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 17 18:24:35 2019 +0200
patch 8.1.1182: some function prototypes are outdated
Problem: Some function prototypes are outdated.
Solution: Update function prototypes. (Ken Takata, closes https://github.com/vim/vim/issues/4267)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 Apr 2019 18:30:05 +0200 |
parents | 973070a30381 |
children | 9d20e26dc13c |
line wrap: on
line diff
--- 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 *pfnGetVolumeInform DWORD nFileSystemNameSize); static pfnGetVolumeInformationByHandleW pGetVolumeInformationByHandleW = NULL; - char_u * + static char_u * resolve_reparse_point(char_u *fname) { HANDLE h = INVALID_HANDLE_VALUE;