diff src/ui/bmi/mmiDialogs.c @ 205:81f5c4ca1fb3

mmiDialogs.c: make dialog_info() static The function in question was first declared as static, then defined as non-static, which should be considered invalid C. Given that this function is not referenced from any other modules and appears to have been intended as static, make it so.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 06 Apr 2021 01:28:52 +0000
parents a7d9fe97e5b8
children dc9ce599f7e7
line wrap: on
line diff
--- a/src/ui/bmi/mmiDialogs.c	Tue Apr 06 01:19:02 2021 +0000
+++ b/src/ui/bmi/mmiDialogs.c	Tue Apr 06 01:28:52 2021 +0000
@@ -488,7 +488,8 @@
  $Arguments:    win, window handle event, value, parameter
 
 *******************************************************************************/
-void dialog_info (T_MFW_HND win, USHORT event, SHORT value, void * parameter)
+static void dialog_info (T_MFW_HND win, USHORT event, SHORT value,
+			 void * parameter)
 {
   T_MFW_WIN      * win_data     = ((T_MFW_HDR *)win)->data;
   T_dialog_info  * data         = (T_dialog_info *)win_data->user;