diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-12 14:06:32 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-12 20:47:38 +0100 |
commit | 0a6f50c0afdfc434b492493bd9efab20cbee8623 (patch) | |
tree | 46f6a16167472de91b2773685cf9506f0576e493 /src/shared | |
parent | c1ff5570f4a04bb9aedea444c12dce81679224ec (diff) |
include <poll.h> instead of <sys/poll.h>
include-what-you-use automatically does this and it makes finding
unnecessary harder to spot. The only content of poll.h is a include
of sys/poll.h so should be harmless.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/ask-password-api.c | 2 | ||||
-rw-r--r-- | src/shared/logs-show.c | 2 | ||||
-rw-r--r-- | src/shared/spawn-polkit-agent.c | 2 | ||||
-rw-r--r-- | src/shared/util.c | 2 | ||||
-rw-r--r-- | src/shared/utmp-wtmp.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c index d6589a67f6..0a61dafc59 100644 --- a/src/shared/ask-password-api.c +++ b/src/shared/ask-password-api.c @@ -21,7 +21,7 @@ #include <stdbool.h> #include <termios.h> #include <unistd.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/inotify.h> #include <errno.h> #include <fcntl.h> diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 45741f9e9d..c2495056d7 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -22,7 +22,7 @@ #include <time.h> #include <assert.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/socket.h> #include <string.h> #include <fcntl.h> diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c index 006ad532ba..8f259a8f39 100644 --- a/src/shared/spawn-polkit-agent.c +++ b/src/shared/spawn-polkit-agent.c @@ -27,7 +27,7 @@ #include <signal.h> #include <fcntl.h> #include <errno.h> -#include <sys/poll.h> +#include <poll.h> #include "log.h" #include "util.h" diff --git a/src/shared/util.c b/src/shared/util.c index f5fcebebe7..3a63351247 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -39,7 +39,7 @@ #include <linux/tiocl.h> #include <termios.h> #include <stdarg.h> -#include <sys/poll.h> +#include <poll.h> #include <ctype.h> #include <sys/prctl.h> #include <sys/utsname.h> diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c index 31f13ec808..bdb962af34 100644 --- a/src/shared/utmp-wtmp.c +++ b/src/shared/utmp-wtmp.c @@ -26,7 +26,7 @@ #include <sys/utsname.h> #include <fcntl.h> #include <unistd.h> -#include <sys/poll.h> +#include <poll.h> #include "macro.h" #include "path-util.h" |