about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-02-19 16:26:20 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-19 16:26:20 +0000
commit08ee271b224ad551d0ab7d2d3d57ecd5b3a670d6 (patch)
treece2a800469fbe0489c570f377e0756a3989e0131
parent33e4429e536bcaaf27f70ca245fe0c071dff2c1c (diff)
downloadnsss-08ee271b224ad551d0ab7d2d3d57ecd5b3a670d6.tar.gz
nsss-08ee271b224ad551d0ab7d2d3d57ecd5b3a670d6.tar.xz
nsss-08ee271b224ad551d0ab7d2d3d57ecd5b3a670d6.zip
Adapt to new skalibs/posixishard.h header
-rw-r--r--src/libnsss/nsss_switch_grp_read.c4
-rw-r--r--src/libnsss/nsss_switch_pwd_read.c4
-rw-r--r--src/libnsss/nsss_switch_shadow_read.c4
-rw-r--r--src/nsssd/nsssd-nslcd.c5
-rw-r--r--src/nsssd/nsssd_main.c4
5 files changed, 13 insertions, 8 deletions
diff --git a/src/libnsss/nsss_switch_grp_read.c b/src/libnsss/nsss_switch_grp_read.c
index 74b981b..8e020e0 100644
--- a/src/libnsss/nsss_switch_grp_read.c
+++ b/src/libnsss/nsss_switch_grp_read.c
@@ -4,9 +4,9 @@
 #include <stdint.h>
 #include <string.h>
 #include <errno.h>
-#include <skalibs/posixplz.h>
+
+#include <skalibs/posixishard.h>
 #include <skalibs/uint32.h>
-#include <skalibs/error.h>
 #include <skalibs/stralloc.h>
 #include <skalibs/genalloc.h>
 #include <skalibs/unix-timed.h>
diff --git a/src/libnsss/nsss_switch_pwd_read.c b/src/libnsss/nsss_switch_pwd_read.c
index 936b0f4..b26577a 100644
--- a/src/libnsss/nsss_switch_pwd_read.c
+++ b/src/libnsss/nsss_switch_pwd_read.c
@@ -3,9 +3,9 @@
 #include <stdint.h>
 #include <string.h>
 #include <errno.h>
-#include <skalibs/posixplz.h>
+
+#include <skalibs/posixishard.h>
 #include <skalibs/uint32.h>
-#include <skalibs/error.h>
 #include <skalibs/stralloc.h>
 #include <skalibs/unix-timed.h>
 #include <nsss/pwd-def.h>
diff --git a/src/libnsss/nsss_switch_shadow_read.c b/src/libnsss/nsss_switch_shadow_read.c
index 1806c6d..034c7e0 100644
--- a/src/libnsss/nsss_switch_shadow_read.c
+++ b/src/libnsss/nsss_switch_shadow_read.c
@@ -3,10 +3,10 @@
 #include <stdint.h>
 #include <string.h>
 #include <errno.h>
-#include <skalibs/posixplz.h>
+
+#include <skalibs/posixishard.h>
 #include <skalibs/uint32.h>
 #include <skalibs/uint64.h>
-#include <skalibs/error.h>
 #include <skalibs/stralloc.h>
 #include <skalibs/unix-timed.h>
 #include <nsss/shadow-def.h>
diff --git a/src/nsssd/nsssd-nslcd.c b/src/nsssd/nsssd-nslcd.c
index 17e646d..8f43ac9 100644
--- a/src/nsssd/nsssd-nslcd.c
+++ b/src/nsssd/nsssd-nslcd.c
@@ -1,12 +1,14 @@
 /* ISC license. */
 
 #include <skalibs/nonposix.h>
+
 #include <sys/socket.h>
 #include <sys/uio.h>
 #include <stdint.h>
 #include <errno.h>
+
+#include <skalibs/posixishard.h>
 #include <skalibs/posixplz.h>
-#include <skalibs/error.h>
 #include <skalibs/uint32.h>
 #include <skalibs/sgetopt.h>
 #include <skalibs/buffer.h>
@@ -15,6 +17,7 @@
 #include <skalibs/genalloc.h>
 #include <skalibs/webipc.h>
 #include <skalibs/unix-timed.h>
+
 #include <nsss/nsssd.h>
 #include "nsssd-nslcd.h"
 
diff --git a/src/nsssd/nsssd_main.c b/src/nsssd/nsssd_main.c
index 585b995..cc8a3f4 100644
--- a/src/nsssd/nsssd_main.c
+++ b/src/nsssd/nsssd_main.c
@@ -2,14 +2,16 @@
 
 #include <string.h>
 #include <errno.h>
+
+#include <skalibs/posixishard.h>
 #include <skalibs/uint32.h>
 #include <skalibs/uint64.h>
-#include <skalibs/error.h>
 #include <skalibs/buffer.h>
 #include <skalibs/strerr2.h>
 #include <skalibs/tai.h>
 #include <skalibs/djbunix.h>
 #include <skalibs/unix-timed.h>
+
 #include <nsss/pwd-def.h>
 #include <nsss/grp-def.h>
 #include <nsss/shadow-def.h>