[hackers] [st] Remove unused parameters in ttyresize || "Roberto E. Vargas Caballero"

From: <hg_AT_suckless.org>
Date: Mon, 24 Sep 2012 10:32:05 +0200 (CEST)

changeset: 325:ed3819c7839a
user: "Roberto E. Vargas Caballero" <k0ga_AT_shike2.com>
date: Mon Sep 24 10:27:22 2012 +0200
files: st.c
description:
Remove unused parameters in ttyresize
---
 st.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff -r 6520428484cc -r ed3819c7839a st.c
--- a/st.c	Mon Sep 24 10:26:50 2012 +0200
+++ b/st.c	Mon Sep 24 10:27:22 2012 +0200
_AT_@ -292,7 +292,7 @@
 
 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);
_AT_@ -899,7 +899,7 @@
 }
 
 void
-ttyresize(int x, int y) {
+ttyresize(void) {
 	struct winsize w;
 
 	w.ws_row = term.row;
_AT_@ -2327,7 +2327,7 @@
 	xclear(0, 0, xw.w, xw.h);
 	tresize(col, row);
 	xresize(col, row);
-	ttyresize(col, row);
+	ttyresize();
 }
 
 void
Received on Mon Sep 24 2012 - 10:32:05 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 24 2012 - 10:36:09 CEST