diff --git a/src/template.c b/src/template.c index d4e00e7..6c9b0d4 100644 --- a/src/template.c +++ b/src/template.c @@ -101,7 +101,7 @@ main(void) { // * log -> welcome #if !SILENT_MODE - printf(":: C bytebeat generator runtime unit\n"); + puts(":: C bytebeat generator runtime unit"); fflush(stdout); #endif @@ -139,11 +139,11 @@ main(void) if (samples > 0) printf("%" PRIuMAX " samples", samples); - printf( + puts( #if VERBOSE_MODE || SEQUENTIAL_MODE "\n" #endif - "\n" + "" ); fflush(stdout); @@ -152,7 +152,7 @@ main(void) // * write WAVE headers // 0. log #if SEQUENTIAL_MODE - printf("Writing WAVE headers...\n"); + puts("Writing WAVE headers..."); #endif // 1. open file @@ -314,11 +314,11 @@ main(void) #if SEQUENTIAL_MODE if (seq == 0) #endif - printf( + puts( #if !SEQUENTIAL_MODE "\n" #endif - "Writing out file " OUTPUT_FILE "...\n"); + "Writing out file " OUTPUT_FILE "..."); #endif fflush(stdout); #endif @@ -347,11 +347,11 @@ main(void) // * end of program #if !SILENT_MODE - printf( + puts( #if SEQUENTIAL_MODE && VERBOSE_MODE - "\n" + "" #endif - "Done!\n"); + "Done!"); #endif return EXIT_SUCCESS;