From 86eb4d18923a383ad2e0ea077362a200ee9aa043 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 16 Jan 2019 16:58:05 +0900 Subject: transport: remove implicit-function-declaration build warnings Remove implicit-function-declaration build warnings by adding function declarations to transport header. Change-Id: Id258ab568c3eba49b1e443734443f9b207b86268 Signed-off-by: Seung-Woo Kim --- libthor/thor_transport.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libthor/thor_transport.h b/libthor/thor_transport.h index 7db1017..ee745c6 100644 --- a/libthor/thor_transport.h +++ b/libthor/thor_transport.h @@ -21,14 +21,19 @@ #include "thor_internal.h" int t_thor_init(thor_device_handle *th); +void t_thor_cleanup(thor_device_handle *th); int t_thor_open(thor_device_handle *th, struct thor_device_id *dev_id, int wait); -void thor_close(thor_device_handle *th); +void t_thor_close(thor_device_handle *th); int t_thor_send_raw_data(thor_device_handle *th, struct thor_data_src *data, off_t trans_unit_size, thor_progress_cb report_progress, void *user_data); +int t_thor_send(thor_device_handle *th, unsigned char *buf, + off_t count, int timeout); +int t_thor_recv(thor_device_handle *th, unsigned char *buf, + off_t count, int timeout); /* USB transport */ struct usb_device_handle { -- cgit v1.2.3