summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/synclient.c4
-rw-r--r--tools/syndaemon.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/tools/synclient.c b/tools/synclient.c
index 7ec8fa9..2677d63 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -240,7 +240,7 @@ is_equal(SynapticsSHM *s1, SynapticsSHM *s2)
}
static double
-get_time()
+get_time(void)
{
struct timeval tv;
gettimeofday(&tv, NULL);
@@ -285,7 +285,7 @@ monitor(SynapticsSHM *synshm, int delay)
}
static void
-usage()
+usage(void)
{
fprintf(stderr, "Usage: synclient [-m interval] [-h] [-l] [-V] [-?] [var1=value1 [var2=value2] ...]\n");
fprintf(stderr, " -m monitor changes to the touchpad state.\n"
diff --git a/tools/syndaemon.c b/tools/syndaemon.c
index 2662bb5..7aa8238 100644
--- a/tools/syndaemon.c
+++ b/tools/syndaemon.c
@@ -52,7 +52,7 @@ static const char *pid_file;
static unsigned char keyboard_mask[KEYMAP_SIZE];
static void
-usage()
+usage(void)
{
fprintf(stderr, "Usage: syndaemon [-i idle-time] [-m poll-delay] [-d] [-t] [-k]\n");
fprintf(stderr, " -i How many seconds to wait after the last key press before\n");
@@ -68,7 +68,7 @@ usage()
}
static int
-enable_touchpad()
+enable_touchpad(void)
{
int ret = 0;
if (pad_disabled) {
@@ -89,7 +89,7 @@ signal_handler(int signum)
}
static void
-install_signal_handler()
+install_signal_handler(void)
{
static int signals[] = {
SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT,
@@ -156,7 +156,7 @@ keyboard_activity(Display *display)
* Return non-zero if any physical touchpad button is currently pressed.
*/
static int
-touchpad_buttons_active()
+touchpad_buttons_active(void)
{
int i;
@@ -171,7 +171,7 @@ touchpad_buttons_active()
}
static double
-get_time()
+get_time(void)
{
struct timeval tv;
gettimeofday(&tv, NULL);