chiark / gitweb /
hostside: hidrawconv: change declarations of processing functions
[trains.git] / hostside / hidrawconv-joytechneos.c
index 85c340dd6b725d0e6141e64669c59a3589a4c69e..64b6a2bd36573989a7808bc7c16066fbbf3c2d0c 100644 (file)
@@ -24,8 +24,7 @@ static const ValLoc vallocs[]= {
   { 0 }
 };
 
-static void pr(uint8_t msg[MAXREPORTLEN], int msglen,
-              const uint8_t last[MAXREPORTLEN]) {
+static void pr(const uint8_t *msg, int msglen, const uint8_t *last) {
   reportbits(msg, last, msglen, keybits);
   reportlocs(msg, last, msglen, vallocs);
 }