From e3f6c5c6420f9e372a63ae7a7a74cb2cea868156 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 12 May 2024 14:25:29 -0700 Subject: Fix -Wold-style-declaration warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit synaptics.c:143:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 143 | const static struct { | ^~~~~ Signed-off-by: Alan Coopersmith Part-of: --- src/synaptics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/synaptics.c') diff --git a/src/synaptics.c b/src/synaptics.c index 02960de..3f1bd60 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -135,7 +135,7 @@ static Bool QueryHardware(InputInfoPtr); static void ReadDevDimensions(InputInfoPtr); static void SanitizeDimensions(InputInfoPtr pInfo); -const static struct { +static const struct { const char *name; struct SynapticsProtocolOperations *proto_ops; } protocols[] = { -- cgit v1.2.3