[hackers] [st] Remove unused dump() function. || noname
commit 6681af165b06c32cf65bf970a295600d46cb7025
Author: noname <noname_AT_inventati.org>
Date: Sun Apr 27 15:40:01 2014 +0400
Remove unused dump() function.
diff --git a/st.c b/st.c
index 7afff39..4c4a0c3 100644
--- a/st.c
+++ b/st.c
_AT_@ -399,7 +399,6 @@ 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);
_AT_@ -1243,15 +1242,6 @@ ttynew(void) {
}
void
-dump(char c) {
- static int col;
-
- fprintf(stderr, " %02x '%c' ", c, isprint(c)?c:'.');
- if(++col % 10 == 0)
- fprintf(stderr, "
");
-}
-
-void
ttyread(void) {
static char buf[BUFSIZ];
static int buflen = 0;
Received on Mon Apr 28 2014 - 18:46:01 CEST
This archive was generated by hypermail 2.3.0
: Mon Apr 28 2014 - 18:48:12 CEST