Signed-off-by: Anders Selhammer <[email protected]>
---
msg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/msg.h b/msg.h
index b5a57fe..02e45fd 100644
--- a/msg.h
+++ b/msg.h
@@ -299,7 +299,7 @@ static inline UInteger8 msg_transport_specific(struct
ptp_message *m)
* @param m Message to test.
* @return The value of the messageType field.
*/
-static inline int msg_type(struct ptp_message *m)
+static inline int msg_type(const struct ptp_message *m)
{
return m->header.tsmt & 0x0f;
}
--
1.8.3.1
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel