commit ced4addf9b916888067fc0fd08c2eb7a7944043f
parent b212e291e22b9e70485520b48c1d250d52712b09
Author: Roberto E. Vargas Caballero <roberto@clue.aero>
Date: Thu, 23 Apr 2020 15:52:45 +0200
libc: Remove trailing whitespaces
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git 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
diff --git 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 = "",
diff --git 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 @@ strftime(char * restrict s, size_t siz,
case 'n':
val = '\n';
goto character;
- case 't':
+ case 't':
val = '\t';
goto character;
- case '%':
+ case '%':
val = '%';
character:
*s = val;