summaryrefslogtreecommitdiff
path: root/src/daemontools-extras/s6-setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemontools-extras/s6-setsid.c')
-rw-r--r--src/daemontools-extras/s6-setsid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemontools-extras/s6-setsid.c b/src/daemontools-extras/s6-setsid.c
index 609b041..0e30559 100644
--- a/src/daemontools-extras/s6-setsid.c
+++ b/src/daemontools-extras/s6-setsid.c
@@ -2,7 +2,7 @@
#include <unistd.h>
#include <signal.h>
-#include <skalibs/uint.h>
+#include <skalibs/types.h>
#include <skalibs/sgetopt.h>
#include <skalibs/strerr2.h>
#include <skalibs/sig.h>
@@ -19,7 +19,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
subgetopt_t l = SUBGETOPT_ZERO ;
for (;;)
{
- register int opt = subgetopt_r(argc, argv, "sbfgiIqd:", &l) ;
+ int opt = subgetopt_r(argc, argv, "sbfgiIqd:", &l) ;
if (opt == -1) break ;
switch (opt)
{