aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-05-29 12:44:12 -0400
committerRob Austein <sra@hactrn.net>2017-05-29 12:44:12 -0400
commitd2633bb4155c6798949e92d8113bc036b942a018 (patch)
treeb797564964854223e49e9b65a8de052e2041ff4e
parent5cee716555db92942c5b11c824839bb00aaf35b9 (diff)
Indentation.
-rw-r--r--ks.c8
-rw-r--r--ks.h10
2 files changed, 9 insertions, 9 deletions
diff --git a/ks.c b/ks.c
index 2d1d8c4..2b33771 100644
--- a/ks.c
+++ b/ks.c
@@ -163,10 +163,10 @@ hal_error_t hal_ks_block_read_cached(hal_ks_t *ks, const unsigned blockno, hal_k
*/
hal_error_t hal_ks_block_update(hal_ks_t *ks,
- const unsigned b1,
- hal_ks_block_t *block,
- const hal_uuid_t * const uuid,
- int *hint)
+ const unsigned b1,
+ hal_ks_block_t *block,
+ const hal_uuid_t * const uuid,
+ int *hint)
{
if (block == NULL)
return HAL_ERROR_IMPOSSIBLE;
diff --git a/ks.h b/ks.h
index 25f2acf..44581a2 100644
--- a/ks.h
+++ b/ks.h
@@ -111,7 +111,7 @@ typedef struct {
uint8_t der[]; /* Must be last field -- C99 "flexible array member" */
} hal_ks_key_block_t;
-#define SIZEOF_KS_KEY_BLOCK_DER \
+#define SIZEOF_KS_KEY_BLOCK_DER \
(HAL_KS_BLOCK_SIZE - offsetof(hal_ks_key_block_t, der))
/*
@@ -390,14 +390,14 @@ extern hal_error_t hal_ks_attribute_insert(uint8_t *bytes, const size_t bytes_le
extern hal_ks_block_t *hal_ks_cache_pick_lru(hal_ks_t *ks);
extern hal_ks_block_t *hal_ks_cache_find_block(const hal_ks_t * const ks,
- const unsigned blockno);
+ const unsigned blockno);
extern void hal_ks_cache_mark_used(hal_ks_t *ks,
- const hal_ks_block_t * const block,
- const unsigned blockno);
+ const hal_ks_block_t * const block,
+ const unsigned blockno);
extern void hal_ks_cache_release(hal_ks_t *ks,
- const hal_ks_block_t * const block);
+ const hal_ks_block_t * const block);
extern hal_error_t hal_ks_block_read_cached(hal_ks_t *ks,
const unsigned blockno,