From e48efa984a05f7c1cf481ae67eb2bfc110cbda76 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Mon, 5 Dec 2022 17:30:34 +0100 Subject: [PATCH] Added missing line breaks. --- example/hash-map/src/main.c | 1 + example/hash-set/src/main.c | 1 + test/hash-map/src/main.c | 4 ++-- test/hash-set/src/main.c | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/example/hash-map/src/main.c b/example/hash-map/src/main.c index ca2df9e..8681369 100644 --- a/example/hash-map/src/main.c +++ b/example/hash-map/src/main.c @@ -52,6 +52,7 @@ int main(void) { printf("Entry: 0x%016" PRIX64 " -> 0x%016" PRIX64 "\n", key, value); } + puts(""); /* destroy the hash map, when it is no longer needed! */ hash_map_destroy64(hash_map); diff --git a/example/hash-set/src/main.c b/example/hash-set/src/main.c index fc3078d..019e5f8 100644 --- a/example/hash-set/src/main.c +++ b/example/hash-set/src/main.c @@ -51,6 +51,7 @@ int main(void) { printf("Item: 0x%016" PRIX64 "\n", item); } + puts(""); /* destroy the hash set, when it is no longer needed! */ hash_set_destroy64(hash_set); diff --git a/test/hash-map/src/main.c b/test/hash-map/src/main.c index 30ead32..a74491d 100644 --- a/test/hash-map/src/main.c +++ b/test/hash-map/src/main.c @@ -47,11 +47,11 @@ int main(void) hash_map_destroy64(hash_set); clk_end = clock_query(); - printf("Tests completed successfully [%.2f].", (clk_end - clk_begin) / ((double)clock_frequency())); + printf("Tests completed successfully [%.2f].\n\n", (clk_end - clk_begin) / ((double)clock_frequency())); return EXIT_SUCCESS; failure: hash_map_destroy64(hash_set); - puts("\nSomething went wrong !!!"); + puts("\nSomething went wrong !!!\n"); return EXIT_FAILURE; } diff --git a/test/hash-set/src/main.c b/test/hash-set/src/main.c index a243e27..28b0cbb 100644 --- a/test/hash-set/src/main.c +++ b/test/hash-set/src/main.c @@ -47,11 +47,11 @@ int main(void) hash_set_destroy64(hash_set); clk_end = clock_query(); - printf("Tests completed successfully [%.2f].", (clk_end - clk_begin) / ((double)clock_frequency())); + printf("Tests completed successfully [%.2f].\n\n", (clk_end - clk_begin) / ((double)clock_frequency())); return EXIT_SUCCESS; failure: hash_set_destroy64(hash_set); - puts("\nSomething went wrong !!!"); + puts("\nSomething went wrong !!!\n"); return EXIT_FAILURE; }