diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-07-20 15:47:42 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-07-20 15:50:32 -0400 |
| commit | cb1991af8c3f09e28c90932cb36bd1d2c07375d6 (patch) | |
| tree | 8afceae737eed0619bdd3c074676795efccbdb2a /lib/hash.c | |
| parent | efa98761d28b79796c0df91f823b241106d5f7b6 (diff) | |
*: frr_with_mutex change to follow our standard
convert:
frr_with_mutex(..)
to:
frr_with_mutex (..)
To make all our code agree with what clang-format is going to produce
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/hash.c')
| -rw-r--r-- | lib/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hash.c b/lib/hash.c index e9132f7907..4b371b43ab 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -56,7 +56,7 @@ struct hash *hash_create_size(unsigned int size, hash->name = name ? XSTRDUP(MTYPE_HASH, name) : NULL; hash->stats.empty = hash->size; - frr_with_mutex(&_hashes_mtx) { + frr_with_mutex (&_hashes_mtx) { if (!_hashes) _hashes = list_new(); @@ -329,7 +329,7 @@ struct list *hash_to_list(struct hash *hash) void hash_free(struct hash *hash) { - frr_with_mutex(&_hashes_mtx) { + frr_with_mutex (&_hashes_mtx) { if (_hashes) { listnode_delete(_hashes, hash); if (_hashes->count == 0) { |
