This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] *-dis.c: Fix formatting.


> @@ -22,9 +22,7 @@
>  #include "dis-asm.h"
>  #include "opintl.h"
>  
> -
> -struct avr_opcodes_s
> -{
> +struct avr_opcodes_s {
>    char *name;
>    char *constraints;
>    char *opcode;


While I'm not sure what BINUTILS is doing I would note that the GNU 
Coding Standard recomments:

	struct foo
	{
	  char *name;
	  char *consts;
	};

as controlled by gnu-indent's -bls.

enjoy,
	Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]