---
arg.h | 2 +-
st.c | 2 +-
x.c | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arg.h b/arg.h
index a22e019..1715b88 100644
--- 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--;\
diff --git a/st.c b/st.c
index 30406fa..aa57294 100644
--- a/st.c
+++ b/st.c
@@ -941,7 +941,7 @@ ttyresize(int tw, int th)
}
void
-ttyhangup()
+ttyhangup(void)
{
/* Send SIGHUP to shell */
kill(pid, SIGHUP);
diff --git a/x.c b/x.c
index b3cba01..40164f9 100644
--- a/x.c
+++ b/x.c
@@ -15,7 +15,6 @@
#include <X11/Xft/Xft.h>
#include <X11/XKBlib.h>
-static char *argv0;
#include "arg.h"
#include "st.h"
#include "win.h"
--
2.20.1