title: Explicitly exporting shared library functions in Linux
body: <p>Is there a Linux equivalent of <code>__declspec(dllexport)</code> notation for explicitly exporting a function from a shared library? For some reason with the toolchain I'm using, functions that aren't class members don't appear in the resulting shared library file.</p>