X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=libserialport.h.in;h=1dd4715f289ef740fb9fc76625d3cae809e1a5ef;hb=ad036cc8efcdcae5d2b8727996108c38c4915d2b;hp=49697a941cdb1f19298c8c8cdd0094180974786a;hpb=35578b063e6899fad72f479d9004a54a66dd851a;p=libserialport.git diff --git a/libserialport.h.in b/libserialport.h.in index 49697a9..1dd4715 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -426,7 +426,7 @@ char *sp_get_port_description(struct sp_port *port); * * @since 0.1.1 */ -enum sp_transport sp_get_port_transport(struct sp_port *port); +enum sp_transport sp_get_port_transport(const struct sp_port *port); /** * Get the USB bus number and address on bus of a USB serial adapter port.