Handle 5 -Wmissing-prototypes warnings

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith
2024-01-05 17:08:13 -08:00
parent f52912d062
commit a9bf2939f0
3 changed files with 7 additions and 7 deletions

View File

@@ -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;

View File

@@ -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_ */

View File

@@ -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)
{