[RFA 3/4] Constify skip_quoted

Tom Tromey tromey@redhat.com
Tue Oct 1 20:14:00 GMT 2013


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> This third patch offers up a const version of skip_quoted. It's only
Keith> ever really used as const, so it was easy to clean-up all the
Keith> callers. IMO, we don't need to worry (yet?) about skip_quoted_const
Keith> like we do with skip_spaces{,_const}.

I agree.

Keith> One interesting little tidbit that fell out of this: defs.h and
Keith> completer.h both declare this function. I've removed the duplicate
Keith> declaration from defs.h.

This is ok.

Tom



More information about the Gdb-patches mailing list