ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r391448 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/c/CommonClientTestCode.h
Date Tue, 04 Apr 2006 23:35:25 GMT
Author: nadiramra
Date: Tue Apr  4 16:35:24 2006
New Revision: 391448

URL: http://svn.apache.org/viewcvs?rev=391448&view=rev
Log:
C support fixes/enhancements.

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/c/CommonClientTestCode.h

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/c/CommonClientTestCode.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/c/CommonClientTestCode.h?rev=391448&r1=391447&r2=391448&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/c/CommonClientTestCode.h (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/c/CommonClientTestCode.h Tue
Apr  4 16:35:24 2006
@@ -1,12 +1,18 @@
 #ifndef __COMMONCHEADERFILE
 #define __COMMONCHEADERFILE
 
+/* need to resolve, but we cannot include stdlib.h when running
+ * calculatordoc tests because div() is already defined. So we
+ * hard-code the malloc prototype.
+ */
+
 #include <stdio.h>
 
 #define C_BOOL  int
 #define C_FALSE (int)0
 #define C_TRUE  (int)1 
 
+extern void *malloc(unsigned int);
 char *c_strdup(char *s)
 {
     char * ret = (char *)malloc(strlen(s)+1);



Mime
View raw message