summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2019-01-16 16:58:05 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2019-01-16 16:58:07 +0900
commit86eb4d18923a383ad2e0ea077362a200ee9aa043 (patch)
tree0737c3c68d116effd0f3ddde06111bf57221624e
parent363b3a908e20d162f64755d285d72c560e334a15 (diff)
downloadlthor-86eb4d18923a383ad2e0ea077362a200ee9aa043.tar.gz
lthor-86eb4d18923a383ad2e0ea077362a200ee9aa043.tar.bz2
lthor-86eb4d18923a383ad2e0ea077362a200ee9aa043.zip
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 <sw0312.kim@samsung.com>
-rw-r--r--libthor/thor_transport.h7
1 files changed, 6 insertions, 1 deletions
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 {