From 544da9f598b5af0b4471bf5c949368fe14c77c22 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Sat, 26 Mar 2016 22:57:45 +0100 Subject: [PATCH] remove warnings from rt_wrapper.c --- targets/RT/USER/rt_wrapper.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/targets/RT/USER/rt_wrapper.c b/targets/RT/USER/rt_wrapper.c index 0242dab3d8..a011cf8dfe 100644 --- a/targets/RT/USER/rt_wrapper.c +++ b/targets/RT/USER/rt_wrapper.c @@ -38,6 +38,10 @@ * \warning */ +#include <stdio.h> +#include <string.h> +#include <unistd.h> + #include "rt_wrapper.h" static int latency_target_fd = -1; static int32_t latency_target_value = 0; @@ -154,6 +158,7 @@ int fill_modeled_runtime_table(uint16_t runtime_phy_rx[29][6], runtime_phy_tx[i][j] = cell_processing_dl[j] + platform_processing_dl + user_processing_dl_err[j] + user_processing_dl_a[j]*i+ user_processing_dl_b[j]; } } + return 0; } // int runtime_upper_layers[6]; // values for different RBs -- GitLab