patch 8.1.1728: wrong place for command line history viminfo support
Problem: Wrong place for command line history viminfo support.
Solution: Move it to viminfo.c.
diff --git a/src/structs.h b/src/structs.h
index 525289c..7a3e8d2 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1115,6 +1115,17 @@
garray_T vir_barlines; // lines starting with |
} vir_T;
+/*
+ * Structure used for the command line history.
+ */
+typedef struct hist_entry
+{
+ int hisnum; /* identifying number */
+ int viminfo; /* when TRUE hisstr comes from viminfo */
+ char_u *hisstr; /* actual entry, separator char after the NUL */
+ time_t time_set; /* when it was typed, zero if unknown */
+} histentry_T;
+
#define CONV_NONE 0
#define CONV_TO_UTF8 1
#define CONV_9_TO_UTF8 2