]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/hashmap,set: move pointer symbol adjactent to the returned value 16922/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 1 Sep 2020 11:22:14 +0000 (13:22 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 1 Sep 2020 11:45:51 +0000 (13:45 +0200)
commit8a35af80fc7ae6d32143bfb225828e1fb1f62914
treed8ba49ee49d71b3ae8be7fb534eadfd044f791d8
parente4126adf453d170afae319f7d3d7a87b4d2f5159
basic/hashmap,set: move pointer symbol adjactent to the returned value

I think this is nicer in general, and here in particular we have a lot
of code like:
 static inline IteratedCache* hashmap_iterated_cache_new(Hashmap *h) {
         return (IteratedCache*) _hashmap_iterated_cache_new(HASHMAP_BASE(h));
 }
and it's visually appealing to use the same whitespace in the function
signature and the cast in the body of the function.
src/basic/hashmap.c
src/basic/hashmap.h
src/basic/ordered-set.h
src/basic/set.h