X-Git-Url: http://sigrok.org/gitweb/?p=libserialport.git;a=blobdiff_plain;f=macosx.c;h=236bf4c012b658bf617f69f5671cb265e0e84558;hp=38495fd970fb2df49ec311fd3233966b61d10035;hb=970f279ae4767819a816573ae354813d37d5091d;hpb=e4ce975a54c60cda6615e4829ae1408adaec8fcf diff --git a/macosx.c b/macosx.c index 38495fd..236bf4c 100644 --- 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;