Skip to content

Commit

Permalink
lib UPDATE use prefix for all public symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 22, 2024
1 parent 344d0b9 commit a803499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a803499

Please sign in to comment.