summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-05-12 14:25:29 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2024-05-12 23:03:21 +0000
commite3f6c5c6420f9e372a63ae7a7a74cb2cea868156 (patch)
tree7fded28ccd3247f7ae995bc84f3e3a3b59360a04
parentd21c533fd5b5a4aa47618b47dc4aa79fecd8d961 (diff)
Fix -Wold-style-declaration warning
synaptics.c:143:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] 143 | const static struct { | ^~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-synaptics/-/merge_requests/17>
-rw-r--r--src/synaptics.c2
1 files changed, 1 insertions, 1 deletions
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[] = {