Avoiding a compilation warning.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5476 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2015-12-04 11:01:48 +00:00
parent ccc9b24f16
commit c12d1b87d4
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2015-12-03 Benno Schulenberg <bensberg@justemail.net>
* src/proto.h: Avoid a compilation warning.
2015-12-03 Benno Schulenberg <bensberg@justemail.net> 2015-12-03 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (discard_until): Move the trimming of the undo stack * src/text.c (discard_until): Move the trimming of the undo stack
into a separate function, so it can be used elsewhere. into a separate function, so it can be used elsewhere.

View File

@ -751,6 +751,7 @@ void new_magicline(void);
void remove_magicline(void); void remove_magicline(void);
void mark_order(const filestruct **top, size_t *top_x, const filestruct void mark_order(const filestruct **top, size_t *top_x, const filestruct
**bot, size_t *bot_x, bool *right_side_up); **bot, size_t *bot_x, bool *right_side_up);
void discard_until(undo *thisone);
void add_undo(undo_type action); void add_undo(undo_type action);
void update_undo(undo_type action); void update_undo(undo_type action);
#endif #endif