summaryrefslogtreecommitdiffstats
path: root/src/scriptfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r--src/scriptfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index f3a5783db5..952f2efd05 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -2346,7 +2346,7 @@ source_finished(
* Find the path of a script below the "autoload" directory.
* Returns NULL if there is no "/autoload/" in the script name.
*/
- char_u *
+ static char_u *
script_name_after_autoload(scriptitem_T *si)
{
char_u *p = si->sn_name;