summaryrefslogtreecommitdiff
path: root/src/minutils/s6ps_grcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/minutils/s6ps_grcache.c')
-rw-r--r--src/minutils/s6ps_grcache.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/minutils/s6ps_grcache.c b/src/minutils/s6ps_grcache.c
index 9a0d133..f41ccf4 100644
--- a/src/minutils/s6ps_grcache.c
+++ b/src/minutils/s6ps_grcache.c
@@ -1,9 +1,8 @@
/* ISC license. */
-#include <sys/types.h>
#include <grp.h>
#include <errno.h>
-#include <skalibs/uint.h>
+#include <skalibs/types.h>
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/skamisc.h>
@@ -56,7 +55,7 @@ int s6ps_grcache_lookup (stralloc *sa, gid_t gid)
return stralloc_cats(sa, satmp.s + genalloc_s(dius_t, &grcache_index)[i].right) ;
err:
{
- register int e = errno ;
+ int e = errno ;
if (wasnull) stralloc_free(&satmp) ;
else satmp.len = d.right ;
errno = e ;