mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-30 07:20:59 +00:00
remove extra spaces
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
1f7dd8df9b
commit
e7ea823d43
@ -43,7 +43,7 @@ void sleep_ms(int milliseconds)
|
|||||||
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
||||||
void time_get_milliseconds()
|
void time_get_milliseconds()
|
||||||
{
|
{
|
||||||
mbedtls_ms_time_t current = mbedtls_ms_time();
|
mbedtls_ms_time_t current = mbedtls_ms_time();
|
||||||
(void) current;
|
(void) current;
|
||||||
/* This goto is added to avoid warnings from the generated code. */
|
/* This goto is added to avoid warnings from the generated code. */
|
||||||
goto exit;
|
goto exit;
|
||||||
@ -53,7 +53,7 @@ void time_get_milliseconds()
|
|||||||
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
||||||
void time_get_seconds()
|
void time_get_seconds()
|
||||||
{
|
{
|
||||||
mbedtls_time_t current = mbedtls_time(NULL);
|
mbedtls_time_t current = mbedtls_time(NULL);
|
||||||
(void) current;
|
(void) current;
|
||||||
/* This goto is added to avoid warnings from the generated code. */
|
/* This goto is added to avoid warnings from the generated code. */
|
||||||
goto exit;
|
goto exit;
|
||||||
@ -63,8 +63,8 @@ void time_get_seconds()
|
|||||||
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
||||||
void time_delay_milliseconds(int delay_ms)
|
void time_delay_milliseconds(int delay_ms)
|
||||||
{
|
{
|
||||||
mbedtls_ms_time_t current = mbedtls_ms_time();
|
mbedtls_ms_time_t current = mbedtls_ms_time();
|
||||||
mbedtls_ms_time_t elapsed_ms;
|
mbedtls_ms_time_t elapsed_ms;
|
||||||
|
|
||||||
sleep_ms(delay_ms);
|
sleep_ms(delay_ms);
|
||||||
|
|
||||||
@ -78,8 +78,8 @@ void time_delay_milliseconds(int delay_ms)
|
|||||||
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
/* BEGIN_CASE depends_on:MBEDTLS_HAVE_TIME */
|
||||||
void time_delay_seconds(int delay_secs)
|
void time_delay_seconds(int delay_secs)
|
||||||
{
|
{
|
||||||
mbedtls_time_t current = mbedtls_time(NULL);
|
mbedtls_time_t current = mbedtls_time(NULL);
|
||||||
mbedtls_time_t elapsed_secs;
|
mbedtls_time_t elapsed_secs;
|
||||||
|
|
||||||
sleep_ms(delay_secs * 1000);
|
sleep_ms(delay_secs * 1000);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user