aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2019-03-25 22:54:38 +0100
committerDavid Oberhollenzer <goliath@infraroot.at>2019-03-27 17:48:32 +0100
commitaffe9e4b8802ccb2d9749300327969dcf4222bc1 (patch)
treee6249e36bb14414cd00865ea83b02ec7d1200b07 /lib
parent72c02308cd54cd28b3aae137cd04766200f45a9a (diff)
Use fixed size integer for init socket request
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/include/initsock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/include/initsock.h b/lib/include/initsock.h
index 75d859c..76b2924 100644
--- a/lib/include/initsock.h
+++ b/lib/include/initsock.h
@@ -2,6 +2,8 @@
#ifndef INITSOCK_H
#define INITSOCK_H
+#include <stdint.h>
+
#include "config.h"
#include "service.h"
@@ -20,7 +22,7 @@ typedef enum {
} E_SERVICE_STATE;
typedef struct {
- E_INIT_REQUEST rq;
+ uint8_t rq;
} init_request_t;
typedef struct {