diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-07-21 22:12:17 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-07-21 22:12:17 +0000 |
commit | 02486d457def273db80d36c2370fd663511cb82b (patch) | |
tree | ae27839e90e13b1b3f84cc535c3689da89c5cac0 /src/libs6rc | |
parent | 53d7f0de3feeb8ad93bb8c319c3f0f314c7d31cf (diff) | |
download | s6-rc-02486d457def273db80d36c2370fd663511cb82b.tar.xz |
Get rid of s6rc_id_t
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6rc')
-rw-r--r-- | src/libs6rc/s6rc_db_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6rc/s6rc_db_load.c b/src/libs6rc/s6rc_db_load.c index 8463e55..bcc5f2f 100644 --- a/src/libs6rc/s6rc_db_load.c +++ b/src/libs6rc/s6rc_db_load.c @@ -104,7 +104,7 @@ int s6rc_db_load (char const *dir, s6rc_db_t *db, cdb_t *c) db->externals = (s6rc_external_t const *)(db->oneshots + db->n[S6RC_STYPE_ONESHOT] + db->n[S6RC_STYPE_N + S6RC_STYPE_ONESHOT]) ; db->bundles = (s6rc_bundle_t const *)(db->externals + db->n[S6RC_STYPE_EXTERNAL] + db->n[S6RC_STYPE_N + S6RC_STYPE_EXTERNAL]) ; db->virtuals = (s6rc_bundle_t const *)(db->bundles + db->n[S6RC_STYPE_BUNDLE] + db->n[S6RC_STYPE_N + S6RC_STYPE_BUNDLE]) ; - db->deps[0] = (s6rc_id_t const *)(db->virtuals + db->n[S6RC_STYPE_VIRTUAL] + db->n[S6RC_STYPE_N + S6RC_STYPE_VIRTUAL]) ; + db->deps[0] = (uint32_t const *)(db->virtuals + db->n[S6RC_STYPE_VIRTUAL] + db->n[S6RC_STYPE_N + S6RC_STYPE_VIRTUAL]) ; db->deps[1] = db->deps[0] + ndeps ; db->producers = db->deps[1] + ndeps ; db->deptypes[0] = (uint8_t const *)(db->producers + nproducers) ; |