summaryrefslogtreecommitdiffstats
path: root/include/ulogd/conffile.h
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-06-24 19:53:34 +0200
committerEric Leblond <eric@regit.org>2015-06-26 09:12:55 +0200
commitc9337b31f756cae85299c8275b21088ce02885e2 (patch)
tree21a2161706fd42a7ba3c330e9ec0485f40ecd42b /include/ulogd/conffile.h
parent8a6ddd1cb2b55c234f1a97f7e5d996f24f46b6f8 (diff)
Use stdint types everywhere
Signed-off-by: Felix Janda <felix.janda@posteo.de>
Diffstat (limited to 'include/ulogd/conffile.h')
-rw-r--r--include/ulogd/conffile.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ulogd/conffile.h b/include/ulogd/conffile.h
index 69a6f70..1f3d563 100644
--- a/include/ulogd/conffile.h
+++ b/include/ulogd/conffile.h
@@ -7,7 +7,7 @@
#ifndef _CONFFILE_H
#define _CONFFILE_H
-#include <sys/types.h>
+#include <stdint.h>
/* errors returned by config functions */
enum {
@@ -45,10 +45,10 @@ enum {
struct config_entry {
char key[CONFIG_KEY_LEN]; /* name of config directive */
- u_int8_t type; /* type; see above */
- u_int8_t options; /* options; see above */
- u_int8_t hit; /* found? */
- u_int8_t flag; /* tune setup of option */
+ uint8_t type; /* type; see above */
+ uint8_t options; /* options; see above */
+ uint8_t hit; /* found? */
+ uint8_t flag; /* tune setup of option */
union {
char string[CONFIG_VAL_STRING_LEN];
int value;