Author: metze
Date: 2006-09-05 15:03:06 +0000 (Tue, 05 Sep 2006)
New Revision: 18096

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

Log:
try to make tcc happy and don't the same struct names in a global and
a local scope

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 14:31:44 UTC 
(rev 18095)
+++ branches/SAMBA_4_0/source/lib/talloc/testsuite.c    2006-09-05 15:03:06 UTC 
(rev 18096)
@@ -609,23 +609,19 @@
        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 *el1;
-       struct el2 *el2;
+       struct el2 {
+               const char *name;
+       } *el2; 
+       struct el1 {
+               int count;
+               struct el2 **list, **list2, **list3;
+       } *el1;
 
        printf("TESTING REALLOC WITH CHILD\n");
 

Reply via email to