Commit 88bc7687 authored by Vitaly Arbuzov's avatar Vitaly Arbuzov
Browse files

remove typedef from concrete dictEntry declaration

parent 394f6aaf
...@@ -60,7 +60,7 @@ static dictResizeEnable dict_can_resize = DICT_RESIZE_ENABLE; ...@@ -60,7 +60,7 @@ static dictResizeEnable dict_can_resize = DICT_RESIZE_ENABLE;
static unsigned int dict_force_resize_ratio = 5; static unsigned int dict_force_resize_ratio = 5;
/* -------------------------- types ----------------------------------------- */ /* -------------------------- types ----------------------------------------- */
typedef struct dictEntry { struct dictEntry {
void *key; void *key;
union { union {
void *val; void *val;
...@@ -69,7 +69,7 @@ typedef struct dictEntry { ...@@ -69,7 +69,7 @@ typedef struct dictEntry {
double d; double d;
} v; } v;
struct dictEntry *next; /* Next entry in the same hash bucket. */ struct dictEntry *next; /* Next entry in the same hash bucket. */
} dictEntry; };
typedef struct { typedef struct {
void *key; void *key;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment