[hackers] [st] make argv0 not static, fixes a warning with tcc || Hiltjo Posthuma
commit 5703aa0390484dd7da4bd9c388c85708d8fcd339
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Fri Apr 10 12:12:43 2020 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
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
_AT_@ -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"
Received on Fri Apr 10 2020 - 12:13:48 CEST
This archive was generated by hypermail 2.3.0
: Fri Apr 10 2020 - 12:24:37 CEST