From a8034990aec38d5e7b163fe1e7553bcbc3ad3a83 Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Wed, 22 May 2024 14:08:51 +0200 Subject: [PATCH] lib UPDATE use prefix for all public symbols --- lib/CMakeLists.txt | 2 +- lib/generate.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index d70b412b..2a3573db 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -43,7 +43,7 @@ extern struct np2_file { const char *file; const char *data; int len; -} test_files[]; +} np2_test_files[]; ") # include declarations of functions that need to be implemented diff --git a/lib/generate.sh b/lib/generate.sh index f6a34893..e8b1bb35 100755 --- a/lib/generate.sh +++ b/lib/generate.sh @@ -55,7 +55,7 @@ MAIN_YANG_ARRAY="${MAIN_YANG_ARRAY} {.file = NULL, .data = NULL, .len = 0}\n} # generate headers from all the test files -MAIN_YANG_ARRAY="${MAIN_YANG_ARRAY}struct np2_file test_files[] = { +MAIN_YANG_ARRAY="${MAIN_YANG_ARRAY}struct np2_file np2_test_files[] = { " for FILE_PATH in ${NP2_MODULE_DIR}/../tests/modules/*; do