aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoname <noname@inventati.org>2014-04-27 15:40:01 +0400
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-28 18:38:07 +0200
commit6681af165b06c32cf65bf970a295600d46cb7025 (patch)
tree245b815e7ac639efe421c2ec2ed75c49bd4d365e
parent1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4 (diff)
downloadst-6681af165b06c32cf65bf970a295600d46cb7025.tar.gz
st-6681af165b06c32cf65bf970a295600d46cb7025.zip
Remove unused dump() function.
-rw-r--r--st.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/st.c b/st.c
index 7afff39..4c4a0c3 100644
--- a/st.c
+++ b/st.c
@@ -399,7 +399,6 @@ 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);
403static void ttynew(void); 402static void ttynew(void);
404static void ttyread(void); 403static void ttyread(void);
405static void ttyresize(void); 404static void ttyresize(void);
@@ -1243,15 +1242,6 @@ ttynew(void) {
1243} 1242}
1244 1243
1245void 1244void
1246dump(char c) {
1247 static int col;
1248
1249 fprintf(stderr, " %02x '%c' ", c, isprint(c)?c:'.');
1250 if(++col % 10 == 0)
1251 fprintf(stderr, "\n");
1252}
1253
1254void
1255ttyread(void) { 1245ttyread(void) {
1256 static char buf[BUFSIZ]; 1246 static char buf[BUFSIZ];
1257 static int buflen = 0; 1247 static int buflen = 0;