summaryrefslogtreecommitdiff
path: root/src/include/s6-rc/s6rc-db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/s6-rc/s6rc-db.h')
-rw-r--r--src/include/s6-rc/s6rc-db.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/s6-rc/s6rc-db.h b/src/include/s6-rc/s6rc-db.h
index 0053af9..60287e9 100644
--- a/src/include/s6-rc/s6rc-db.h
+++ b/src/include/s6-rc/s6rc-db.h
@@ -3,7 +3,7 @@
#ifndef S6RC_DB_H
#define S6RC_DB_H
-#include <skalibs/uint32.h>
+#include <stdint.h>
#include <skalibs/diuint32.h>
#include <skalibs/buffer.h>
@@ -16,14 +16,14 @@
typedef struct s6rc_oneshot_s s6rc_oneshot_t, *s6rc_oneshot_t_ref ;
struct s6rc_oneshot_s
{
- uint32 argc[2] ;
- uint32 argv[2] ;
+ uint32_t argc[2] ;
+ uint32_t argv[2] ;
} ;
typedef struct s6rc_longrun_s s6rc_longrun_t, *s6rc_longrun_t_ref ;
struct s6rc_longrun_s
{
- uint32 pipeline[2] ;
+ uint32_t pipeline[2] ;
} ;
typedef union s6rc_longshot_u s6rc_longshot_t, *s6rc_longshot_t_ref ;
@@ -36,11 +36,11 @@ union s6rc_longshot_u
typedef struct s6rc_service_s s6rc_service_t, *s6rc_service_t_ref ;
struct s6rc_service_s
{
- uint32 name ;
- uint32 flags ;
- uint32 deps[2] ;
- uint32 ndeps[2] ;
- uint32 timeout[2] ;
+ uint32_t name ;
+ uint32_t flags ;
+ uint32_t deps[2] ;
+ uint32_t ndeps[2] ;
+ uint32_t timeout[2] ;
s6rc_longshot_t x ;
} ;
@@ -55,10 +55,10 @@ struct s6rc_db_s
unsigned int ndeps ;
char *string ;
char const **argvs ;
- uint32 *deps ;
+ uint32_t *deps ;
} ;
-extern int s6rc_db_read_uint32 (buffer *, uint32 *) ;
+extern int s6rc_db_read_uint32 (buffer *, uint32_t *) ;
extern int s6rc_db_read_sizes (int, s6rc_db_t *) ;
extern int s6rc_db_read (int, s6rc_db_t *) ;