This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 1/4] Make c_type_print_varspec_suffix static
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 30 May 2018 18:05:30 -0700
- Subject: Re: [RFA 1/4] Make c_type_print_varspec_suffix static
- References: <20180417195125.14200-1-tom@tromey.com> <20180417195125.14200-2-tom@tromey.com>
Hi Tom,
On Tue, Apr 17, 2018 at 01:51:22PM -0600, Tom Tromey wrote:
> I noticed that c_type_print_varspec_suffix is only called from
> c-typeprint.c, so this patch makes it "static".
>
> ChangeLog
> 2018-04-17 Tom Tromey <tom@tromey.com>
>
> * typeprint.h (c_type_print_varspec_suffix): Don't declare.
> * c-typeprint.c (c_type_print_varspec_suffix): Now static.
So very sorry again for how long it's taking to review your patches.
This one is fairly clearly an improvement on its own, so approved.
--
Joel