make argv0 not static, fixes a warning with tcc
authorHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 10 Apr 2020 10:12:43 +0000 (12:12 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 10 Apr 2020 10:12:43 +0000 (12:12 +0200)
Reported by Aajonus, thanks!

x.c

diff --git a/x.c b/x.c
index 4cf6b21..e5f1737 100644 (file)
--- 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"