diff options
| author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-24 10:27:22 +0200 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-24 10:27:22 +0200 |
| commit | 11bec67875936ffd954c7c28faf98b3cc25cb47f (patch) | |
| tree | 8aad7f56eb279487322f9b6881da6384edda0867 | |
| parent | b6cfff16254bb9014f27ff4c5c9e49953ee91735 (diff) | |
| download | st-11bec67875936ffd954c7c28faf98b3cc25cb47f.tar.gz st-11bec67875936ffd954c7c28faf98b3cc25cb47f.zip | |
Remove unused parameters in ttyresize
---
st.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
| -rw-r--r-- | st.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -292,7 +292,7 @@ static void tfulldirt(void); | |||
| 292 | 292 | ||
| 293 | static void ttynew(void); | 293 | static void ttynew(void); |
| 294 | static void ttyread(void); | 294 | static void ttyread(void); |
| 295 | static void ttyresize(int, int); | 295 | static void ttyresize(void); |
| 296 | static void ttywrite(const char *, size_t); | 296 | static void ttywrite(const char *, size_t); |
| 297 | 297 | ||
| 298 | static void xdraws(char *, Glyph, int, int, int, int); | 298 | static void xdraws(char *, Glyph, int, int, int, int); |
| @@ -899,7 +899,7 @@ ttywrite(const char *s, size_t n) { | |||
| 899 | } | 899 | } |
| 900 | 900 | ||
| 901 | void | 901 | void |
| 902 | ttyresize(int x, int y) { | 902 | ttyresize(void) { |
| 903 | struct winsize w; | 903 | struct winsize w; |
| 904 | 904 | ||
| 905 | w.ws_row = term.row; | 905 | w.ws_row = term.row; |
| @@ -2327,7 +2327,7 @@ resize(XEvent *e) { | |||
| 2327 | xclear(0, 0, xw.w, xw.h); | 2327 | xclear(0, 0, xw.w, xw.h); |
| 2328 | tresize(col, row); | 2328 | tresize(col, row); |
| 2329 | xresize(col, row); | 2329 | xresize(col, row); |
| 2330 | ttyresize(col, row); | 2330 | ttyresize(); |
| 2331 | } | 2331 | } |
| 2332 | 2332 | ||
| 2333 | void | 2333 | void |
