chiark / gitweb /
hostside: hidrawconv: change declarations of processing functions
[trains.git] / hostside / hidrawconv.h
index 9e34f780997fed5f3e684d79ddec8a45a6bcbcdf..5380a6c59b42c9c085c3e9ec2b4fc1ac83589416 100644 (file)
@@ -9,8 +9,7 @@
 #define MAXREPORTLEN 256
 #define MAXREPORTS 256
 
-typedef void ProcessReport(uint8_t msg[MAXREPORTLEN], int msglen,
-                          const uint8_t last[MAXREPORTLEN]);
+typedef void ProcessReport(const uint8_t *msg, int msglen, const uint8_t *last);
 
 extern const char *const descriptor;
 extern ProcessReport *const report_processors[MAXREPORTS];