aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-11 15:35:59 +0000
committerlloyd <[email protected]>2009-07-11 15:35:59 +0000
commit084b27a031f465373cc04f7ae95077f74fbce363 (patch)
tree7e97196afbb64823e995b440048232fbd3ebc990 /src/math
parentb7b1d9a4371d5f4481437f1e21fa0c993938c912 (diff)
Remove unnecessary includes of <iostream>; either delete entirely as not
needed, or replace with <iosfwd> or <ostream> where necessary.
Diffstat (limited to 'src/math')
-rw-r--r--src/math/gfpmath/curve_gfp.cpp1
-rw-r--r--src/math/gfpmath/curve_gfp.h2
-rw-r--r--src/math/gfpmath/gfp_element.cpp1
-rw-r--r--src/math/gfpmath/gfp_element.h2
-rw-r--r--src/math/numbertheory/ressol.cpp2
5 files changed, 4 insertions, 4 deletions
diff --git a/src/math/gfpmath/curve_gfp.cpp b/src/math/gfpmath/curve_gfp.cpp
index 37555ea06..e12ade081 100644
--- a/src/math/gfpmath/curve_gfp.cpp
+++ b/src/math/gfpmath/curve_gfp.cpp
@@ -10,6 +10,7 @@
#include <botan/curve_gfp.h>
#include <botan/bigint.h>
#include <assert.h>
+#include <ostream>
namespace Botan {
diff --git a/src/math/gfpmath/curve_gfp.h b/src/math/gfpmath/curve_gfp.h
index 90d64b45d..81cf6ce51 100644
--- a/src/math/gfpmath/curve_gfp.h
+++ b/src/math/gfpmath/curve_gfp.h
@@ -14,7 +14,7 @@
#include <botan/bigint.h>
#include <botan/gfp_element.h>
-#include <iostream>
+#include <iosfwd>
namespace Botan {
diff --git a/src/math/gfpmath/gfp_element.cpp b/src/math/gfpmath/gfp_element.cpp
index 183d7d4ab..b71809301 100644
--- a/src/math/gfpmath/gfp_element.cpp
+++ b/src/math/gfpmath/gfp_element.cpp
@@ -16,6 +16,7 @@
#include <botan/mp_asm.h>
#include <botan/mp_asmi.h>
#include <assert.h>
+#include <ostream>
namespace Botan {
diff --git a/src/math/gfpmath/gfp_element.h b/src/math/gfpmath/gfp_element.h
index 0a1b4910c..4e0ee985b 100644
--- a/src/math/gfpmath/gfp_element.h
+++ b/src/math/gfpmath/gfp_element.h
@@ -14,7 +14,7 @@
#include <botan/bigint.h>
#include <botan/gfp_modulus.h>
-#include <iostream>
+#include <iosfwd>
#if defined(BOTAN_USE_STD_TR1)
#include <tr1/memory>
diff --git a/src/math/numbertheory/ressol.cpp b/src/math/numbertheory/ressol.cpp
index 6a078726d..d51acb8bd 100644
--- a/src/math/numbertheory/ressol.cpp
+++ b/src/math/numbertheory/ressol.cpp
@@ -9,8 +9,6 @@
#include <botan/numthry.h>
#include <botan/reducer.h>
-#include <iostream>
-
namespace Botan {
/*