]> sigrok.org Git - libserialport.git/blobdiff - macosx.c
Introduce SP_API/SP_PRIV to mark visibility of functions.
[libserialport.git] / macosx.c
index 38495fd970fb2df49ec311fd3233966b61d10035..236bf4c012b658bf617f69f5671cb265e0e84558 100644 (file)
--- a/macosx.c
+++ b/macosx.c
@@ -21,7 +21,7 @@
 #include "libserialport.h"
 #include "libserialport_internal.h"
 
-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 */
@@ -175,7 +175,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)
 {
        CFMutableDictionaryRef classes;
        io_iterator_t iter;