]> sigrok.org Git - libserialport.git/blobdiff - windows.c
Compile with -pedantic.
[libserialport.git] / windows.c
index 4c81e2e50e68b2b0f3b3ab33cc0221eaed608ece..78b6ce9babf6685bed794b17bf974e09084c829f 100644 (file)
--- 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;