commit c12d1b87d4ea775708178a0534ac99594b4ffaff
parent ccc9b24f162b34d0cef974469979891c535e25e2
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 4 Dec 2015 11:01:48 +0000
Avoiding a compilation warning.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,4 +1,7 @@
2015-12-03 Benno Schulenberg <bensberg@justemail.net>
+ * src/proto.h: Avoid a compilation warning.
+
+2015-12-03 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (discard_until): Move the trimming of the undo stack
into a separate function, so it can be used elsewhere.
* src/text.c (do_justify): Discard the entire undo stack, to prevent
diff --git 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