# HG changeset patch # User Mychaela Falconia # Date 1617672532 0 # Node ID 81f5c4ca1fb3d0fb21e6bcc29e9ff7a2fced99a2 # Parent a7d9fe97e5b8f5e8a0e6799e1866e4fc541aa6c0 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. diff -r a7d9fe97e5b8 -r 81f5c4ca1fb3 src/ui/bmi/mmiDialogs.c --- 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;