chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9dc511e
)
hash: Trivial whitespace cleanups.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 7 Apr 2006 14:03:32 +0000
(15:03 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 7 Apr 2006 14:03:32 +0000
(15:03 +0100)
hash.c
patch
|
blob
|
blame
|
history
diff --git
a/hash.c
b/hash.c
index d18cc003bcebf60bd2344530748b7964e1ca4c0e..92ca39b063689042db830c285baa3a47413fd1cd 100644
(file)
--- a/
hash.c
+++ b/
hash.c
@@
-74,10
+74,7
@@
void hash_create(hash_table *t, size_t n)
* responsibility of the implementation.
*/
* responsibility of the implementation.
*/
-void hash_destroy(hash_table *t)
-{
- x_free(t->a, t->v);
-}
+void hash_destroy(hash_table *t) { x_free(t->a, t->v); }
/* --- @hash_bin@ --- *
*
/* --- @hash_bin@ --- *
*
@@
-91,9
+88,7
@@
void hash_destroy(hash_table *t)
*/
hash_base **hash_bin(hash_table *t, uint32 hash)
*/
hash_base **hash_bin(hash_table *t, uint32 hash)
-{
- return (HASH_BIN(t, hash));
-}
+ { return (HASH_BIN(t, hash)); }
/* --- @hash_extend@ --- *
*
/* --- @hash_extend@ --- *
*