aboutsummaryrefslogtreecommitdiff
path: root/hal_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'hal_internal.h')
-rw-r--r--hal_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hal_internal.h b/hal_internal.h
index 3e6cf29..44deaf6 100644
--- a/hal_internal.h
+++ b/hal_internal.h
@@ -252,7 +252,7 @@ typedef struct {
hal_uuid_t *result,
unsigned *result_len,
const unsigned result_max,
- hal_uuid_t *previous_uuid);
+ const hal_uuid_t * const previous_uuid);
hal_error_t (*set_attribute)(const hal_pkey_handle_t pkey,
const uint32_t type,
@@ -499,7 +499,7 @@ struct hal_ks_driver {
hal_uuid_t *result,
unsigned *result_len,
const unsigned result_max,
- hal_uuid_t *previous_uuid);
+ const hal_uuid_t * const previous_uuid);
hal_error_t (*set_attribute)(hal_ks_t *ks,
hal_pkey_slot_t *slot,
@@ -624,7 +624,7 @@ static inline hal_error_t hal_ks_match(hal_ks_t *ks,
hal_uuid_t *result,
unsigned *result_len,
const unsigned result_max,
- hal_uuid_t *previous_uuid)
+ const hal_uuid_t * const previous_uuid)
{
if (ks == NULL || ks->driver == NULL || ks->driver->match == NULL)
return HAL_ERROR_BAD_ARGUMENTS;