Messages in this thread | | | Subject | Re: [PATCH] Move static keyword at beginning of declaration | From | Geoff Levand <> | Date | Sat, 2 Feb 2019 09:56:00 -0800 |
| |
On 2/2/19 5:05 AM, Mathieu Malaterre wrote: > Move the static keyword around to remove the following warnings (W=1): > > arch/powerpc/platforms/ps3/os-area.c:212:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] > arch/powerpc/platforms/ps3/system-bus.c:45:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] > > -struct saved_params { > +static struct saved_params { > unsigned int valid; > s64 rtc_diff; > unsigned int av_multi_out; > -} static saved_params; > +} saved_params;
Seems fine.
Acked-by: Geoff Levand <geoff@infradead.org>
| |