no more stupid warnings.
[apps/madtty.git] / madtty / inject.c
index 14bde65..14ce8a1 100644 (file)
@@ -568,13 +568,19 @@ static void interpret_csi_DECSTBM(RoteTerm *rt, int param[], int pcount)
     rt->pd->scrollbottom = newbottom;
 }
 
-static void interpret_csi_SAVECUR(RoteTerm *rt, int param[], int pcount)
+static void 
+interpret_csi_SAVECUR(RoteTerm *rt,
+                      int param[] __attribute__((unused)),
+                      int pcount __attribute__((unused)))
 {
     rt->pd->saved_x = rt->ccol;
     rt->pd->saved_y = rt->crow;
 }
 
-static void interpret_csi_RESTORECUR(RoteTerm *rt, int param[], int pcount)
+static void
+interpret_csi_RESTORECUR(RoteTerm *rt,
+                         int param[] __attribute__((unused)),
+                         int pcount __attribute__((unused)))
 {
     rt->ccol = rt->pd->saved_x;
     rt->crow = rt->pd->saved_y;