mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
Handle 5 -Wmissing-prototypes warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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_ */
|
||||
|
||||
@@ -310,7 +310,7 @@ struct xrecord_callback_results {
|
||||
};
|
||||
|
||||
/* test if the xrecord extension is found */
|
||||
Bool
|
||||
static Bool
|
||||
check_xrecord(Display * display)
|
||||
{
|
||||
|
||||
@@ -331,7 +331,7 @@ check_xrecord(Display * display)
|
||||
}
|
||||
|
||||
/* called by XRecordProcessReplies() */
|
||||
void
|
||||
static void
|
||||
xrecord_callback(XPointer closure, XRecordInterceptData * recorded_data)
|
||||
{
|
||||
|
||||
@@ -405,7 +405,7 @@ is_modifier_pressed(const struct xrecord_callback_results *cbres)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
record_main_loop(Display * display, double idle_time)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user