commit 5703aa0390484dd7da4bd9c388c85708d8fcd339
Author: Hiltjo Posthuma <[email protected]>
AuthorDate: Fri Apr 10 12:12:43 2020 +0200
Commit: Hiltjo Posthuma <[email protected]>
CommitDate: Fri Apr 10 12:12:43 2020 +0200
make argv0 not static, fixes a warning with tcc
Reported by Aajonus, thanks!
diff --git a/x.c b/x.c
index 4cf6b21..e5f1737 100644
--- a/x.c
+++ b/x.c
@@ -15,7 +15,7 @@
#include <X11/Xft/Xft.h>
#include <X11/XKBlib.h>
-static char *argv0;
+char *argv0;
#include "arg.h"
#include "st.h"
#include "win.h"