diff options
author | ache <ache@FreeBSD.org> | 2000-03-19 21:18:09 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-03-19 21:18:09 +0000 |
commit | 2e27cca03ab305c34498fe82bf6fbbdc32ff136d (patch) | |
tree | 57ad5d899b83004fdc0f03ce8593e17904317abd /contrib/libreadline/histexpand.c | |
parent | f556f75f097948e646fbe6280de86340d9c61536 (diff) | |
parent | b85a0e54aedf144ea0dff369289bd3fb6f694f5f (diff) | |
download | FreeBSD-src-2e27cca03ab305c34498fe82bf6fbbdc32ff136d.zip FreeBSD-src-2e27cca03ab305c34498fe82bf6fbbdc32ff136d.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r58310,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/libreadline/histexpand.c')
-rw-r--r-- | contrib/libreadline/histexpand.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/contrib/libreadline/histexpand.c b/contrib/libreadline/histexpand.c index 392e6d3..78da3e5 100644 --- a/contrib/libreadline/histexpand.c +++ b/contrib/libreadline/histexpand.c @@ -7,7 +7,7 @@ The 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 (at your option) + the Free Software Foundation; either version 2, or (at your option) any later version. The Library is distributed in the hope that it will be useful, but @@ -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 @@ -50,6 +50,9 @@ #include "history.h" #include "histlib.h" +#include "rlshell.h" +#include "xmalloc.h" + #define HISTORY_WORD_DELIMITERS " \t\n;&()|<>" #define HISTORY_QUOTE_CHARACTERS "\"'`" @@ -60,15 +63,10 @@ static char *subst_rhs; static int subst_lhs_len; static int subst_rhs_len; -static char *get_history_word_specifier (); -static char *history_find_word (); - -extern int history_offset; - -extern char *single_quote (); -static char *quote_breaks (); +static char *get_history_word_specifier __P((char *, char *, int *)); +static char *history_find_word __P((char *, int)); -extern char *xmalloc (), *xrealloc (); +static char *quote_breaks __P((char *)); /* Variables exported by this file. */ /* The character that represents the start of a history expansion |