iq2000 warning fix.

Alan Modra amodra@bigpond.net.au
Tue Nov 4 23:57:00 GMT 2003


Missing braces.

	* cpu-iq2000.c (arch_info_struct): Warning fix.

Index: bfd/cpu-iq2000.c
===================================================================
RCS file: /cvs/src/src/bfd/cpu-iq2000.c,v
retrieving revision 1.1
diff -u -p -r1.1 cpu-iq2000.c
--- bfd/cpu-iq2000.c	3 Jan 2003 21:12:27 -0000	1.1
+++ bfd/cpu-iq2000.c	4 Nov 2003 01:36:32 -0000
@@ -23,18 +23,20 @@ Foundation, Inc., 59 Temple Place - Suit
 
 static const bfd_arch_info_type arch_info_struct[] =
 {
-  32,				/* bits per word */
-  32,				/* bits per address */
-  8,				/* bits per byte */
-  bfd_arch_iq2000,		/* architecture */
-  bfd_mach_iq10,		/* machine */
-  "iq2000",			/* architecture name */
-  "iq10",			/* printable name */
-  3,				/* section align power */
-  FALSE,				/* the default ? */
-  bfd_default_compatible,	/* architecture comparison fn */
-  bfd_default_scan,		/* string to architecture convert fn */
-  NULL				/* next in list */
+  {
+    32,				/* bits per word */
+    32,				/* bits per address */
+    8,				/* bits per byte */
+    bfd_arch_iq2000,		/* architecture */
+    bfd_mach_iq10,		/* machine */
+    "iq2000",			/* architecture name */
+    "iq10",			/* printable name */
+    3,				/* section align power */
+    FALSE,			/* the default ? */
+    bfd_default_compatible,	/* architecture comparison fn */
+    bfd_default_scan,		/* string to architecture convert fn */
+    NULL			/* next in list */
+  }
 };
 
 const bfd_arch_info_type bfd_iq2000_arch =
@@ -52,6 +54,3 @@ const bfd_arch_info_type bfd_iq2000_arch
   bfd_default_scan,		/* string to architecture convert fn */
   &arch_info_struct[0],		/* next in list */
 };
-
-
-

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list