summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 17:08:13 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-05 17:08:13 -0800
commita9bf2939f0a6536a792515d6fda29a7c754274c6 (patch)
tree7eb4feb3234958a0b9719b33dcbf7a65f1dda72b /src
parentf52912d06279d4c32e5031d1416f2f273bb42116 (diff)
Handle 5 -Wmissing-prototypes warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c4
-rw-r--r--src/synapticsstr.h4
2 files changed, 4 insertions, 4 deletions
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_ */