FreeCalypso > hg > fc-tourmaline
comparison 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 |
comparison
equal
deleted
inserted
replaced
204:a7d9fe97e5b8 | 205:81f5c4ca1fb3 |
---|---|
486 $Returns: void | 486 $Returns: void |
487 | 487 |
488 $Arguments: win, window handle event, value, parameter | 488 $Arguments: win, window handle event, value, parameter |
489 | 489 |
490 *******************************************************************************/ | 490 *******************************************************************************/ |
491 void dialog_info (T_MFW_HND win, USHORT event, SHORT value, void * parameter) | 491 static void dialog_info (T_MFW_HND win, USHORT event, SHORT value, |
492 void * parameter) | |
492 { | 493 { |
493 T_MFW_WIN * win_data = ((T_MFW_HDR *)win)->data; | 494 T_MFW_WIN * win_data = ((T_MFW_HDR *)win)->data; |
494 T_dialog_info * data = (T_dialog_info *)win_data->user; | 495 T_dialog_info * data = (T_dialog_info *)win_data->user; |
495 T_DISPLAY_DATA * display_info = (T_DISPLAY_DATA *)parameter; | 496 T_DISPLAY_DATA * display_info = (T_DISPLAY_DATA *)parameter; |
496 TRACE_FUNCTION ("dialog_info()"); | 497 TRACE_FUNCTION ("dialog_info()"); |