From: Benno Schulenberg Date: Fri, 4 Dec 2015 11:01:48 +0000 (+0000) Subject: Avoiding a compilation warning. X-Git-Tag: v2.5.0~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c12d1b87d4ea775708178a0534ac99594b4ffaff;p=nano.git Avoiding a compilation warning. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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