diff src/vim9class.c @ 36399:71ec10757d8e draft v9.1.0818

patch 9.1.0818: some global functions are only used in single files Commit: https://github.com/vim/vim/commit/a04003a929e443813c8060242e9809135b134a4c Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Oct 27 21:54:11 2024 +0100 patch 9.1.0818: some global functions are only used in single files Problem: some global functions are only used in single files Solution: refactor code slightly and make some more functions static (Yegappan Lakshmanan) closes: #15951 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Oct 2024 22:15:03 +0100
parents 3e5c832bba3f
children 0a149bd8368c
line wrap: on
line diff
--- a/src/vim9class.c
+++ b/src/vim9class.c
@@ -2646,7 +2646,7 @@ oc_member_type_by_idx(
  * Type aliases (:type)
  */
 
-    void
+    static void
 typealias_free(typealias_T *ta)
 {
     // ta->ta_type is freed in clear_type_list()