You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2007/06/22 18:09:57 UTC

svn commit: r549862 - /incubator/stdcxx/trunk/include/rw/_error.h

Author: faridz
Date: Fri Jun 22 09:09:57 2007
New Revision: 549862

URL: http://svn.apache.org/viewvc?view=rev&rev=549862
Log:
2007-06-22 Farid Zaripov <Fa...@epam.com>

	* _error.h: Put _RWSTD_EXPORT before the return type for
	consistency between declaration and definition.

Modified:
    incubator/stdcxx/trunk/include/rw/_error.h

Modified: incubator/stdcxx/trunk/include/rw/_error.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/rw/_error.h?view=diff&rev=549862&r1=549861&r2=549862
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_error.h (original)
+++ incubator/stdcxx/trunk/include/rw/_error.h Fri Jun 22 09:09:57 2007
@@ -37,17 +37,17 @@
 
 // throws an exception identified by first argument, optional arguments
 // (if any) used to format the exception object's what() string
-void _RWSTD_EXPORT __rw_throw (int, ...);
+_RWSTD_EXPORT void __rw_throw (int, ...);
 
 // frees memory buffer used for what() message
-void _RWSTD_EXPORT __rw_free_what_buf (char*);
+_RWSTD_EXPORT inline void __rw_free_what_buf (char*);
 
 // throws an exception identified by first argument with the second
 // argument containing the exception object's what() string, which
 // if non-0, is must be freed using __rw_free_what_buf()
 // may be assigned to a user-defined handler (e.g., to prevent
 // the library from throwing exceptions or to implement logging)
-extern void _RWSTD_EXPORT (*__rw_throw_proc)(int, char*);
+_RWSTD_EXPORT extern void (*__rw_throw_proc)(int, char*);
 
 }   // namespace __rw