From 18c11eb3bcbd042eba410c1f01659ea6ad0aa2df Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 22 Jul 2005 21:12:10 +0000 Subject: Be consistent about preferring foo* to struct foo* svn:r4637 --- src/common/container.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/common/container.c') diff --git a/src/common/container.c b/src/common/container.c index b53710d4f..a231afdc8 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -388,18 +388,18 @@ char *smartlist_join_strings2(smartlist_t *sl, const char *join, /* Splay-tree implementation of string-to-void* map */ -struct strmap_entry_t { +typedef struct strmap_entry_t { SPLAY_ENTRY(strmap_entry_t) node; char *key; void *val; -}; +} strmap_entry_t; struct strmap_t { SPLAY_HEAD(strmap_tree, strmap_entry_t) head; }; -static int compare_strmap_entries(struct strmap_entry_t *a, - struct strmap_entry_t *b) +static int compare_strmap_entries(strmap_entry_t *a, + strmap_entry_t *b) { return strcmp(a->key, b->key); } -- cgit v1.2.3