From a9bf2939f0a6536a792515d6fda29a7c754274c6 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 5 Jan 2024 17:08:13 -0800 Subject: Handle 5 -Wmissing-prototypes warnings Signed-off-by: Alan Coopersmith --- src/synaptics.c | 4 ---- src/synapticsstr.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/synaptics.c b/src/synaptics.c index 2fd77f6..70d8809 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -140,10 +140,6 @@ static void CalculateScalingCoeffs(SynapticsPrivate * priv); #endif static void SanitizeDimensions(InputInfoPtr pInfo); -void InitDeviceProperties(InputInfoPtr pInfo); -int SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop, - BOOL checkonly); - const static struct { const char *name; struct SynapticsProtocolOperations *proto_ops; diff --git a/src/synapticsstr.h b/src/synapticsstr.h index 7972a9c..a6513db 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -331,4 +331,8 @@ struct _SynapticsPrivateRec { int num_active_touches; /* Number of active touches on device */ }; +void InitDeviceProperties(InputInfoPtr pInfo); +int SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop, + BOOL checkonly); + #endif /* _SYNAPTICSSTR_H_ */ -- cgit v1.2.3