Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
7832:f1ac913b8ff3 | 7833:c079097365f3 |
---|---|
17 | 17 |
18 #if defined(FEAT_GUI_PHOTON) | 18 #if defined(FEAT_GUI_PHOTON) |
19 int is_photon_available; | 19 int is_photon_available; |
20 #endif | 20 #endif |
21 | 21 |
22 void qnx_init() | 22 void qnx_init(void) |
23 { | 23 { |
24 #if defined(FEAT_GUI_PHOTON) | 24 #if defined(FEAT_GUI_PHOTON) |
25 PhChannelParms_t parms; | 25 PhChannelParms_t parms; |
26 | 26 |
27 memset(&parms, 0, sizeof(parms)); | 27 memset(&parms, 0, sizeof(parms)); |
35 | 35 |
36 #define CLIP_TYPE_VIM "VIMTYPE" | 36 #define CLIP_TYPE_VIM "VIMTYPE" |
37 #define CLIP_TYPE_TEXT "TEXT" | 37 #define CLIP_TYPE_TEXT "TEXT" |
38 | 38 |
39 /* Turn on the clipboard for a console vim when photon is running */ | 39 /* Turn on the clipboard for a console vim when photon is running */ |
40 void qnx_clip_init() | 40 void qnx_clip_init(void) |
41 { | 41 { |
42 if (is_photon_available == TRUE && !gui.in_use) | 42 if (is_photon_available == TRUE && !gui.in_use) |
43 clip_init(TRUE); | 43 clip_init(TRUE); |
44 } | 44 } |
45 | 45 |