summaryrefslogtreecommitdiffstats
path: root/src/gui_mac.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-30 16:39:25 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-30 16:39:25 +0100
commit66f948e928d5e0cd3123af902aa8ac1613534c94 (patch)
tree7517d2849bb9feb1df2f51baef827536d715aa74 /src/gui_mac.c
parent78c0b7d43e5048fd71d12816659667834170c76d (diff)
patch 7.4.1207v7.4.1207
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r--src/gui_mac.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c
index 3479dbb55c..c766ed035b 100644
--- 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);