Functions defined in src/bruteforce.c that are not declared in any public header should be marked static to limit their linkage to the translation unit. Currently they leak into the global symbol table, which can cause conflicts if a future CLI or test build links multiple .c files together.
Task: go through src/bruteforce.c and add static to every function that is not declared in include/bruteforce.h. No logic changes — purely a storage-class annotation.
Good first issue — no CUDA knowledge required. The linker/compiler will catch any mistakes.
Functions defined in
src/bruteforce.cthat are not declared in any public header should be markedstaticto limit their linkage to the translation unit. Currently they leak into the global symbol table, which can cause conflicts if a future CLI or test build links multiple.cfiles together.Task: go through
src/bruteforce.cand addstaticto every function that is not declared ininclude/bruteforce.h. No logic changes — purely a storage-class annotation.Good first issue — no CUDA knowledge required. The linker/compiler will catch any mistakes.