Mark all symbols hidden by default, export only required ones

This commit is contained in:
Vitaliy Filippov
2025-08-24 16:55:58 +03:00
parent 9892fccfb0
commit 2ebe3a468c
25 changed files with 60 additions and 18 deletions
+4
View File
@@ -12,6 +12,8 @@
/*************************** HEADER FILES ***************************/
#include <stddef.h>
#pragma GCC visibility push(default)
/****************************** MACROS ******************************/
#define SHA256_BLOCK_SIZE 32 // SHA256 outputs a 32 byte digest
@@ -38,4 +40,6 @@ void sha256_final(SHA256_CTX *ctx, BYTE hash[]);
};
#endif
#pragma GCC visibility pop
#endif // SHA256_H