tweaks: group some more of the empty functions together

master
Benno Schulenberg 2018-04-17 10:34:57 +02:00
parent 30a984661b
commit 544d426d86
3 changed files with 8 additions and 14 deletions

View File

@ -290,6 +290,9 @@ void goto_dir_void(void)
}
#endif
#ifndef NANO_TINY
void do_toggle_void(void)
{
}
void dos_format_void(void)
{
}
@ -317,6 +320,9 @@ void flip_newbuffer(void)
void discard_buffer(void)
{
}
void do_cancel(void)
{
}
/* Add a function to the function list. */
void add_to_funcs(void (*func)(void), int menus, const char *desc, const char *help,

View File

@ -1087,12 +1087,6 @@ void close_and_go(void)
finish();
}
/* Another placeholder for function mapping. */
void do_cancel(void)
{
;
}
/* Make a note that reading from stdin was concluded with ^C. */
RETSIGTYPE make_a_note(int signal)
{
@ -1401,12 +1395,6 @@ void do_toggle(int flag)
statusline(HUSH, "%s %s", _(flagtostr(flag)),
enabled ? _("enabled") : _("disabled"));
}
/* Bleh. */
void do_toggle_void(void)
{
;
}
#endif /* !NANO_TINY */
/* Disable extended input and output processing in our terminal

View File

@ -433,7 +433,6 @@ RETSIGTYPE handle_sigwinch(int signal);
void regenerate_screen(void);
void allow_sigwinch(bool allow);
void do_toggle(int flag);
void do_toggle_void(void);
void enable_signals(void);
#endif
void disable_flow_control(void);
@ -690,7 +689,6 @@ void do_credits(void);
#endif
/* These are just name definitions. */
void do_cancel(void);
void case_sens_void(void);
void regexp_void(void);
void backwards_void(void);
@ -701,6 +699,7 @@ void to_files_void(void);
void goto_dir_void(void);
#endif
#ifndef NANO_TINY
void do_toggle_void(void);
void dos_format_void(void);
void mac_format_void(void);
void append_void(void);
@ -712,5 +711,6 @@ void flip_execute(void);
void flip_newbuffer(void);
#endif
void discard_buffer(void);
void do_cancel(void);
#endif /* !PROTO_H */