Skip to content

Commit 7591666

Browse files
nunojsadNechita
authored andcommitted
iiod: dns-sd: avoid -Wstrict-prototypes
Function declaration without a prototype is deprecated. Hence, let's properly set 'void' arguments on them. Signed-off-by: Nuno Sa <noname.nuno@gmail.com>
1 parent 5cdfcfa commit 7591666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iiod/dns-sd.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static struct avahi_data {
4646
static void create_services(AvahiClient *c);
4747
static AvahiClient * client_new(void);
4848

49-
static void client_free()
49+
static void client_free(void)
5050
{
5151
/* This also frees the entry group, if any. */
5252
if (avahi.client) {
@@ -56,7 +56,7 @@ static void client_free()
5656
}
5757
}
5858

59-
static void shutdown_avahi()
59+
static void shutdown_avahi(void)
6060
{
6161
/* Stop the avahi client, if it's running. */
6262
if (avahi.poll)

0 commit comments

Comments
 (0)