svn commit: samba r18048 - in branches/SAMBA_3_0/source/lib: .

vlendec at samba.org vlendec at samba.org
Mon Sep 4 19:50:30 GMT 2006


Author: vlendec
Date: 2006-09-04 19:50:30 +0000 (Mon, 04 Sep 2006)
New Revision: 18048

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18048

Log:
More nested structures
Modified:
   branches/SAMBA_3_0/source/lib/talloctort.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/talloctort.c
===================================================================
--- branches/SAMBA_3_0/source/lib/talloctort.c	2006-09-04 19:47:48 UTC (rev 18047)
+++ branches/SAMBA_3_0/source/lib/talloctort.c	2006-09-04 19:50:30 UTC (rev 18048)
@@ -609,19 +609,22 @@
 	return True;
 }
 
+struct el2 {
+	const char *name;
+};
 
+struct el1 {
+	int count;
+	struct el2 **list, **list2, **list3;
+};
+
 /*
   test realloc with a child
 */
 static BOOL test_realloc_child(void)
 {
 	void *root;
-	struct el1 {
-		int count;
-		struct el2 {
-			const char *name;
-		} **list, **list2, **list3;
-	} *el1;
+	struct el1 *el1;
 	struct el2 *el2;
 
 	printf("TESTING REALLOC WITH CHILD\n");



More information about the samba-cvs mailing list