From c12d1b87d4ea775708178a0534ac99594b4ffaff Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 4 Dec 2015 11:01:48 +0000 Subject: [PATCH] Avoiding a compilation warning. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/proto.h | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 605ea522..f1fad86f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-12-03 Benno Schulenberg + * src/proto.h: Avoid a compilation warning. + 2015-12-03 Benno Schulenberg * src/text.c (discard_until): Move the trimming of the undo stack into a separate function, so it can be used elsewhere. diff --git a/src/proto.h b/src/proto.h index 7b085dff..01d464e5 100644 --- a/src/proto.h +++ b/src/proto.h @@ -751,6 +751,7 @@ void new_magicline(void); void remove_magicline(void); void mark_order(const filestruct **top, size_t *top_x, const filestruct **bot, size_t *bot_x, bool *right_side_up); +void discard_until(undo *thisone); void add_undo(undo_type action); void update_undo(undo_type action); #endif