From d2633bb4155c6798949e92d8113bc036b942a018 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 29 May 2017 12:44:12 -0400 Subject: Indentation. --- ks.c | 8 ++++---- ks.h | 10 +++++----- 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, -- cgit v1.2.3