move function declarations to the appropriate header

This commit is contained in:
Aurelien Jacobs 2014-01-14 23:38:23 +01:00
parent 2588e50c63
commit 8162cad7e0
4 changed files with 4 additions and 5 deletions

View File

@ -19,10 +19,6 @@
#include "protocol.h"
/* parser.c */
SR_PRIV int sr_brymen_parse(const uint8_t *buf, float *floatval,
struct sr_datafeed_analog *analog, void *info);
static void handle_packet(const uint8_t *buf, struct sr_dev_inst *sdi)
{
float floatval;

View File

@ -76,6 +76,9 @@ SR_PRIV int brymen_packet_request(struct sr_serial_dev_inst *serial);
SR_PRIV int brymen_packet_length(const uint8_t *buf, int *len);
SR_PRIV gboolean brymen_packet_is_valid(const uint8_t *buf);
SR_PRIV int sr_brymen_parse(const uint8_t *buf, float *floatval,
struct sr_datafeed_analog *analog, void *info);
SR_PRIV int brymen_stream_detect(struct sr_serial_dev_inst *serial,
uint8_t *buf, size_t *buflen,
packet_length_t get_packet_size,

View File

@ -23,7 +23,6 @@
#include "libsigrok-internal.h"
#include "protocol.h"
SR_PRIV struct sr_dev_inst *lascar_scan(int bus, int address);
SR_PRIV struct sr_dev_driver lascar_el_usb_driver_info;
static struct sr_dev_driver *di = &lascar_el_usb_driver_info;

View File

@ -69,6 +69,7 @@ struct elusb_profile {
SR_PRIV int lascar_get_config(libusb_device_handle *dev_hdl,
unsigned char *configblock, int *configlen);
SR_PRIV struct sr_dev_inst *lascar_scan(int bus, int address);
SR_PRIV int lascar_el_usb_handle_events(int fd, int revents, void *cb_data);
SR_PRIV void lascar_el_usb_receive_transfer(struct libusb_transfer *transfer);
SR_PRIV int lascar_start_logging(const struct sr_dev_inst *sdi);