X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=windows.c;h=78b6ce9babf6685bed794b17bf974e09084c829f;hb=f3ccf157cb6183c95365e3ba1791dc247150e872;hp=4c81e2e50e68b2b0f3b3ab33cc0221eaed608ece;hpb=48a4076f692ffe34026c37815580a32b2f70592b;p=libserialport.git diff --git a/windows.c b/windows.c index 4c81e2e..78b6ce9 100644 --- a/windows.c +++ b/windows.c @@ -331,7 +331,7 @@ static void get_usb_details(struct sp_port *port, DEVINST dev_inst_match) return; } -enum sp_return get_port_details(struct sp_port *port) +SP_PRIV enum sp_return get_port_details(struct sp_port *port) { /* Description limited to 127 char, anything longer would not be user friendly anyway */ @@ -455,7 +455,7 @@ enum sp_return get_port_details(struct sp_port *port) RETURN_OK(); } -enum sp_return list_ports(struct sp_port ***list) +SP_PRIV enum sp_return list_ports(struct sp_port ***list) { HKEY key; TCHAR *value, *data;