aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-16 02:22:58 +0000
committerlloyd <[email protected]>2009-12-16 02:22:58 +0000
commit12afeca214c4414a0ced0bc4654d0fc5908dc77b (patch)
treed0706f470d406d68b4ec1f559d2e0f6426174c28 /src/entropy
parent87cbaef441c6baba2699a8ea53ac2562c46c772d (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/entropy')
-rw-r--r--src/entropy/dev_random/dev_random.h2
-rw-r--r--src/entropy/egd/es_egd.h2
-rw-r--r--src/entropy/hres_timer/hres_timer.h2
-rw-r--r--src/entropy/proc_walk/es_ftw.h2
-rw-r--r--src/entropy/unix_procs/es_unix.h2
-rw-r--r--src/entropy/unix_procs/unix_cmd.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/entropy/dev_random/dev_random.h b/src/entropy/dev_random/dev_random.h
index df9dbe1c1..3ffe536e3 100644
--- a/src/entropy/dev_random/dev_random.h
+++ b/src/entropy/dev_random/dev_random.h
@@ -14,7 +14,7 @@
namespace Botan {
-class BOTAN_DLL Device_EntropySource : public EntropySource
+class Device_EntropySource : public EntropySource
{
public:
std::string name() const { return "RNG Device Reader"; }
diff --git a/src/entropy/egd/es_egd.h b/src/entropy/egd/es_egd.h
index 5db65659d..1a3618989 100644
--- a/src/entropy/egd/es_egd.h
+++ b/src/entropy/egd/es_egd.h
@@ -17,7 +17,7 @@ namespace Botan {
/**
* EGD Entropy Source
*/
-class BOTAN_DLL EGD_EntropySource : public EntropySource
+class EGD_EntropySource : public EntropySource
{
public:
std::string name() const { return "EGD/PRNGD"; }
diff --git a/src/entropy/hres_timer/hres_timer.h b/src/entropy/hres_timer/hres_timer.h
index 8dfbfc2d7..a602d5d7b 100644
--- a/src/entropy/hres_timer/hres_timer.h
+++ b/src/entropy/hres_timer/hres_timer.h
@@ -15,7 +15,7 @@ namespace Botan {
/*
* High Resolution Timestamp Source
*/
-class BOTAN_DLL High_Resolution_Timestamp : public EntropySource
+class High_Resolution_Timestamp : public EntropySource
{
public:
std::string name() const { return "High Resolution Timestamp"; }
diff --git a/src/entropy/proc_walk/es_ftw.h b/src/entropy/proc_walk/es_ftw.h
index 928a7b16a..d7a719818 100644
--- a/src/entropy/proc_walk/es_ftw.h
+++ b/src/entropy/proc_walk/es_ftw.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* File Tree Walking Entropy Source
*/
-class BOTAN_DLL FTW_EntropySource : public EntropySource
+class FTW_EntropySource : public EntropySource
{
public:
std::string name() const { return "Proc Walker"; }
diff --git a/src/entropy/unix_procs/es_unix.h b/src/entropy/unix_procs/es_unix.h
index 283405e19..03496b364 100644
--- a/src/entropy/unix_procs/es_unix.h
+++ b/src/entropy/unix_procs/es_unix.h
@@ -17,7 +17,7 @@ namespace Botan {
/**
* Unix Entropy Source
*/
-class BOTAN_DLL Unix_EntropySource : public EntropySource
+class Unix_EntropySource : public EntropySource
{
public:
std::string name() const { return "Unix Entropy Source"; }
diff --git a/src/entropy/unix_procs/unix_cmd.h b/src/entropy/unix_procs/unix_cmd.h
index aec189176..7decf587f 100644
--- a/src/entropy/unix_procs/unix_cmd.h
+++ b/src/entropy/unix_procs/unix_cmd.h
@@ -31,7 +31,7 @@ struct Unix_Program
/**
* Command Output DataSource
*/
-class BOTAN_DLL DataSource_Command : public DataSource
+class DataSource_Command : public DataSource
{
public:
u32bit read(byte[], u32bit);