summaryrefslogtreecommitdiffstats
path: root/src/cmdhist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdhist.c')
-rw-r--r--src/cmdhist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmdhist.c b/src/cmdhist.c
index 8057344c13..6256fd91b0 100644
--- a/src/cmdhist.c
+++ b/src/cmdhist.c
@@ -37,11 +37,13 @@ get_histentry(int hist_type)
return history[hist_type];
}
+#if defined(FEAT_VIMINFO) || defined(PROTO)
void
set_histentry(int hist_type, histentry_T *entry)
{
history[hist_type] = entry;
}
+#endif
int *
get_hisidx(int hist_type)
@@ -49,11 +51,13 @@ get_hisidx(int hist_type)
return &hisidx[hist_type];
}
+#if defined(FEAT_VIMINFO) || defined(PROTO)
int *
get_hisnum(int hist_type)
{
return &hisnum[hist_type];
}
+#endif
/*
* Translate a history character to the associated type number.