summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2025-01-16 23:36:37 +0100
committerMitya Selivanov <automainint@guattari.tech>2025-01-16 23:36:37 +0100
commitbd16206096354a53dbe096fa41483bd325b78703 (patch)
treed4396536f422ecead9ba7691f49f90388a9f1d48
parentc230abfb0395d6a9d1500bb683a51b79341df633 (diff)
downloadcgi-bd16206096354a53dbe096fa41483bd325b78703.zip
Fix proc args
-rwxr-xr-xmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 550f47e..7ade799 100755
--- a/main.c
+++ b/main.c
@@ -2452,7 +2452,7 @@ b8 is_dark_color(i32 index) {
return fg < bg;
}
-void print_theme() {
+void print_theme(void) {
printf("%d // scale&#10;", SCALE);
printf("%d // width&#10;&#10;", WIDTH);
@@ -2807,7 +2807,7 @@ i64 print_tags(Tag *tags, i64 i) {
return i + 1;
}
-i64 year() {
+i64 year(void) {
time_t t;
time(&t);
struct tm *exp = gmtime(&t);