tweaks: group some more of the empty functions together
parent
30a984661b
commit
544d426d86
|
@ -290,6 +290,9 @@ void goto_dir_void(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
|
void do_toggle_void(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
void dos_format_void(void)
|
void dos_format_void(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -317,6 +320,9 @@ void flip_newbuffer(void)
|
||||||
void discard_buffer(void)
|
void discard_buffer(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
void do_cancel(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/* Add a function to the function list. */
|
/* Add a function to the function list. */
|
||||||
void add_to_funcs(void (*func)(void), int menus, const char *desc, const char *help,
|
void add_to_funcs(void (*func)(void), int menus, const char *desc, const char *help,
|
||||||
|
|
12
src/nano.c
12
src/nano.c
|
@ -1087,12 +1087,6 @@ void close_and_go(void)
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Another placeholder for function mapping. */
|
|
||||||
void do_cancel(void)
|
|
||||||
{
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Make a note that reading from stdin was concluded with ^C. */
|
/* Make a note that reading from stdin was concluded with ^C. */
|
||||||
RETSIGTYPE make_a_note(int signal)
|
RETSIGTYPE make_a_note(int signal)
|
||||||
{
|
{
|
||||||
|
@ -1401,12 +1395,6 @@ void do_toggle(int flag)
|
||||||
statusline(HUSH, "%s %s", _(flagtostr(flag)),
|
statusline(HUSH, "%s %s", _(flagtostr(flag)),
|
||||||
enabled ? _("enabled") : _("disabled"));
|
enabled ? _("enabled") : _("disabled"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Bleh. */
|
|
||||||
void do_toggle_void(void)
|
|
||||||
{
|
|
||||||
;
|
|
||||||
}
|
|
||||||
#endif /* !NANO_TINY */
|
#endif /* !NANO_TINY */
|
||||||
|
|
||||||
/* Disable extended input and output processing in our terminal
|
/* Disable extended input and output processing in our terminal
|
||||||
|
|
|
@ -433,7 +433,6 @@ RETSIGTYPE handle_sigwinch(int signal);
|
||||||
void regenerate_screen(void);
|
void regenerate_screen(void);
|
||||||
void allow_sigwinch(bool allow);
|
void allow_sigwinch(bool allow);
|
||||||
void do_toggle(int flag);
|
void do_toggle(int flag);
|
||||||
void do_toggle_void(void);
|
|
||||||
void enable_signals(void);
|
void enable_signals(void);
|
||||||
#endif
|
#endif
|
||||||
void disable_flow_control(void);
|
void disable_flow_control(void);
|
||||||
|
@ -690,7 +689,6 @@ void do_credits(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* These are just name definitions. */
|
/* These are just name definitions. */
|
||||||
void do_cancel(void);
|
|
||||||
void case_sens_void(void);
|
void case_sens_void(void);
|
||||||
void regexp_void(void);
|
void regexp_void(void);
|
||||||
void backwards_void(void);
|
void backwards_void(void);
|
||||||
|
@ -701,6 +699,7 @@ void to_files_void(void);
|
||||||
void goto_dir_void(void);
|
void goto_dir_void(void);
|
||||||
#endif
|
#endif
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
|
void do_toggle_void(void);
|
||||||
void dos_format_void(void);
|
void dos_format_void(void);
|
||||||
void mac_format_void(void);
|
void mac_format_void(void);
|
||||||
void append_void(void);
|
void append_void(void);
|
||||||
|
@ -712,5 +711,6 @@ void flip_execute(void);
|
||||||
void flip_newbuffer(void);
|
void flip_newbuffer(void);
|
||||||
#endif
|
#endif
|
||||||
void discard_buffer(void);
|
void discard_buffer(void);
|
||||||
|
void do_cancel(void);
|
||||||
|
|
||||||
#endif /* !PROTO_H */
|
#endif /* !PROTO_H */
|
||||||
|
|
Loading…
Reference in New Issue