fentec-project / CiFEr

Functional encryption library in C
Apache License 2.0
78 stars 24 forks source link

Fix multiple definition build issue, use extern in headers #30

Open dev0x1 opened 3 years ago

dev0x1 commented 3 years ago

My linker was giving multiple definition issues when building test cases. Without specifying extern, creates a variable definition that conflicts with the definition/initialization of these variables in respctive test suite C file.