diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-17 18:24:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-17 18:24:35 +0200 |
commit | b9cdb37176a163f5047e149c3b568eee9883157c (patch) | |
tree | 7d87703ffde0b3dd1ac811e1883415a168ce60bb /src/terminal.c | |
parent | 2b00b9b0f355421fdb49e3a15f5a62af657d1922 (diff) | |
download | vim-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/terminal.c')
-rw-r--r-- | src/terminal.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c index c0777b2ed..7dd0387dd 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -5663,6 +5663,19 @@ term_getjob(term_T *term) /************************************** * 2. MS-Windows implementation. */ +#ifdef PROTO +typedef int COORD; +typedef int DWORD; +typedef int HANDLE; +typedef int *DWORD_PTR; +typedef int HPCON; +typedef int HRESULT; +typedef int LPPROC_THREAD_ATTRIBUTE_LIST; +typedef int PSIZE_T; +typedef int PVOID; +typedef int SIZE_T; +typedef int WINAPI; +#endif HRESULT (WINAPI *pCreatePseudoConsole)(COORD, HANDLE, HANDLE, DWORD, HPCON*); HRESULT (WINAPI *pResizePseudoConsole)(HPCON, COORD); |