summaryrefslogtreecommitdiff
path: root/macro.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-23 18:59:00 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-23 18:59:00 -0500
commit2916980bde9ae4d8b8e9d60062660bdca947f56e (patch)
tree2b82b766ecb942f2758987d83f955694b12bc378 /macro.c
parentd19d2a576e818d6732b0d1b1ae72e3cc96fc29a3 (diff)
downloadreadline-2916980bde9ae4d8b8e9d60062660bdca947f56e.tar.gz
Readline-4.1 import
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/macro.c b/macro.c
index f3c442b..5a44852 100644
--- a/macro.c
+++ b/macro.c
@@ -7,7 +7,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
@@ -18,7 +18,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)
@@ -46,19 +46,10 @@
#include "readline.h"
#include "history.h"
-#define SWAP(s, e) do { int t; t = s; s = e; e = t; } while (0)
-
-/* Forward definitions. */
-void _rl_push_executing_macro (), _rl_pop_executing_macro ();
-void _rl_add_macro_char ();
-
-/* Extern declarations. */
-extern int rl_explicit_arg;
-extern int rl_key_sequence_length;
+#include "rlprivate.h"
+#include "xmalloc.h"
-extern void _rl_abort_internal ();
-
-extern char *xmalloc (), *xrealloc ();
+#define SWAP(s, e) do { int t; t = s; s = e; e = t; } while (0)
/* **************************************************************** */
/* */