Re: [patch 1/3] Make obconcat use stdarg

Pedro Alves
2010-05-03T21:00:38Z

On Monday 03 May 2010 21:19:05, Mark Kettenis wrote:
> ok?

Yes, of course.

> 2010-05-03 Mark Kettenis <kettenis@faure.sibelius.xs4all.nl>
>
> * remote.c (register_remote_support_xml)
> (remote_query_supported_append, remote_query_supported): Add cast
> to NULL used as sentinel.
> * tracepoint.c (tvariables_info_1): Likewise.
> * utils.c (add_internal_problem_command): Likewise.

> + remote_support_xml = concat ("xmlRegisters=", xml, (char *)NULL);

It's way more common in our code base to put a space between cast
and "castee" (would be `(char *) NULL' in this case). Not a big
deal though.

--
Pedro Alves