2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jan 2003 18:56:00 +0000 (18:56 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jan 2003 18:56:00 +0000 (18:56 +0000)
Revert include ordering.
* config/locale/generic/c_locale.h: Add include guards.
* config/locale/gnu/c_locale.h: Same.
* include/bits/locale_classes.h: Remove cctype include.
* include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
* include/std/std_fstream.h: Remove streambuf include.
* include/std/std_sstream.h: Remove streambuf include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61664 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/generic/c_locale.h
libstdc++-v3/config/locale/gnu/c_locale.h
libstdc++-v3/include/bits/locale_classes.h
libstdc++-v3/include/std/std_fstream.h
libstdc++-v3/include/std/std_iosfwd.h
libstdc++-v3/include/std/std_sstream.h

index 5b5e8c7..ff2b166 100644 (file)
@@ -1,5 +1,15 @@
 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
 
+       Revert include ordering.
+       * config/locale/generic/c_locale.h: Add include guards.
+       * config/locale/gnu/c_locale.h: Same.
+       * include/bits/locale_classes.h: Remove cctype include.
+       * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
+       * include/std/std_fstream.h: Remove streambuf include.
+       * include/std/std_sstream.h: Remove streambuf include.
+       
+2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
+
        * configure.in (libtool_VERSION): To 6:0:0.
        * configure: Regenerated.
        * config/linker-map.gnu: Clean.
index 1947002..ccc1f25 100644 (file)
 
 // Written by Benjamin Kosnik <bkoz@redhat.com>
 
+#ifndef _CPP_BITS_C_LOCALE_H
+#define _CPP_BITS_C_LOCALE_H 1
+
+#pragma GCC system_header
+
 #include <clocale>
 
 #define _GLIBCPP_NUM_CATEGORIES 0
@@ -73,3 +78,5 @@ namespace std
       return __ret;
     }
 }
+
+#endif
index c7d8e6e..37df3fa 100644 (file)
 
 // Written by Benjamin Kosnik <bkoz@redhat.com>
 
+#ifndef _CPP_BITS_C_LOCALE_H
+#define _CPP_BITS_C_LOCALE_H 1
+
+#pragma GCC system_header
+
 #include <clocale>
 #include <langinfo.h>          // For codecvt
 #include <iconv.h>             // For codecvt using iconv, iconv_t
@@ -96,3 +101,5 @@ namespace std
       return __ret;
     }
 }
+
+#endif
index fd4fc2d..f36c8d4 100644 (file)
@@ -43,7 +43,6 @@
 #pragma GCC system_header
 
 #include <bits/localefwd.h>
-#include <cctype>              // For isspace, etc.
 #include <cstring>             // For strcmp.
 #include <string>
 #include <bits/atomicity.h>
index 7731e49..6a5e3bc 100644 (file)
@@ -42,7 +42,6 @@
 
 #pragma GCC system_header
 
-#include <streambuf>
 #include <istream>
 #include <ostream>
 #include <locale>      // For codecvt
index 4016047..55b0e0b 100644 (file)
@@ -43,6 +43,8 @@
 #pragma GCC system_header
 
 #include <bits/c++config.h>
+#include <bits/c++locale.h> 
+#include <cctype>              // For isspace, etc.
 #include <bits/stringfwd.h>    // For string forward declarations.
 #include <bits/fpos.h>
 #include <bits/functexcept.h>
index a6dda0b..0ad52d0 100644 (file)
@@ -41,7 +41,6 @@
 
 #pragma GCC system_header
 
-#include <streambuf>
 #include <istream>
 #include <ostream>