Author: metze
Date: 2006-09-05 06:40:39 +0000 (Tue, 05 Sep 2006)
New Revision: 18064

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

Log:
merge from samba3

metze
Modified:
   branches/SAMBA_4_0/source/lib/talloc/testsuite.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/testsuite.c    2006-09-05 06:32:46 UTC 
(rev 18063)
+++ branches/SAMBA_4_0/source/lib/talloc/testsuite.c    2006-09-05 06:40:39 UTC 
(rev 18064)
@@ -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");

Reply via email to