refactor: remove redundant struct names

A struct can be anonymous if only its typedef is used.
This commit is contained in:
dundargoc
2023-12-31 01:54:34 +01:00
committed by dundargoc
parent 3f35c69b23
commit 735aa4c4c8
42 changed files with 89 additions and 92 deletions

View File

@@ -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.