This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH 2/2] rx: make field type enum


On Tue, May 17, 2016 at 11:25:02PM -0400, tbsaunde+binutils@tbsaunde.org wrote:
> 	* config/tc-rx.c (struct cpu_type): Change the type of a field from
> 	int to enum rx_cpu_types.

OK, but

> --- a/gas/config/tc-rx.c
> +++ b/gas/config/tc-rx.c
> @@ -109,7 +109,7 @@ size_t md_longopts_size = sizeof (md_longopts);
>  struct cpu_type
>  {
>    const char *cpu_name;
> -  int type;
> +enum rx_cpu_types type;
>  };

Formatting.

-- 
Alan Modra
Australia Development Lab, IBM


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