X-Git-Url: http://sigrok.org/gitweb/?p=libserialport.git;a=blobdiff_plain;f=libserialport.h.in;h=24e1a40e220965230d5458e667b2b59c755990dc;hp=1dd4715f289ef740fb9fc76625d3cae809e1a5ef;hb=f14809393ace8e5f9a664975f34b701d1e35d2fa;hpb=ad036cc8efcdcae5d2b8727996108c38c4915d2b diff --git a/libserialport.h.in b/libserialport.h.in index 1dd4715..24e1a40 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -415,7 +415,7 @@ char *sp_get_port_name(const struct sp_port *port); * * @since 0.1.1 */ -char *sp_get_port_description(struct sp_port *port); +char *sp_get_port_description(const struct sp_port *port); /** * Get the transport type used by a port.