From f3ccf157cb6183c95365e3ba1791dc247150e872 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 20 Aug 2014 17:40:22 +0200 Subject: [PATCH] Rename sp_get_signals() parameter to avoid name clash with Qt headers. --- libserialport.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libserialport.h.in b/libserialport.h.in index 472c1d0..6fb9b17 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -1196,13 +1196,13 @@ void sp_free_event_set(struct sp_event_set *event_set); * the sp_signal enum. * * @param port Pointer to port structure. - * @param signals Pointer to variable to receive result. + * @param signal_mask Pointer to variable to receive result. * * @return SP_OK upon success, a negative error code otherwise. * * @since 0.1.0 */ -enum sp_return sp_get_signals(struct sp_port *port, enum sp_signal *signals); +enum sp_return sp_get_signals(struct sp_port *port, enum sp_signal *signal_mask); /** * Put the port transmit line into the break state.