patch 7.4.1207
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
diff --git a/src/gui_mac.c b/src/gui_mac.c
index 3479dbb..c766ed0 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -2607,8 +2607,7 @@
* 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 @@
* 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 @@
* 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);