From c77d764709de4afdd2a5f5cf7a88ab01ffd12cc7 Mon Sep 17 00:00:00 2001 From: Builder Date: Mon, 30 Jan 2017 10:13:12 +0000 Subject: Comment useless code before cleanup Signed-off-by: Romain Forlot --- ll-can-binding.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'll-can-binding.h') diff --git a/ll-can-binding.h b/ll-can-binding.h index 1c993d7..df2c5cd 100644 --- a/ll-can-binding.h +++ b/ll-can-binding.h @@ -90,4 +90,9 @@ static void send_event(); static int retry( int(*func)()); -static void parse_can_frame(openxc_CanMessage *can_message, struct canfd_frame *canfd_frame, int maxdlen); +static int parse_can_frame(openxc_CanMessage *can_message, struct canfd_frame *canfd_frame, int maxdlen); + +#ifdef openxc_CanMessage_init_default +#undef openxc_CanMessage_init_default +#endif +openxc_CanMessage openxc_CanMessage_init_default = {.has_bus = false, .bus = 0, .has_id = false, .id = 0, .has_data = false, .data = {0, {0}}, .has_frame_format = false, .frame_format = (openxc_CanMessage_FrameFormat)0}; -- cgit 1.2.3-korg