From: Benno Schulenberg Date: Sun, 8 Mar 2015 12:10:52 +0000 (+0000) Subject: Fixing compilation with --enable-tiny plus --enable-nanorc. X-Git-Tag: v2.4.0~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=03bcaf6067f02966d8448e8cc01bbfbe301ebf27;p=nano.git Fixing compilation with --enable-tiny plus --enable-nanorc. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5133 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index a863744e..f4dd3d23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-03-08 Benno Schulenberg + * src/proto.h, src/nano.c: Fix compilation with --enable-tiny plus + --enable-nanorc. + 2015-03-07 Benno Schulenberg * doc/man/nanorc.5, doc/texinfo/nano.texi: Add a note about the inherent imperfection of using regular expressions for syntax diff --git a/src/nano.c b/src/nano.c index da4e78c7..b5c8cba7 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1482,13 +1482,13 @@ void do_toggle(int flag) desc = (char *) _(flagtostr(flag)); statusbar("%s %s", desc, enabled ? _("enabled") : _("disabled")); } +#endif /* !NANO_TINY */ /* Bleh. */ void do_toggle_void(void) { ; } -#endif /* !NANO_TINY */ /* Disable extended input and output processing in our terminal * settings. */ diff --git a/src/proto.h b/src/proto.h index 46b0be49..9199ac04 100644 --- a/src/proto.h +++ b/src/proto.h @@ -480,8 +480,8 @@ RETSIGTYPE do_continue(int signal); RETSIGTYPE handle_sigwinch(int signal); void allow_pending_sigwinch(bool allow); void do_toggle(int flag); -void do_toggle_void(void); #endif +void do_toggle_void(void); void disable_extended_io(void); #ifdef USE_SLANG void disable_signals(void);