Mercurial > vim
diff src/os_qnx.c @ 7833:c079097365f3 v7.4.1213
commit https://github.com/vim/vim/commit/055409764ca5f7978d4c399d2c440af0ce971c4f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 20:31:25 2016 +0100
patch 7.4.1213
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 20:45:04 +0100 |
parents | 50dbef5e774a |
children | 4aead6a9b7a9 |
line wrap: on
line diff
--- a/src/os_qnx.c +++ b/src/os_qnx.c @@ -19,7 +19,7 @@ int is_photon_available; #endif -void qnx_init() +void qnx_init(void) { #if defined(FEAT_GUI_PHOTON) PhChannelParms_t parms; @@ -37,7 +37,7 @@ void qnx_init() #define CLIP_TYPE_TEXT "TEXT" /* Turn on the clipboard for a console vim when photon is running */ -void qnx_clip_init() +void qnx_clip_init(void) { if (is_photon_available == TRUE && !gui.in_use) clip_init(TRUE);