Constify the sp_get_port_description() parameter.
This commit is contained in:
parent
ad036cc8ef
commit
f14809393a
|
@ -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.
|
||||
|
|
|
@ -126,7 +126,7 @@ SP_API char *sp_get_port_name(const struct sp_port *port)
|
|||
RETURN_STRING(port->name);
|
||||
}
|
||||
|
||||
SP_API char *sp_get_port_description(struct sp_port *port)
|
||||
SP_API char *sp_get_port_description(const struct sp_port *port)
|
||||
{
|
||||
TRACE("%p", port);
|
||||
|
||||
|
|
Loading…
Reference in New Issue