aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2012-09-24 10:27:22 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2012-09-24 10:27:22 +0200
commite2fbd25f5194e0aaeb39c2083cec5354a21a6c80 (patch)
tree8aad7f56eb279487322f9b6881da6384edda0867
parent57e9f030599a76debe1efbca82c3500d127871ab (diff)
downloadst-e2fbd25f5194e0aaeb39c2083cec5354a21a6c80.tar.gz
st-e2fbd25f5194e0aaeb39c2083cec5354a21a6c80.tar.bz2
Remove unused parameters in ttyresize
--- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
-rw-r--r--st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index 4c8d67f..83edbb8 100644
--- a/st.c
+++ b/st.c
@@ -292,7 +292,7 @@ static void tfulldirt(void);
static void ttynew(void);
static void ttyread(void);
-static void ttyresize(int, int);
+static void ttyresize(void);
static void ttywrite(const char *, size_t);
static void xdraws(char *, Glyph, int, int, int, int);
@@ -899,7 +899,7 @@ ttywrite(const char *s, size_t n) {
}
void
-ttyresize(int x, int y) {
+ttyresize(void) {
struct winsize w;
w.ws_row = term.row;
@@ -2327,7 +2327,7 @@ resize(XEvent *e) {
xclear(0, 0, xw.w, xw.h);
tresize(col, row);
xresize(col, row);
- ttyresize(col, row);
+ ttyresize();
}
void