Browse Source

Remove unused dump() function.

master
noname 11 years ago
committed by Roberto E. Vargas Caballero
parent
commit
6681af165b
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      st.c

+ 0
- 10
st.c View File

@ -399,7 +399,6 @@ static int32_t tdefcolor(int *, int *, int);
static void tselcs(void); static void tselcs(void);
static void tdeftran(char); static void tdeftran(char);
static inline bool match(uint, uint); static inline bool match(uint, uint);
static void dump(char c);
static void ttynew(void); static void ttynew(void);
static void ttyread(void); static void ttyread(void);
static void ttyresize(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 void
ttyread(void) { ttyread(void) {
static char buf[BUFSIZ]; static char buf[BUFSIZ];


Loading…
Cancel
Save