commit 72d3506ce945c42cd58a383255f50296093498a1
parent be73c35943f85e7835c3a0fc89bddaeba944db29
Author: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
Date: Thu, 16 Oct 2025 21:56:18 -0400
vim-patch:9.0.1033: tiny build fails because of conflicting typedef
Problem: Tiny build fails because of conflicting typedef.
Solution: Remove one typedef.
https://github.com/vim/vim/commit/83c43ab319f4c4a9d03c65648b4f0df4298a7f93
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nvim/eval/typval_defs.h b/src/nvim/eval/typval_defs.h
@@ -53,7 +53,7 @@ typedef struct dictvar_S dict_T;
typedef struct partial_S partial_T;
typedef struct blobvar_S blob_T;
-typedef struct ufunc ufunc_T;
+typedef struct ufunc_S ufunc_T;
typedef enum {
kCallbackNone = 0,
@@ -321,7 +321,7 @@ struct funccall_S {
};
/// Structure to hold info for a user function.
-struct ufunc {
+struct ufunc_S {
int uf_varargs; ///< variable nr of arguments
int uf_flags;
int uf_calls; ///< nr of active calls