Introduction
Introduction Statistics Contact Development Disclaimer Help
tRemove unused parameters in ttyresize - st - [fork] customized build of st, th…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 11bec67875936ffd954c7c28faf98b3cc25cb47f
parent b6cfff16254bb9014f27ff4c5c9e49953ee91735
Author: Roberto E. Vargas Caballero <[email protected]>
Date: Mon, 24 Sep 2012 10:27:22 +0200
Remove unused parameters in ttyresize
---
st.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Diffstat:
M st.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -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);
t@@ -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;
t@@ -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
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.