- commit
- bda1f90742053c2c71866c5678cdac0bc6842c2b
- parent
- 230e49bd4ff02c5f7436b9dc101256db351e552c
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-06-04 12:56
mv byday to Makefile
Diffstat
| M | Makefile | 2 | +- |
| M | calendar.c | 1 | - |
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
@@ -1,7 +1,7 @@ 1 1 all: calendar 2 2 3 3 %: %.c4 -1 gcc -Wall --std=c99 -pedantic -O2 -s $< -o $@-1 4 gcc -Wall --std=c99 -pedantic -O2 -s $< -o $@ -Dbyday 5 5 6 6 run_tests: test 7 7 ./test
diff --git a/calendar.c b/calendar.c
@@ -403,7 +403,6 @@ void print_matches(struct tm date, struct line *first) {
403 403 char ds[11];
404 404 strftime(ds, 11, "%a %b %d", &date);
405 405
406 -1 #define byday
407 406 #ifdef byday
408 407 printf("%s\t", ds);
409 408 struct line *line = first;