harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r650079 - in /harmony/enhanced/drlvm/trunk/vm/port: include/logger.h src/logger/logger.cpp
Date Mon, 21 Apr 2008 10:16:07 GMT
Author: varlax
Date: Mon Apr 21 03:16:02 2008
New Revision: 650079

URL: http://svn.apache.org/viewvc?rev=650079&view=rev
Log:
log_printf is vararg thus should be declared as APR_DECLARE_NONSTD

Modified:
    harmony/enhanced/drlvm/trunk/vm/port/include/logger.h
    harmony/enhanced/drlvm/trunk/vm/port/src/logger/logger.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/port/include/logger.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/include/logger.h?rev=650079&r1=650078&r2=650079&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/port/include/logger.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/port/include/logger.h Mon Apr 21 03:16:02 2008
@@ -127,7 +127,7 @@
 void log_set_portlib(struct HyPortLibrary* portlib);
 
 /**
- * Sets a porting library for log system localization.
+ * Gets a porting library for log system localization.
  */
 struct HyPortLibrary* log_get_portlib();
 
@@ -169,7 +169,7 @@
 /**
  * Writes formatted data to stdout via specified vfprinf function.
  */
-APR_DECLARE(int) log_printf(const char* format, ...);
+APR_DECLARE_NONSTD(int) log_printf(const char* format, ...);
 
 /**
  * Writes formatted header to stdout via specified vfprinf function.

Modified: harmony/enhanced/drlvm/trunk/vm/port/src/logger/logger.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/src/logger/logger.cpp?rev=650079&r1=650078&r2=650079&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/port/src/logger/logger.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/port/src/logger/logger.cpp Mon Apr 21 03:16:02 2008
@@ -335,7 +335,7 @@
     get()->p_abort();
 }
 
-APR_DECLARE(int) log_printf(const char* format, ...)
+APR_DECLARE_NONSTD(int) log_printf(const char* format, ...)
 {
     va_list args;
     int ret;



Mime
View raw message