diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-02-12 17:36:29 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-02-12 17:36:29 +0100 |
commit | 882fd010527b8d8823f09e19edbed3746265fa08 (patch) | |
tree | be5c7cace6697afc753c152d13ad5145d0884a42 /frontend/saned.c | |
parent | 527bedac30eb120915718eb7997e6dacd583512e (diff) | |
parent | e0d94cf4d39395df1e2c6bb4d967200298c13881 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'frontend/saned.c')
-rw-r--r-- | frontend/saned.c | 10 |
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; |