svn commit: trunk/uClibc/test/malloc

vapier at uclibc.org vapier at uclibc.org
Thu May 3 23:13:05 UTC 2007


Author: vapier
Date: 2007-05-03 16:13:04 -0700 (Thu, 03 May 2007)
New Revision: 18553

Log:
give proper prototypes

Modified:
   trunk/uClibc/test/malloc/malloc-standard-alignment.c
   trunk/uClibc/test/malloc/realloc-can-shrink.c


Changeset:
Modified: trunk/uClibc/test/malloc/malloc-standard-alignment.c
===================================================================
--- trunk/uClibc/test/malloc/malloc-standard-alignment.c	2007-05-03 22:57:56 UTC (rev 18552)
+++ trunk/uClibc/test/malloc/malloc-standard-alignment.c	2007-05-03 23:13:04 UTC (rev 18553)
@@ -23,7 +23,7 @@
 	struct llist_s *link;
 } *phead;
 
-int main()
+int main(int argc, char *argv[])
 {
 	char *line, *reg;
 

Modified: trunk/uClibc/test/malloc/realloc-can-shrink.c
===================================================================
--- trunk/uClibc/test/malloc/realloc-can-shrink.c	2007-05-03 22:57:56 UTC (rev 18552)
+++ trunk/uClibc/test/malloc/realloc-can-shrink.c	2007-05-03 23:13:04 UTC (rev 18553)
@@ -4,7 +4,7 @@
 
 #define LARGE_BUFFER (1 << 20) /* idea is to span a lot of pages */
 
-int main()
+int main(int argc, char *argv[])
 {
 	int count = 20;
 	char *ptr = NULL;




More information about the uClibc-cvs mailing list