File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -143,3 +143,13 @@ rules:
143143
144144 ensure ephemeral structures are freed once no longer needed, and avoid
145145 reusing pointers after free
146+ - name : use-proper-function-visibility
147+ trigger : >-
148+ functions must use appropriate visibility modifiers. Public functions
149+ should use WOLFSSL_API, local functions should use WOLFSSL_LOCAL, and
150+ non-static local functions should have a wolfssl_local_ or wc_local_ prefix.
151+ solution : >-
152+ for public functions that are part of the external API, declare them with
153+ WOLFSSL_API. For functions local to the library but not static, use
154+ WOLFSSL_LOCAL and prefix the function name with wolfssl_local_ or wc_local_
155+ to clearly indicate internal usage.
You can’t perform that action at this time.
0 commit comments