summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/zix/attributes.h2
-rw-r--r--include/zix/btree.h4
-rw-r--r--include/zix/hash.h8
-rw-r--r--include/zix/tree.h8
4 files changed, 11 insertions, 11 deletions
diff --git a/include/zix/attributes.h b/include/zix/attributes.h
index 3824ce6..602fac8 100644
--- a/include/zix/attributes.h
+++ b/include/zix/attributes.h
@@ -58,7 +58,7 @@
#elif defined(__GNUC__)
# define ZIX_UNUSED(name) name##_unused __attribute__((__unused__))
#elif defined(_MSC_VER)
-# define ZIX_UNUSED(name) __pragma(warning(suppress:4100)) name
+# define ZIX_UNUSED(name) __pragma(warning(suppress : 4100)) name
#else
# define ZIX_UNUSED(name) name
#endif
diff --git a/include/zix/btree.h b/include/zix/btree.h
index 3f3e28b..92e5c5f 100644
--- a/include/zix/btree.h
+++ b/include/zix/btree.h
@@ -126,8 +126,8 @@ zix_btree_insert(ZixBTree* ZIX_NONNULL t, void* ZIX_NULLABLE e);
*/
ZIX_API
ZixStatus
-zix_btree_remove(ZixBTree* ZIX_NONNULL t,
- const void* ZIX_NULLABLE e,
+zix_btree_remove(ZixBTree* ZIX_NONNULL t,
+ const void* ZIX_NULLABLE e,
void* ZIX_NULLABLE* ZIX_NONNULL out,
ZixBTreeIter* ZIX_NONNULL next);
diff --git a/include/zix/hash.h b/include/zix/hash.h
index 9716123..a0146de 100644
--- a/include/zix/hash.h
+++ b/include/zix/hash.h
@@ -267,8 +267,8 @@ zix_hash_insert(ZixHash* ZIX_NONNULL hash, ZixHashRecord* ZIX_NONNULL record);
*/
ZIX_API
ZixStatus
-zix_hash_erase(ZixHash* ZIX_NONNULL hash,
- ZixHashIter i,
+zix_hash_erase(ZixHash* ZIX_NONNULL hash,
+ ZixHashIter i,
ZixHashRecord* ZIX_NULLABLE* ZIX_NONNULL removed);
/**
@@ -281,8 +281,8 @@ zix_hash_erase(ZixHash* ZIX_NONNULL hash,
*/
ZIX_API
ZixStatus
-zix_hash_remove(ZixHash* ZIX_NONNULL hash,
- const ZixHashKey* ZIX_NONNULL key,
+zix_hash_remove(ZixHash* ZIX_NONNULL hash,
+ const ZixHashKey* ZIX_NONNULL key,
ZixHashRecord* ZIX_NULLABLE* ZIX_NONNULL removed);
/**
diff --git a/include/zix/tree.h b/include/zix/tree.h
index 53cb375..eade134 100644
--- a/include/zix/tree.h
+++ b/include/zix/tree.h
@@ -51,8 +51,8 @@ zix_tree_size(const ZixTree* ZIX_NONNULL t);
/// Insert the element `e` into `t` and point `ti` at the new element
ZIX_API
ZixStatus
-zix_tree_insert(ZixTree* ZIX_NONNULL t,
- void* ZIX_NULLABLE e,
+zix_tree_insert(ZixTree* ZIX_NONNULL t,
+ void* ZIX_NULLABLE e,
ZixTreeIter* ZIX_NULLABLE* ZIX_NULLABLE ti);
/// Remove the item pointed at by `ti` from `t`
@@ -67,8 +67,8 @@ zix_tree_remove(ZixTree* ZIX_NONNULL t, ZixTreeIter* ZIX_NONNULL ti);
*/
ZIX_API
ZixStatus
-zix_tree_find(const ZixTree* ZIX_NONNULL t,
- const void* ZIX_NULLABLE e,
+zix_tree_find(const ZixTree* ZIX_NONNULL t,
+ const void* ZIX_NULLABLE e,
ZixTreeIter* ZIX_NULLABLE* ZIX_NONNULL ti);
/// Return the data associated with the given tree item