vterminate.cc (__verbose_terminate_handler): Add leading underscores.
authorJason Merrill <jason@redhat.com>
Fri, 23 Nov 2001 17:36:43 +0000 (12:36 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 23 Nov 2001 17:36:43 +0000 (12:36 -0500)
        * src/vterminate.cc (__verbose_terminate_handler): Add leading
        underscores.

From-SVN: r47292

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/exception
libstdc++-v3/src/vterminate.cc

index 5df989bfd19ad6d1a024b323b83f602704814dc8..0b25732fa674b3c1abf9f929ea9589ce2da50e13 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-23  Jason Merrill  <jason@redhat.com>
+
+       * src/vterminate.cc (__verbose_terminate_handler): Add leading
+       underscores.
+
 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
index 3e9fd9675546f27542d101de2bbb38d68801af22..2011abf328207e16e82db1c61e096ef3ea4c410c 100644 (file)
@@ -98,8 +98,12 @@ namespace std
 namespace __gnu_cxx
 {
   /** A replacement for the standard terminate_handler which prints more
-      information about the terminating exception (if any) on stderr.  */
-  void verbose_terminate_handler ();
+      information about the terminating exception (if any) on stderr.
+
+        std::set_terminate (__gnu_cxx::__verbose_terminate_handler)
+
+      to use.  */
+  void __verbose_terminate_handler ();
 } // namespace __gnu_cxx
   
 } // extern "C++"
index a56db74c3f25f31d069f93656f634edc4eaff51b..942d6b55eab7bd475e40bf327a3834a720ed5ec0 100644 (file)
@@ -39,9 +39,9 @@ using namespace abi;
 namespace __gnu_cxx
 {
 
-/** This is a replacement for the standard terminate_handler which prints
-    more information about the terminating exception (if any) on stderr.  */
-void verbose_terminate_handler ()
+/* A replacement for the standard terminate_handler which prints
+   more information about the terminating exception (if any) on stderr.  */
+void __verbose_terminate_handler ()
 {
   // Make sure there was an exception; terminate is also called for an
   // attempt to rethrow when there is no suitable exception.