aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-04-10 12:12:43 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-04-10 12:12:43 +0200
commit5703aa0390484dd7da4bd9c388c85708d8fcd339 (patch)
tree6566c22df2766695b983767463f1942d49c24538
parent28ad28839985e965c9ca06a9a202523414c84ac4 (diff)
downloadst-5703aa0390484dd7da4bd9c388c85708d8fcd339.tar.gz
make argv0 not static, fixes a warning with tcc
Reported by Aajonus, thanks!
-rw-r--r--x.c2
1 files changed, 1 insertions, 1 deletions
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"
remember that computers suck.