mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Introduce SP_API/SP_PRIV to mark visibility of functions.
This commit is contained in:
committed by
Uwe Hermann
parent
e4ce975a54
commit
970f279ae4
4
linux.c
4
linux.c
@@ -20,7 +20,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 */
|
||||
@@ -156,7 +156,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)
|
||||
{
|
||||
char name[PATH_MAX], target[PATH_MAX];
|
||||
struct dirent entry, *result;
|
||||
|
||||
Reference in New Issue
Block a user