Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin8t8 committed Nov 4, 2022
2 parents 9d5489a + db16ce4 commit 3997273
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion autocrypt/autocrypt_acct_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static void account_entry (char *s, size_t slen, MUTTMENU *m, int num)
entry, MUTT_FORMAT_ARROWCURSOR);
}

static MUTTMENU *create_menu ()
static MUTTMENU *create_menu (void)
{
MUTTMENU *menu = NULL;
AUTOCRYPT_ACCOUNT **accounts = NULL;
Expand Down
2 changes: 1 addition & 1 deletion background.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ static void update_bg_menu (MUTTMENU *menu)
}
}

static MUTTMENU *create_bg_menu ()
static MUTTMENU *create_bg_menu (void)
{
MUTTMENU *menu = NULL;
BACKGROUND_PROCESS *process;
Expand Down
2 changes: 1 addition & 1 deletion charset.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ int mutt_chscmp (const char *s, const char *chs)
a > b ? chs : buffer, MIN(a,b));
}

char *mutt_get_default_charset ()
char *mutt_get_default_charset (void)
{
static char fcharset[SHORT_STRING];
const char *c = AssumedCharset;
Expand Down
6 changes: 3 additions & 3 deletions curs_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ static void error_history_dump (FILE *f)
} while (cur != ErrorHistory.last);
}

void mutt_error_history_display ()
void mutt_error_history_display (void)
{
static int in_process = 0;
BUFFER *t = NULL;
Expand Down Expand Up @@ -790,7 +790,7 @@ void mutt_progress_update (progress_t* progress, long pos, int percent)
mutt_clear_error ();
}

void mutt_init_windows ()
void mutt_init_windows (void)
{
MuttHelpWindow = safe_calloc (sizeof (mutt_window_t), 1);
MuttIndexWindow = safe_calloc (sizeof (mutt_window_t), 1);
Expand All @@ -801,7 +801,7 @@ void mutt_init_windows ()
#endif
}

void mutt_free_windows ()
void mutt_free_windows (void)
{
FREE (&MuttHelpWindow);
FREE (&MuttIndexWindow);
Expand Down
2 changes: 1 addition & 1 deletion menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ void mutt_set_menu_redraw_full (int menu_type)
mutt_set_current_menu_redraw_full ();
}

void mutt_current_menu_redraw ()
void mutt_current_menu_redraw (void)
{
MUTTMENU *current_menu;

Expand Down
4 changes: 2 additions & 2 deletions monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int mutt_poll_fd_remove(int fd)
return 0;
}

static int monitor_init ()
static int monitor_init (void)
{
if (INotifyFd == -1)
{
Expand All @@ -132,7 +132,7 @@ static int monitor_init ()
return 0;
}

static void monitor_check_free ()
static void monitor_check_free (void)
{
if (!Monitor && INotifyFd != -1)
{
Expand Down
2 changes: 1 addition & 1 deletion pattern.c
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ static void make_pattern_entry (char *s, size_t slen, MUTTMENU *menu, int num)
entry, MUTT_FORMAT_ARROWCURSOR);
}

static MUTTMENU *create_pattern_menu ()
static MUTTMENU *create_pattern_menu (void)
{
MUTTMENU *menu = NULL;
PATTERN_ENTRY *entries = NULL;
Expand Down

0 comments on commit 3997273

Please sign in to comment.