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>
This commit is contained in:
Alan Coopersmith
2024-05-12 14:25:29 -07:00
committed by Peter Hutterer
parent d21c533fd5
commit e3f6c5c642

View File

@@ -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[] = {