aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-10-10 11:11:27 -0500
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commit3518dba2a5fb57f601b74528ddeb67f173e4024b (patch)
tree680c384eecbef2d9894eef8bc6044c4b449177b1 /st.c
parent3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d (diff)
Move usage() to be with run() in x.c
run/usage/xinit are now all internal to x.c Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.c')
-rw-r--r--st.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/st.c b/st.c
index 668b312..6338510 100644
--- a/st.c
+++ b/st.c
@@ -28,8 +28,6 @@
#include <X11/cursorfont.h>
#include <X11/Xft/Xft.h>
-char *argv0;
-
#define Glyph Glyph_
#define Font Font_
@@ -2687,16 +2685,3 @@ cresize(int width, int height)
tresize(col, row);
xresize(col, row);
}
-
-void
-usage(void)
-{
- die("usage: %s [-aiv] [-c class] [-f font] [-g geometry]"
- " [-n name] [-o file]\n"
- " [-T title] [-t title] [-w windowid]"
- " [[-e] command [args ...]]\n"
- " %s [-aiv] [-c class] [-f font] [-g geometry]"
- " [-n name] [-o file]\n"
- " [-T title] [-t title] [-w windowid] -l line"
- " [stty_args ...]\n", argv0, argv0);
-}