summaryrefslogtreecommitdiffstats
path: root/ll-can-binding.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-01-30 13:18:07 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-01-30 13:34:57 +0000
commitd3eea564254da43803c9ad9a105ef93cdd053227 (patch)
tree30f31d9a1e54ce7a40f18092496ea3bdead07b14 /ll-can-binding.h
parent768aa1b44852e63ec34845685b7f35aa522ac242 (diff)
Code restructuration
Change-Id: I5acd8288984d42d8487091d38511a05f0fd703c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'll-can-binding.h')
-rw-r--r--ll-can-binding.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/ll-can-binding.h b/ll-can-binding.h
index df2c5cd6..0a6a2306 100644
--- a/ll-can-binding.h
+++ b/ll-can-binding.h
@@ -76,9 +76,6 @@ struct _can_event {
can_event *can_events_list;
-/* TODO : Add help comments :p */
-static int connect_to_event_loop();
-
// Initialize default can_handler values
static struct can_handler can_handler = {
.socket = -1,
@@ -86,12 +83,7 @@ static struct can_handler can_handler = {
.is_fdmode_on = false,
};
-static void send_event();
-
-static int retry( int(*func)());
-
-static int parse_can_frame(openxc_CanMessage *can_message, struct canfd_frame *canfd_frame, int maxdlen);
-
+/* Redefining openxc_CanMessage_init_default for C */
#ifdef openxc_CanMessage_init_default
#undef openxc_CanMessage_init_default
#endif