diff options
author | Paul Selkirk <paul@psgd.org> | 2017-10-11 15:48:58 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-10-11 15:48:58 -0400 |
commit | 0042b62fc6f54935d481b632c1e9153b64d0ce58 (patch) | |
tree | 6c9fe82f7e0346f70316d979e28cbb659cd79cf7 | |
parent | 63636301593c8a3952afae61c1b5f279c27f69ea (diff) |
Cleanup: Remove "const" qualifiers from function return types.
-rw-r--r-- | core.c | 2 | ||||
-rw-r--r-- | ecdsa.c | 2 | ||||
-rw-r--r-- | hal.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -270,7 +270,7 @@ const hal_core_info_t *hal_core_info(const hal_core_t *core) return core == NULL ? NULL : &core->info; } -const int hal_core_busy(const hal_core_t *core) +int hal_core_busy(const hal_core_t *core) { return (int)core->busy; } @@ -199,7 +199,7 @@ const size_t hal_ecdsa_key_t_size = sizeof(struct hal_ecdsa_key); * first time anything asks for any of them. */ -static const ecdsa_curve_t * const get_curve(const hal_curve_name_t curve) +static const ecdsa_curve_t * get_curve(const hal_curve_name_t curve) { static ecdsa_curve_t curve_p256, curve_p384, curve_p521; static int initialized = 0; @@ -232,7 +232,7 @@ extern hal_error_t hal_core_alloc(const char *name, hal_core_t **core); extern void hal_core_free(hal_core_t *core); extern void hal_critical_section_start(void); extern void hal_critical_section_end(void); -extern const int hal_core_busy(const hal_core_t *core); +extern int hal_core_busy(const hal_core_t *core); /* * Slightly higher level public API, still working directly with cores. |