Re: [PATCH] libceph: fix old style declaration warnings

From: Ilya Dryomov
Date: Mon Jul 10 2017 - 09:18:00 EST

On Mon, Jul 10, 2017 at 1:17 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> The new macros don't follow the usual style for declarations,
> which we get a warning for with 'make W=1':
> In file included from fs/ceph/mds_client.c:16:0:
> include/linux/ceph/ceph_features.h:74:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]
> This moves the 'static' keyword to the front of the
> declaration.
> Fixes: f179d3ba8cb9 ("libceph: new features macros")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>