diff options
author | Shawn Willden <swillden@google.com> | 2015-04-08 06:54:57 -0600 |
---|---|---|
committer | Shawn Willden <swillden@google.com> | 2015-04-10 07:50:36 -0600 |
commit | e1afa5b8f312374257e1fcf3c1c67a95306dce9a (patch) | |
tree | 63e590cd7f7ab7c01de6c9da0b0faff9137faf8d /include | |
parent | 6950fae4646752f79f42d6a7335f58c33ce4c20d (diff) | |
download | hardware_libhardware-e1afa5b8f312374257e1fcf3c1c67a95306dce9a.zip hardware_libhardware-e1afa5b8f312374257e1fcf3c1c67a95306dce9a.tar.gz hardware_libhardware-e1afa5b8f312374257e1fcf3c1c67a95306dce9a.tar.bz2 |
Correct return type of delete_all_keys.
Change-Id: Ic868882a4b456913879f91562442ef233a58d09e
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware/keymaster1.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hardware/keymaster1.h b/include/hardware/keymaster1.h index dae3b8e..4227f57 100644 --- a/include/hardware/keymaster1.h +++ b/include/hardware/keymaster1.h @@ -466,10 +466,8 @@ struct keymaster1_device { * This function is optional and should be set to NULL if it is not implemented. * * \param[in] dev The keymaster device structure. - * - * Returns 0 on success or an error code less than 0. */ - int (*delete_all_keys)(const struct keymaster1_device* dev); + keymaster_error_t (*delete_all_keys)(const struct keymaster1_device* dev); /** * Begins a cryptographic operation using the specified key. If all is well, begin() will |