summaryrefslogtreecommitdiff
path: root/frontend/saned.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:35:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:35:53 +0100
commit84357741a6a6e6430f199b2c3f7498e0e97da9ad (patch)
tree23e8d66ede9506b94c76fb36910ca3c7dd15c74e /frontend/saned.c
parent302276dc1b90cfc972fb726ca94a23b18f4b0088 (diff)
New upstream version 1.2.1upstream/1.2.1
Diffstat (limited to 'frontend/saned.c')
-rw-r--r--frontend/saned.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/saned.c b/frontend/saned.c
index 5b16980..e31758a 100644
--- a/frontend/saned.c
+++ b/frontend/saned.c
@@ -84,8 +84,8 @@
#include "lgetopt.h"
-#if defined(HAVE_SYS_POLL_H) && defined(HAVE_POLL)
-# include <sys/poll.h>
+#if defined(HAVE_POLL_H) && defined(HAVE_POLL)
+# include <poll.h>
#else
/*
* This replacement poll() using select() is only designed to cover
@@ -2449,7 +2449,7 @@ void
sig_int_term_handler (int signum)
{
/* unused */
- signum = signum;
+ (void) signum;
signal (SIGINT, NULL);
signal (SIGTERM, NULL);
@@ -2543,7 +2543,7 @@ saned_avahi_group_callback (AvahiEntryGroup *g, AvahiEntryGroupState state, void
char *n;
/* unused */
- userdata = userdata;
+ (void) userdata;
if ((!g) || (g != avahi_group))
return;
@@ -2657,7 +2657,7 @@ saned_avahi_callback (AvahiClient *c, AvahiClientState state, void *userdata)
int error;
/* unused */
- userdata = userdata;
+ (void) userdata;
if (!c)
return;