summaryrefslogtreecommitdiff
path: root/history.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-23 19:01:09 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-23 19:01:09 -0500
commitabde3125f6228a63e22de708b9edaef62cab0ac3 (patch)
tree74e2d30a4ac48b1787dfd0621e384a84c3c47e94 /history.c
parentf8d82ba21c017f4d23a0ee77ecb13d8d3ff1aab7 (diff)
downloadreadline-abde3125f6228a63e22de708b9edaef62cab0ac3.tar.gz
Readline-4.2a import
Diffstat (limited to 'history.c')
-rw-r--r--history.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/history.c b/history.c
index d59d8ce..e2d65ea 100644
--- a/history.c
+++ b/history.c
@@ -71,6 +71,9 @@ static HIST_ENTRY **the_history = (HIST_ENTRY **)NULL;
history that we save. */
static int history_stifled;
+/* The current number of slots allocated to the input_history. */
+static int history_size;
+
/* If HISTORY_STIFLED is non-zero, then this is the maximum number of
entries to remember. */
int history_max_entries;
@@ -83,9 +86,6 @@ int history_offset;
/* The number of strings currently stored in the history list. */
int history_length;
-/* The current number of slots allocated to the input_history. */
-static int history_size;
-
/* The logical `base' of the history array. It defaults to 1. */
int history_base = 1;