summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-22 23:28:26 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-22 23:28:26 +0000
commit22dba27d8dd55e3494775b9241e258e494caf5d3 (patch)
tree8e3e1a756c6efc65d8211e884bf5c5b9dd60dea1 /src/common/container.c
parentfe32c2d1412e7a3906fa4f0ae0f99f12de5b882b (diff)
downloadtor-22dba27d8dd55e3494775b9241e258e494caf5d3.tar.gz
tor-22dba27d8dd55e3494775b9241e258e494caf5d3.zip
Normalize a few more kinds of whitespace. We now dislike:
- func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index ec47adf729..f41dfd76aa 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -597,7 +597,8 @@ int strmap_iter_done(strmap_iter_t *iter)
/** Remove all entries from <b>map</b>, and deallocate storage for those entries.
* If free_val is provided, it is invoked on every value in <b>map</b>.
*/
-void strmap_free(strmap_t *map, void (*free_val)(void*))
+void
+strmap_free(strmap_t *map, void (*free_val)(void*))
{
strmap_entry_t *ent, *next;
for (ent = SPLAY_MIN(strmap_tree, &map->head); ent != NULL; ent = next) {