diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-11-16 22:09:36 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-11-16 22:09:36 +0100 |
commit | cf0fbc49e67b55f8d346fc94de28c90113505297 (patch) | |
tree | 20abd20bce45653264e2a0dda3e1c7f0364f8cb7 /src/login | |
parent | ab5dfda78f14d2ca3d6383a2d23260e9d13127e3 (diff) |
tree-wide: sort includes
Sort the includes accoding to the new coding style.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind-core.c | 4 | ||||
-rw-r--r-- | src/login/logind-session-device.c | 3 | ||||
-rw-r--r-- | src/login/logind-session.c | 1 | ||||
-rw-r--r-- | src/login/logind-utmp.c | 2 | ||||
-rw-r--r-- | src/login/logind.c | 2 | ||||
-rw-r--r-- | src/login/sysfs-show.c | 3 | ||||
-rw-r--r-- | src/login/test-login-shared.c | 2 | ||||
-rw-r--r-- | src/login/test-login-tables.c | 1 |
8 files changed, 7 insertions, 11 deletions
diff --git a/src/login/logind-core.c b/src/login/logind-core.c index 38c426c1aa..36cdbbe0f9 100644 --- a/src/login/logind-core.c +++ b/src/login/logind-core.c @@ -19,10 +19,10 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <sys/types.h> -#include <sys/ioctl.h> #include <fcntl.h> #include <pwd.h> +#include <sys/ioctl.h> +#include <sys/types.h> #include <linux/vt.h> #include "alloc-util.h" diff --git a/src/login/logind-session-device.c b/src/login/logind-session-device.c index 9bf3ca0995..0c6983d73a 100644 --- a/src/login/logind-session-device.c +++ b/src/login/logind-session-device.c @@ -25,11 +25,10 @@ #include <sys/ioctl.h> #include <sys/types.h> -#include "libudev.h" - #include "alloc-util.h" #include "bus-util.h" #include "fd-util.h" +#include "libudev.h" #include "logind-session-device.h" #include "missing.h" #include "util.h" diff --git a/src/login/logind-session.c b/src/login/logind-session.c index 6c4ada29fb..9f03a7b31e 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -36,7 +36,6 @@ #include "bus-util.h" #include "escape.h" #include "fd-util.h" -#include "fd-util.h" #include "fileio.h" #include "formats-util.h" #include "io-util.h" diff --git a/src/login/logind-utmp.c b/src/login/logind-utmp.c index 3e7a935a34..3bd61a81fd 100644 --- a/src/login/logind-utmp.c +++ b/src/login/logind-utmp.c @@ -20,9 +20,9 @@ ***/ #include <errno.h> +#include <pwd.h> #include <string.h> #include <unistd.h> -#include <pwd.h> #include "sd-messages.h" diff --git a/src/login/logind.c b/src/login/logind.c index 7b41174c64..04f467ceb4 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -24,7 +24,6 @@ #include <string.h> #include <unistd.h> -#include "libudev.h" #include "sd-daemon.h" #include "alloc-util.h" @@ -35,6 +34,7 @@ #include "dirent-util.h" #include "fd-util.h" #include "formats-util.h" +#include "libudev.h" #include "logind.h" #include "signal-util.h" #include "strv.h" diff --git a/src/login/sysfs-show.c b/src/login/sysfs-show.c index e9ca4bb03d..86acee5751 100644 --- a/src/login/sysfs-show.c +++ b/src/login/sysfs-show.c @@ -22,9 +22,8 @@ #include <errno.h> #include <string.h> -#include "libudev.h" - #include "alloc-util.h" +#include "libudev.h" #include "locale-util.h" #include "path-util.h" #include "string-util.h" diff --git a/src/login/test-login-shared.c b/src/login/test-login-shared.c index 4c4275d124..ac327f71fb 100644 --- a/src/login/test-login-shared.c +++ b/src/login/test-login-shared.c @@ -19,8 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include "macro.h" #include "login-util.h" +#include "macro.h" static void test_session_id_valid(void) { assert_se(session_id_valid("c1")); diff --git a/src/login/test-login-tables.c b/src/login/test-login-tables.c index a4196bf14b..4fbc893a9a 100644 --- a/src/login/test-login-tables.c +++ b/src/login/test-login-tables.c @@ -19,7 +19,6 @@ #include "logind-action.h" #include "logind-session.h" - #include "test-tables.h" int main(int argc, char **argv) { |