diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-09-19 12:27:05 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-09-19 12:28:04 +0200 |
commit | 404c90182ca3bcb029f04a604cb5d51ba51096b9 (patch) | |
tree | 31fa4a080e8961023a94edb1550dfae378e5148b /NK_C_API.h | |
parent | a3571946002bf7e748613df5006c2f5a6564c1e4 (diff) | |
download | libnitrokey-404c90182ca3bcb029f04a604cb5d51ba51096b9.tar.gz libnitrokey-404c90182ca3bcb029f04a604cb5d51ba51096b9.tar.bz2 |
Use DEPRECATED macro for C compatibility
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -837,7 +837,8 @@ extern "C" { * @param user_pin 20 characters User PIN * @return command processing error code */ - [[deprecated("NK_set_unencrypted_read_only is deprecated. Use NK_set_unencrypted_read_only_admin instead")]] + //[[deprecated("NK_set_unencrypted_read_only is deprecated. Use NK_set_unencrypted_read_only_admin instead")]] + DEPRECATED NK_C_API int NK_set_unencrypted_read_only(const char *user_pin); /** @@ -850,7 +851,8 @@ extern "C" { * @param user_pin 20 characters User PIN * @return command processing error code */ - [[deprecated("NK_set_unencrypted_read_write is deprecated. Use NK_set_unencrypted_read_write_admin instead")]] + //[[deprecated("NK_set_unencrypted_read_write is deprecated. Use NK_set_unencrypted_read_write_admin instead")]] + DEPRECATED NK_C_API int NK_set_unencrypted_read_write(const char *user_pin); /** |