summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoname2014-04-27 15:39:47 +0400
committerRoberto E. Vargas Caballero2014-04-28 18:38:06 +0200
commit1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4 (patch)
tree933b029425f7a3ec62faa82d61dda9c482461428
parenta48f2be7f537cb1655c6b550d9346a17459a94bd (diff)
downloadst-1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4.tar.gz
st-1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4.tar.xz
st-1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4.zip
Add missing function prototypes.
-rw-r--r--st.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/st.c b/st.c
index d5a8257..7afff39 100644
--- a/st.c
+++ b/st.c
@@ -399,6 +399,7 @@ static int32_t tdefcolor(int *, int *, int);
static void tselcs(void);
static void tdeftran(char);
static inline bool match(uint, uint);
+static void dump(char c);
static void ttynew(void);
static void ttyread(void);
static void ttyresize(void);
@@ -449,6 +450,8 @@ static char *getsel(void);
static void selcopy(void);
static void selscroll(int, int);
static void selsnap(int, int *, int *, int);
+static void getbuttoninfo(XEvent *);
+static void mousereport(XEvent *);
static size_t utf8decode(char *, long *, size_t);
static long utf8decodebyte(char, size_t *);
@@ -462,6 +465,8 @@ static void *xmalloc(size_t);
static void *xrealloc(void *, size_t);
static char *xstrdup(char *);
+static void usage(void);
+
static void (*handler[LASTEvent])(XEvent *) = {
[KeyPress] = kpress,
[ClientMessage] = cmessage,