From: Seung-Woo Kim Date: Wed, 16 Jan 2019 07:58:05 +0000 (+0900) Subject: transport: remove implicit-function-declaration build warnings X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afe93fee8aaa10d9b39c8f45ec10a0cc594873d1;p=tools%2Flthor.git 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 --- 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 {