shithub: scc

Download patch

ref: 0e0b013822b6edec7e00ffb128efb0c2c9106561
parent: 0227f08f277216ef979a859e1170aff185205abb
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Apr 23 11:52:45 EDT 2020

libc: Remove trailing whitespaces

--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -4,6 +4,6 @@
 #define bool _Bool
 #define true 1
 #define false 0
-#define __bool_true_false_are_defined 1	
+#define __bool_true_false_are_defined 1
 
 #endif
--- a/src/libc/locale/localeconv.c
+++ b/src/libc/locale/localeconv.c
@@ -5,7 +5,7 @@
 struct lconv *
 localeconv(void)
 {
-	static struct lconv lc = { 
+	static struct lconv lc = {
 		.decimal_point = ".",
 		.thousands_sep = "",
 		.grouping = "",
--- a/src/libc/time/strftime.c
+++ b/src/libc/time/strftime.c
@@ -6,7 +6,7 @@
 
 static char *days[] = {
 	"Sunday",   "Monday", "Tuesday",  "Wednesday",
-	"Thursday", "Friday", "Saturday", 
+	"Thursday", "Friday", "Saturday",
 };
 
 static char *months[] = {
@@ -154,10 +154,10 @@
 		case 'n':
 			val = '\n';
 			goto character;
-		case 't': 
+		case 't':
 			val = '\t';
 			goto character;
-		case '%': 
+		case '%':
 			val = '%';
 		character:
 			*s = val;