* include/bits/ios_base.h (Init::_S_initialized): Change into declaration.
authorcarlo <carlo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Dec 2003 00:15:24 +0000 (00:15 +0000)
committercarlo <carlo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Dec 2003 00:15:24 +0000 (00:15 +0000)
* src/ios_init.cc (Init::_S_initialized): Add definition.

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

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/src/ios_init.cc

index 70805f5..5e560e0 100644 (file)
@@ -1,3 +1,9 @@
+2003-12-15  Carlo Wood  <carlo@alinoe.com>
+
+       * include/bits/ios_base.h (Init::_S_initialized): Change into
+       declaration.
+       * src/ios_init.cc (Init::_S_initialized): Add definition.
+
 2003-12-15  Benjamin Kosnik  <bkoz@redhat.com>
 
        PR libstdc++/12658
index e2d3fba..ee64050 100644 (file)
@@ -495,7 +495,7 @@ namespace std
       // NB: Allows debugger applications use of the standard streams
       // from operator new. 
       static bool
-      _S_initialized() { return _S_refcount > 0; }
+      _S_initialized();
 
     private:
       static _Atomic_word      _S_refcount;
index b402025..4f8ab7b 100644 (file)
@@ -142,6 +142,12 @@ namespace std
       }
   } 
 
+  bool
+  ios_base::Init::_S_initialized()
+  {
+    return _S_refcount > 0;
+  }
+
   bool 
   ios_base::sync_with_stdio(bool __sync)
   {