diff options
author | lloyd <[email protected]> | 2009-12-16 02:22:58 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-16 02:22:58 +0000 |
commit | 12afeca214c4414a0ced0bc4654d0fc5908dc77b (patch) | |
tree | d0706f470d406d68b4ec1f559d2e0f6426174c28 /src/libstate/libstate.cpp | |
parent | 87cbaef441c6baba2699a8ea53ac2562c46c772d (diff) |
Make many more headers internal-only.
Fixes for the amalgamation generator for internal headers.
Remove BOTAN_DLL exporting macros from all internal-only headers;
the classes/functions there don't need to be exported, and
avoiding the PIC/GOT indirection can be a big win.
Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc
For GCC, use -fvisibility=hidden and set BOTAN_DLL to the
visibility __attribute__ to export those classes/functions.
Diffstat (limited to 'src/libstate/libstate.cpp')
-rw-r--r-- | src/libstate/libstate.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp index 8b039a97a..2de621648 100644 --- a/src/libstate/libstate.cpp +++ b/src/libstate/libstate.cpp @@ -6,27 +6,27 @@ */ #include <botan/libstate.h> -#include <botan/init.h> -#include <botan/selftest.h> -#include <botan/engine.h> -#include <botan/stl_util.h> -#include <botan/mutex.h> -#include <botan/mux_noop.h> #include <botan/charset.h> -#include <botan/defalloc.h> #include <botan/def_eng.h> +#include <botan/engine.h> +#include <botan/init.h> +#include <botan/internal/mutex.h> +#include <botan/selftest.h> +#include <botan/internal/defalloc.h> +#include <botan/internal/mux_noop.h> +#include <botan/internal/stl_util.h> #include <algorithm> #if defined(BOTAN_HAS_MUTEX_PTHREAD) - #include <botan/mux_pthr.h> + #include <botan/internal/mux_pthr.h> #elif defined(BOTAN_HAS_MUTEX_WIN32) - #include <botan/mux_win32.h> + #include <botan/internal/mux_win32.h> #elif defined(BOTAN_HAS_MUTEX_QT) - #include <botan/mux_qt.h> + #include <botan/internal/mux_qt.h> #endif #if defined(BOTAN_HAS_ALLOC_MMAP) - #include <botan/mmap_mem.h> + #include <botan/internal/mmap_mem.h> #endif #if defined(BOTAN_HAS_ENGINE_IA32_ASSEMBLER) |