Mercurial > vim
diff src/gui_mac.c @ 7821:81794242a275 v7.4.1207
commit https://github.com/vim/vim/commit/66f948e928d5e0cd3123af902aa8ac1613534c94
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 16:39:25 2016 +0100
patch 7.4.1207
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 16:45:04 +0100 |
parents | 5f24d6d51333 |
children | 553a4c8dd796 |
line wrap: on
line diff
--- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -2607,8 +2607,7 @@ gui_mch_mousehide(int hide) * the menu that we should display */ void -gui_mac_handle_contextual_menu(event) - EventRecord *event; +gui_mac_handle_contextual_menu(EventRecord *event) { /* * Clone PopUp to use menu @@ -3697,8 +3696,7 @@ gui_mch_set_font(GuiFont font) * If a font is not going to be used, free its structure. */ void -gui_mch_free_font(font) - GuiFont font; +gui_mch_free_font(GuiFont font) { /* * Free font when "font" is not 0. @@ -6897,8 +6895,7 @@ gui_mch_update_tabline(void) * Set the current tab to "nr". First tab is 1. */ void -gui_mch_set_curtab(nr) - int nr; +gui_mch_set_curtab(int nr) { DataBrowserItemID item = nr; SetDataBrowserSelectedItems(dataBrowser, 1, &item, kDataBrowserItemsAssign);