aboutsummaryrefslogtreecommitdiff
path: root/libnitrokey/NitrokeyManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnitrokey/NitrokeyManager.h')
-rw-r--r--libnitrokey/NitrokeyManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnitrokey/NitrokeyManager.h b/libnitrokey/NitrokeyManager.h
index f7a99da..0689c3f 100644
--- a/libnitrokey/NitrokeyManager.h
+++ b/libnitrokey/NitrokeyManager.h
@@ -75,7 +75,8 @@ char * strndup(const char* str, size_t maxlen);
* 1970-01-01)
*/
void set_time_soft(uint64_t time);
- /* get_time is deprecated -- use set_time_soft instead */
+
+ [[deprecated("get_time is deprecated -- use set_time_soft instead")]]
bool get_time(uint64_t time = 0);
bool erase_totp_slot(uint8_t slot_number, const char *temporary_password);
bool erase_hotp_slot(uint8_t slot_number, const char *temporary_password);