st-patches/st-fix-argv.patch

11 lines
215 B
Diff

--- a/arg.h
+++ b/arg.h
@@ -6,7 +6,7 @@
#ifndef ARG_H__
#define ARG_H__
-extern char *argv0;
+static char *argv0;
/* use main(int argc, char *argv[]) */
#define ARGBEGIN for (argv0 = *argv, argv++, argc--;\