mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
refactor: remove redundant struct names
A struct can be anonymous if only its typedef is used.
This commit is contained in:
@@ -20,7 +20,7 @@ typedef enum {
|
||||
enum { HIST_COUNT = HIST_DEBUG + 1, }; ///< Number of history tables
|
||||
|
||||
/// History entry definition
|
||||
typedef struct hist_entry {
|
||||
typedef struct {
|
||||
int hisnum; ///< Entry identifier number.
|
||||
char *hisstr; ///< Actual entry, separator char after the NUL.
|
||||
Timestamp timestamp; ///< Time when entry was added.
|
||||
|
Reference in New Issue
Block a user