no more stupid warnings.
[apps/madtty.git] / madtty / inject.c
index f1f2e21..14ce8a1 100644 (file)
@@ -24,7 +24,7 @@
 #include <ctype.h>
 
 #include "madtty.h"
-#include "roteprivate.h"
+#include "madtty_priv.h"
 
 #define MAX_CSI_ES_PARAMS 32
 
@@ -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;