summaryrefslogtreecommitdiff
path: root/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'undo.c')
-rw-r--r--undo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/undo.c b/undo.c
index 1479991..e4c457d 100644
--- a/undo.c
+++ b/undo.c
@@ -1,6 +1,6 @@
/* undo.c - manage list of changes to lines, offering opportunity to undo them */
-/* Copyright (C) 1987-2017 Free Software Foundation, Inc.
+/* Copyright (C) 1987-2021 Free Software Foundation, Inc.
This file is part of the GNU Readline Library (Readline), a library
for reading lines of text with interactive input and history editing.
@@ -49,9 +49,7 @@
#include "rlprivate.h"
#include "xmalloc.h"
-extern void _hs_replace_history_data PARAMS((int, histdata_t *, histdata_t *));
-
-extern HIST_ENTRY *_rl_saved_line_for_history;
+#include "histlib.h"
/* Non-zero tells rl_delete_text and rl_insert_text to not add to
the undo list. */