aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoname <noname@inventati.org>2014-04-27 15:39:47 +0400
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-28 18:38:06 +0200
commit1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4 (patch)
tree933b029425f7a3ec62faa82d61dda9c482461428
parenta48f2be7f537cb1655c6b550d9346a17459a94bd (diff)
downloadst-1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4.tar.gz
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);
399static void tselcs(void); 399static void tselcs(void);
400static void tdeftran(char); 400static void tdeftran(char);
401static inline bool match(uint, uint); 401static inline bool match(uint, uint);
402static void dump(char c);
402static void ttynew(void); 403static void ttynew(void);
403static void ttyread(void); 404static void ttyread(void);
404static void ttyresize(void); 405static void ttyresize(void);
@@ -449,6 +450,8 @@ static char *getsel(void);
449static void selcopy(void); 450static void selcopy(void);
450static void selscroll(int, int); 451static void selscroll(int, int);
451static void selsnap(int, int *, int *, int); 452static void selsnap(int, int *, int *, int);
453static void getbuttoninfo(XEvent *);
454static void mousereport(XEvent *);
452 455
453static size_t utf8decode(char *, long *, size_t); 456static size_t utf8decode(char *, long *, size_t);
454static long utf8decodebyte(char, size_t *); 457static long utf8decodebyte(char, size_t *);
@@ -462,6 +465,8 @@ static void *xmalloc(size_t);
462static void *xrealloc(void *, size_t); 465static void *xrealloc(void *, size_t);
463static char *xstrdup(char *); 466static char *xstrdup(char *);
464 467
468static void usage(void);
469
465static void (*handler[LASTEvent])(XEvent *) = { 470static void (*handler[LASTEvent])(XEvent *) = {
466 [KeyPress] = kpress, 471 [KeyPress] = kpress,
467 [ClientMessage] = cmessage, 472 [ClientMessage] = cmessage,