diff options
author | dundargoc <gocdundar@gmail.com> | 2023-12-31 01:54:34 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-01-02 21:59:12 +0100 |
commit | 735aa4c4c89943b26f1d6ba0d3e076002490c09d (patch) | |
tree | a96add0d8cfc4d4b86b87786d6c3f45a2f3db9ec /src/nvim/eval | |
parent | 3f35c69b23d1bc951f158e4e3d8e554f89bd1037 (diff) | |
download | rneovim-735aa4c4c89943b26f1d6ba0d3e076002490c09d.tar.gz rneovim-735aa4c4c89943b26f1d6ba0d3e076002490c09d.tar.bz2 rneovim-735aa4c4c89943b26f1d6ba0d3e076002490c09d.zip |
refactor: remove redundant struct names
A struct can be anonymous if only its typedef is used.
Diffstat (limited to 'src/nvim/eval')
-rw-r--r-- | src/nvim/eval/typval_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/typval_defs.h b/src/nvim/eval/typval_defs.h index a6a0282fad..9c94542d11 100644 --- a/src/nvim/eval/typval_defs.h +++ b/src/nvim/eval/typval_defs.h @@ -74,7 +74,7 @@ typedef struct { #define CALLBACK_NONE ((Callback)CALLBACK_INIT) /// Structure holding dictionary watcher -typedef struct dict_watcher { +typedef struct { Callback callback; char *key_pattern; size_t key_pattern_len; |