diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-12 22:25:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-12 22:25:56 +0100 |
commit | 7306d6b1c9528dcfe89eb77aa7ef354ffa9605a8 (patch) | |
tree | 4f5f223715b1089fbaa1693ea628e4ca01eb77af /src/globals.h | |
parent | 4f5776c17cd86f904a7e2f92db297c73e28939b7 (diff) | |
download | vim-git-7306d6b1c9528dcfe89eb77aa7ef354ffa9605a8.tar.gz |
patch 8.2.0251: a couple of function return types can be more specificv8.2.0251
Problem: A couple of function return types can be more specific.
Solution: Use a better return type. (Ken Takata, closes #5629)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h index 562d956eb..bda75b486 100644 --- a/src/globals.h +++ b/src/globals.h @@ -384,9 +384,9 @@ EXTERN type_T t_void INIT4(VAR_VOID, 0, NULL, NULL); EXTERN type_T t_bool INIT4(VAR_BOOL, 0, NULL, NULL); EXTERN type_T t_special INIT4(VAR_SPECIAL, 0, NULL, NULL); EXTERN type_T t_number INIT4(VAR_NUMBER, 0, NULL, NULL); -#ifdef FEAT_FLOAT +# ifdef FEAT_FLOAT EXTERN type_T t_float INIT4(VAR_FLOAT, 0, NULL, NULL); -#endif +# endif EXTERN type_T t_string INIT4(VAR_STRING, 0, NULL, NULL); EXTERN type_T t_blob INIT4(VAR_BLOB, 0, NULL, NULL); EXTERN type_T t_job INIT4(VAR_JOB, 0, NULL, NULL); |