diff options
author | lloyd <[email protected]> | 2009-07-11 15:35:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-07-11 15:35:59 +0000 |
commit | 084b27a031f465373cc04f7ae95077f74fbce363 (patch) | |
tree | 7e97196afbb64823e995b440048232fbd3ebc990 /src | |
parent | b7b1d9a4371d5f4481437f1e21fa0c993938c912 (diff) |
Remove unnecessary includes of <iostream>; either delete entirely as not
needed, or replace with <iosfwd> or <ostream> where necessary.
Diffstat (limited to 'src')
-rw-r--r-- | src/math/gfpmath/curve_gfp.cpp | 1 | ||||
-rw-r--r-- | src/math/gfpmath/curve_gfp.h | 2 | ||||
-rw-r--r-- | src/math/gfpmath/gfp_element.cpp | 1 | ||||
-rw-r--r-- | src/math/gfpmath/gfp_element.h | 2 | ||||
-rw-r--r-- | src/math/numbertheory/ressol.cpp | 2 | ||||
-rw-r--r-- | src/utils/scan_name.cpp | 2 |
6 files changed, 4 insertions, 6 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 { /* diff --git a/src/utils/scan_name.cpp b/src/utils/scan_name.cpp index 3425425e2..ef771871d 100644 --- a/src/utils/scan_name.cpp +++ b/src/utils/scan_name.cpp @@ -10,8 +10,6 @@ SCAN Name Abstraction #include <botan/libstate.h> #include <stdexcept> -#include <iostream> - namespace Botan { namespace { |