summaryrefslogtreecommitdiffstats
path: root/src/userfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userfunc.c')
-rw-r--r--src/userfunc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index 6821569b68..3617e7b106 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -39,6 +39,7 @@ func_init()
hash_init(&func_hashtab);
}
+#if defined(FEAT_PROFILE) || defined(PROTO)
/*
* Return the function hash table
*/
@@ -47,6 +48,7 @@ func_tbl_get(void)
{
return &func_hashtab;
}
+#endif
/*
* Get one function argument.