* This function implements the main thread loop and enough decision logic so that it knows which device to take messages from and which device to send the messages to.\r
* \r
*/\r
-void* CAN_GW_thread(void* arg){\r
+static void* CAN_GW_thread(void* arg){\r
int fd_in, fd_out;\r
int res;\r
unsigned long int *total, *succ, *err;\r