From 7e9d4f9e7314378fdbbdc236f135cf3c4d758077 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 1 Dec 2020 12:05:54 +0100 Subject: [PATCH] Fix C function prototypes This fixes Wstrict-prototypes warnings. --- libs/ardouralsautil/request_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardouralsautil/request_device.c b/libs/ardouralsautil/request_device.c index 4826a46e34..f7e19fdca6 100644 --- a/libs/ardouralsautil/request_device.c +++ b/libs/ardouralsautil/request_device.c @@ -57,7 +57,7 @@ static int stdin_available(void) { return errno != EBADF; } -static void print_version () { +static void print_version (void) { printf (ARD_PROG_NAME " " VERSION "\n\n"); printf ( "Copyright (C) 2014 Robin Gareus \n" @@ -67,7 +67,7 @@ static void print_version () { exit (EXIT_SUCCESS); } -static void usage () { +static void usage (void) { printf (ARD_PROG_NAME " - DBus Audio Reservation Utility.\n"); printf ("Usage: " ARD_PROG_NAME " [ OPTIONS ] \n"); printf ("Options:\n\