diff options
author | noname <noname@inventati.org> | 2014-04-27 15:40:01 +0400 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-04-28 18:38:07 +0200 |
commit | 6681af165b06c32cf65bf970a295600d46cb7025 (patch) | |
tree | 245b815e7ac639efe421c2ec2ed75c49bd4d365e | |
parent | 1ae2745fd160bbc25bab56be31d04a9d7f8ef4d4 (diff) | |
download | st-6681af165b06c32cf65bf970a295600d46cb7025.tar.gz st-6681af165b06c32cf65bf970a295600d46cb7025.tar.bz2 st-6681af165b06c32cf65bf970a295600d46cb7025.zip |
Remove unused dump() function.
-rw-r--r-- | st.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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); @@ -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, "\n"); -} - -void ttyread(void) { static char buf[BUFSIZ]; static int buflen = 0; |