aboutsummaryrefslogtreecommitdiff
path: root/contrib/libreadline/undo.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
commit152b41126121f69480691bc73bf0e6ea3ae404c7 (patch)
treed9fcdd0a5e7480e4ba8c47003951584dda5caa6a /contrib/libreadline/undo.c
parentd48ce863c5079e07dca9f711d7023f7007e670a7 (diff)
downloadsrc-152b41126121f69480691bc73bf0e6ea3ae404c7.tar.gz
src-152b41126121f69480691bc73bf0e6ea3ae404c7.zip
Initial import of v4.1
Notes
Notes: svn path=/vendor/libreadline/dist/; revision=58310
Diffstat (limited to 'contrib/libreadline/undo.c')
-rw-r--r--contrib/libreadline/undo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/libreadline/undo.c b/contrib/libreadline/undo.c
index 28ebcc85b934..f7f30d17d9d8 100644
--- a/contrib/libreadline/undo.c
+++ b/contrib/libreadline/undo.c
@@ -8,7 +8,7 @@
The GNU Readline Library is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 1, or
+ as published by the Free Software Foundation; either version 2, or
(at your option) any later version.
The GNU Readline Library is distributed in the hope that it will be
@@ -19,7 +19,7 @@
The GNU General Public License is often shipped with GNU software, and
is generally kept in a file called COPYING or LICENSE. If you do not
have a copy of the license, write to the Free Software Foundation,
- 675 Mass Ave, Cambridge, MA 02139, USA. */
+ 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#define READLINE_LIBRARY
#if defined (HAVE_CONFIG_H)
@@ -47,6 +47,8 @@
#include "readline.h"
#include "history.h"
+#include "rlprivate.h"
+
#define SWAP(s, e) do { int t; t = s; s = e; e = t; } while (0)
/* Non-zero tells rl_delete_text and rl_insert_text to not add to