diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-06-19 19:52:26 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-06-19 19:55:18 +0200 |
commit | 2cbea6ce4e5e14af06c0ffa3794e4a07ebb04752 (patch) | |
tree | b4fb8dcb962e48622f12b01408f91430193dbc52 /NK_C_API.h | |
parent | 81a288088c4e54ffce81e1971c4ccdfe2ec80b8a (diff) | |
download | libnitrokey-2cbea6ce4e5e14af06c0ffa3794e4a07ebb04752.tar.gz libnitrokey-2cbea6ce4e5e14af06c0ffa3794e4a07ebb04752.tar.bz2 |
Add "deprecated" tags to get_time and NK_totp_get_time functions
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -398,7 +398,7 @@ extern "C" { */ NK_C_API int NK_totp_set_time_soft(uint64_t time); - /* NK_totp_get_time() is deprecated -- use NK_totp_set_time_soft */ + [[deprecated("NK_totp_get_time is deprecated -- use NK_totp_set_time_soft instead")]] NK_C_API int NK_totp_get_time(); //passwords |