]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/calloc.c
Porting current working set from CVS.
[pdclib] / functions / stdlib / calloc.c
index 5450b978f07a83c92e7284d5856930792d61bea9..fc1c80e767241ea033f2377d548aae42e0da4b37 100644 (file)
@@ -30,10 +30,9 @@ void * calloc( size_t nmemb, size_t size )
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     char * s;
-    BEGIN_TESTS;
     TESTCASE( ( s = calloc( 3, 2 ) ) != NULL );
     TESTCASE( s[0] == '\0' );
     TESTCASE( s[5] == '\0' );