Many files:
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 16 May 2006 00:06:42 +0000 (20:06 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Tue, 16 May 2006 00:06:42 +0000 (20:06 -0400)
Fix sstream includes

arch/alpha/tlb.cc:
base/cprintf.hh:
base/cprintf_formats.hh:
base/crc.cc:
base/statistics.cc:
base/statistics.hh:
base/stats/text.cc:
cpu/memtest/memtest.cc:
cpu/simple/cpu.cc:
dev/pcidev.cc:
sim/eventq.cc:
    Fix sstream includes

--HG--
extra : convert_revision : fd69937ea26b4961e92f1736fa44daa16f54698d

arch/alpha/tlb.cc
base/cprintf.hh
base/cprintf_formats.hh
base/crc.cc
base/statistics.cc
base/statistics.hh
base/stats/text.cc
cpu/memtest/memtest.cc
cpu/simple/cpu.cc
dev/pcidev.cc
sim/eventq.cc

index 877822c31d53504369df6181c8d36c967e47f645..05b02d74b9923a8b23b5028b2a70d531c1b056ad 100644 (file)
@@ -26,7 +26,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sstream>
 #include <string>
 #include <vector>
 
index dcb2924347b67534989fffcb10395a346102f952..c468c375f8b9b5a83f1c68d3f844879554951a88 100644 (file)
 
 #include <iostream>
 #include <list>
-#include <sstream>
 #include <string>
 
-namespace cp {
-
 #include "base/cprintf_formats.hh"
 
+namespace cp {
+
 class ArgList
 {
   private:
index 11b0238edea13b8e7f1dc1d5fe7bc49687f5ef65..05a8723a471d82ef05552d0b6739d8da773ff6f7 100644 (file)
 #ifndef __CPRINTF_FORMATS_HH__
 #define __CPRINTF_FORMATS_HH__
 
+#include <sstream>
+#include <ostream>
+
+namespace cp {
+
 struct Format
 {
     bool alternate_form;
@@ -343,4 +348,6 @@ inline void
 format_string(std::ostream &out, const std::stringstream &data, Format &fmt)
 { _format_string(out, data.str(), fmt); }
 
+} // namespace cp
+
 #endif // __CPRINTF_FORMATS_HH__
index 87963ef146ece7657e8e83009b6576a68ff9a448..08f03957719381e3b8b553b4f3f8db9c8e27b4d2 100644 (file)
@@ -31,7 +31,6 @@
  * SUCH DAMAGE.
  */
 
-#include <sstream>
 #include <string>
 
 #include "sim/host.hh"
index c9756464176d5e5a5530024ce13cc1b8a20f8f95..20de463472546feaaa2ef1a9836e092ec5cda531 100644 (file)
@@ -31,7 +31,6 @@
 #include <list>
 #include <map>
 #include <string>
-#include <sstream>
 
 #include "base/callback.hh"
 #include "base/cprintf.hh"
index c46744cac6b4a9b74528748f3e3d94ddf351ca3a..dd507c091a244ea87b8fe01c6b4627aea290a2c4 100644 (file)
@@ -50,7 +50,6 @@
 #include <cmath>
 #include <functional>
 #include <iosfwd>
-#include <sstream>
 #include <string>
 #include <vector>
 
index 3d77ff87d1fafd42be0cab75aaa15eb85ad976bb..300737c60c5fad3971b59bf431e237117dcac835 100644 (file)
@@ -31,6 +31,7 @@
 #endif
 
 #include <iostream>
+#include <sstream>
 #include <fstream>
 #include <string>
 
index 94b66b70ba1794ab8cfd06e1805ba0fcc0054c72..54def10128962bc96283ecc27f62ac116e8aa4f5 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <iomanip>
 #include <set>
-#include <sstream>
 #include <string>
 #include <vector>
 
index 33fe63c2635c73267e67effde248ce0604a8bcb7..cb077e26cd1f758307313f3c2df22edf35ad9e83 100644 (file)
@@ -32,7 +32,6 @@
 #include <iostream>
 #include <iomanip>
 #include <list>
-#include <sstream>
 #include <string>
 
 #include "arch/utility.hh"
index c40ef62e49c4dfcab44f1d349407897ea783592a..76392ccfe3d251b161242b617392f284bc17e0a5 100644 (file)
@@ -31,7 +31,6 @@
  */
 
 #include <list>
-#include <sstream>
 #include <string>
 #include <vector>
 
index 0884db994028b95e08e1512bb8de808c013be8f1..4bfd6face84d85301cbc73fffa22f85dcd778793 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <iostream>
 #include <string>
-#include <sstream>
 #include <vector>
 
 #include "cpu/smt.hh"