make argv0 not static, fixes a warning with tcc - st - simple terminal
HTML git clone git://git.suckless.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 5703aa0390484dd7da4bd9c388c85708d8fcd339
DIR parent 28ad28839985e965c9ca06a9a202523414c84ac4
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 10 Apr 2020 12:12:43 +0200
make argv0 not static, fixes a warning with tcc
Reported by Aajonus, thanks!
Diffstat:
M x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git 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"