diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-08 22:37:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-08 22:37:23 +0000 |
commit | c0bfd8814f6cd8e45a230deca0f28954ed38480e (patch) | |
tree | 3fe2e7692806402346cae9509b22d790e5a6b39d /src/libs6rc/s6rc_db_check_pipelines.c | |
parent | da010cd4a3a4da1b03940b76b138e75cc36106cf (diff) | |
download | s6-rc-c0bfd8814f6cd8e45a230deca0f28954ed38480e.tar.xz |
Types fix: first pass
Diffstat (limited to 'src/libs6rc/s6rc_db_check_pipelines.c')
-rw-r--r-- | src/libs6rc/s6rc_db_check_pipelines.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs6rc/s6rc_db_check_pipelines.c b/src/libs6rc/s6rc_db_check_pipelines.c index d2547fc..19f4993 100644 --- a/src/libs6rc/s6rc_db_check_pipelines.c +++ b/src/libs6rc/s6rc_db_check_pipelines.c @@ -1,6 +1,6 @@ /* ISC license. */ -#include <skalibs/uint32.h> +#include <stdint.h> #include <skalibs/diuint32.h> #include <skalibs/bytestr.h> #include <skalibs/bitarray.h> @@ -8,16 +8,16 @@ int s6rc_db_check_pipelines (s6rc_db_t const *db, diuint32 *problem) { - uint32 i = db->nlong ; + uint32_t i = db->nlong ; unsigned char black[bitarray_div8(db->nlong)] ; byte_zero(black, bitarray_div8(db->nlong)) ; while (i--) if (!bitarray_peek(black, i)) { - uint32 j = i ; - uint32 start ; + uint32_t j = i ; + uint32_t start ; for (;;) { - register uint32 k = db->services[j].x.longrun.pipeline[0] ; + register uint32_t k = db->services[j].x.longrun.pipeline[0] ; if (k >= db->nlong) break ; if (k == i || bitarray_peek(black, k)) { @@ -31,7 +31,7 @@ int s6rc_db_check_pipelines (s6rc_db_t const *db, diuint32 *problem) j = i ; for (;;) { - register uint32 k = db->services[j].x.longrun.pipeline[1] ; + register uint32_t k = db->services[j].x.longrun.pipeline[1] ; if (k >= db->nlong) break ; if (k == i || bitarray_peek(black, k)) { |