aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.h
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-31 01:54:34 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-01-02 21:59:12 +0100
commit735aa4c4c89943b26f1d6ba0d3e076002490c09d (patch)
treea96add0d8cfc4d4b86b87786d6c3f45a2f3db9ec /src/nvim/ops.h
parent3f35c69b23d1bc951f158e4e3d8e554f89bd1037 (diff)
downloadrneovim-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/ops.h')
-rw-r--r--src/nvim/ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.h b/src/nvim/ops.h
index 4dab51b15d..a070db7a3b 100644
--- a/src/nvim/ops.h
+++ b/src/nvim/ops.h
@@ -86,7 +86,7 @@ enum GRegFlags {
};
/// Definition of one register
-typedef struct yankreg {
+typedef struct {
char **y_array; ///< Pointer to an array of line pointers.
size_t y_size; ///< Number of lines in y_array.
MotionType y_type; ///< Register type