mc/lib/event
Andrew Borodin 7257f794d2 Update template for .c files.
Add section for forward declarations of local functions. This section is
located before file scope variables because functions can be used in
strucutres (see find.c for example):

/*** forward declarations (file scope functions) *************************************************/

/* button callbacks */
static int start_stop (WButton * button, int action);
static int find_do_view_file (WButton * button, int action);
static int find_do_edit_file (WButton * button, int action);

/*** file scope variables ************************************************************************/

static struct
{
    ...
    bcback_fn callback;
} fbuts[] =
{
    ...
    { B_STOP, NORMAL_BUTTON, N_("S&uspend"), 0, 0, NULL, start_stop },
    ...
    { B_VIEW, NORMAL_BUTTON, N_("&View - F3"), 0, 0, NULL, find_do_view_file },
    { B_VIEW, NORMAL_BUTTON, N_("&Edit - F4"), 0, 0, NULL, find_do_edit_file }
};

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2023-03-19 20:34:24 +03:00
..
event-ru.txt Added manual for events (Russian and English). 2011-03-21 23:55:53 +02:00
event.c Update copyright years. 2023-01-28 21:38:05 +03:00
event.txt Fix various typos in the source code (closes MidnightCommander/mc#177). 2023-01-28 21:38:05 +03:00
internal.h Code indentation. 2012-07-17 17:04:05 +04:00
Makefile.am Clarify AM_CPPFLAGS. 2016-03-04 09:23:36 +03:00
manage.c Update template for .c files. 2023-03-19 20:34:24 +03:00
raise.c Update copyright years. 2023-01-28 21:38:05 +03:00