1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

Remove useless declaration.

This commit is contained in:
Aurelien Jacobs 2014-06-10 22:16:16 +02:00
parent da2ede60e4
commit f095f84164

View File

@ -197,7 +197,6 @@ void (*sp_debug_handler)(const char *format, ...) = sp_default_debug_handler;
#define TRY(x) do { int ret = x; if (ret != SP_OK) RETURN_CODEVAL(ret); } while (0) #define TRY(x) do { int ret = x; if (ret != SP_OK) RETURN_CODEVAL(ret); } while (0)
/* Helper functions. */ /* Helper functions. */
static struct sp_port **list_append(struct sp_port **list, const char *portname);
static enum sp_return get_config(struct sp_port *port, struct port_data *data, static enum sp_return get_config(struct sp_port *port, struct port_data *data,
struct sp_port_config *config); struct sp_port_config *config);
static enum sp_return set_config(struct sp_port *port, struct port_data *data, static enum sp_return set_config(struct sp_port *port, struct port_data *data,