mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
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:
committed by
Peter Hutterer
parent
d21c533fd5
commit
e3f6c5c642
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user