pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ae2745
)
Remove unused dump() function.
author
noname
<noname@inventati.org>
Sun, 27 Apr 2014 11:40:01 +0000
(15:40 +0400)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 28 Apr 2014 16:38:07 +0000
(18:38 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
7afff39
..
4c4a0c3
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-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);
@@
-1242,15
+1241,6
@@
ttynew(void) {
}
}
-void
-dump(char c) {
- static int col;
-
- fprintf(stderr, " %02x '%c' ", c, isprint(c)?c:'.');
- if(++col % 10 == 0)
- fprintf(stderr, "\n");
-}
-
void
ttyread(void) {
static char buf[BUFSIZ];