about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-03-21 13:08:15 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-03-21 13:08:15 +0000
commit7a51f3bef5b7fb34de66ec189a77745b2803f734 (patch)
tree9baa211c577f73b8dc4bfebc3d4a2b0fc265e574
parent706185dd0268f56da2ac35116f7f1ebb28e7cbb2 (diff)
downloadnsss-7a51f3bef5b7fb34de66ec189a77745b2803f734.tar.gz
nsss-7a51f3bef5b7fb34de66ec189a77745b2803f734.tar.xz
nsss-7a51f3bef5b7fb34de66ec189a77745b2803f734.zip
Include posixishard as late as possible
-rw-r--r--src/libnsss/nsss_switch_grp_read.c3
-rw-r--r--src/libnsss/nsss_switch_pwd_read.c3
-rw-r--r--src/libnsss/nsss_switch_shadow_read.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/libnsss/nsss_switch_grp_read.c b/src/libnsss/nsss_switch_grp_read.c
index 8e020e0..1ab6cbb 100644
--- a/src/libnsss/nsss_switch_grp_read.c
+++ b/src/libnsss/nsss_switch_grp_read.c
@@ -5,11 +5,12 @@
 #include <string.h>
 #include <errno.h>
 
-#include <skalibs/posixishard.h>
 #include <skalibs/uint32.h>
 #include <skalibs/stralloc.h>
 #include <skalibs/genalloc.h>
 #include <skalibs/unix-timed.h>
+#include <skalibs/posixishard.h>
+
 #include <nsss/grp-def.h>
 #include "nsss-switch-internal.h"
 
diff --git a/src/libnsss/nsss_switch_pwd_read.c b/src/libnsss/nsss_switch_pwd_read.c
index b26577a..759bc23 100644
--- a/src/libnsss/nsss_switch_pwd_read.c
+++ b/src/libnsss/nsss_switch_pwd_read.c
@@ -4,10 +4,11 @@
 #include <string.h>
 #include <errno.h>
 
-#include <skalibs/posixishard.h>
 #include <skalibs/uint32.h>
 #include <skalibs/stralloc.h>
 #include <skalibs/unix-timed.h>
+#include <skalibs/posixishard.h>
+
 #include <nsss/pwd-def.h>
 #include "nsss-switch-internal.h"
 
diff --git a/src/libnsss/nsss_switch_shadow_read.c b/src/libnsss/nsss_switch_shadow_read.c
index 034c7e0..709d031 100644
--- a/src/libnsss/nsss_switch_shadow_read.c
+++ b/src/libnsss/nsss_switch_shadow_read.c
@@ -4,11 +4,12 @@
 #include <string.h>
 #include <errno.h>
 
-#include <skalibs/posixishard.h>
 #include <skalibs/uint32.h>
 #include <skalibs/uint64.h>
 #include <skalibs/stralloc.h>
 #include <skalibs/unix-timed.h>
+#include <skalibs/posixishard.h>
+
 #include <nsss/shadow-def.h>
 #include "nsss-switch-internal.h"