mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-17 13:50:06 +01:00
Make tools_clear_line internal routine.
This commit is contained in:
committed by
Milan Broz
parent
07f9248448
commit
958eaf4b24
@@ -104,8 +104,6 @@ int tools_is_stdin(const char *key_file);
|
||||
int tools_string_to_size(struct crypt_device *cd, const char *s, uint64_t *size);
|
||||
int tools_is_cipher_null(const char *cipher);
|
||||
|
||||
void tools_clear_line(void);
|
||||
|
||||
int tools_wipe_progress(uint64_t size, uint64_t offset, void *usrptr);
|
||||
int tools_reencrypt_progress(uint64_t size, uint64_t offset, void *usrptr);
|
||||
|
||||
|
||||
@@ -373,7 +373,7 @@ static double time_diff(struct timeval *start, struct timeval *end)
|
||||
+ (end->tv_usec - start->tv_usec) / 1E6;
|
||||
}
|
||||
|
||||
void tools_clear_line(void)
|
||||
static void tools_clear_line(void)
|
||||
{
|
||||
if (opt_progress_frequency)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user