diff options
author | Jere Leppänen <jere.leppanen@nokia.com> | 2021-08-10 17:13:38 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-09-30 11:10:11 +0300 |
commit | 0325d7d4aeff78171a893bd73ea6c6474bc83ddf (patch) | |
tree | cc0e6c345d7c47590a197fce44379bfcfbed0a69 /example/time/time_global_test.c | |
parent | 735e84f433d0eb8be225e308eeccf958a1d64ea7 (diff) |
use odph_thread_common_param_init()
Use the new odph_thread_common_param_init() function to initialize
odph_thread_common_param_t.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'example/time/time_global_test.c')
-rw-r--r-- | example/time/time_global_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/time/time_global_test.c b/example/time/time_global_test.c index ad1bfead8..d3d442dd6 100644 --- a/example/time/time_global_test.c +++ b/example/time/time_global_test.c @@ -343,7 +343,7 @@ int main(int argc, char *argv[]) goto err; } - memset(&thr_common, 0, sizeof(thr_common)); + odph_thread_common_param_init(&thr_common); memset(&thr_param, 0, sizeof(thr_param)); thr_param.start = run_thread; |