diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-01-07 12:34:04 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-01-08 01:58:45 +0100 |
commit | 7ac405297ec38449b30e3b05fd6bf2082fd3d803 (patch) | |
tree | 5231547e7f2ce87b368135d1dd4720431e94e088 /libipq/libipq.c | |
parent | 4a1d810bb52aa5d5c450f7adcde5145d40261b54 (diff) |
src: use C99/POSIX types
"u_int" was a non-standardized extension predating C99 on some platforms.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'libipq/libipq.c')
-rw-r--r-- | libipq/libipq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libipq/libipq.c b/libipq/libipq.c index 620cc2d3..e3304875 100644 --- a/libipq/libipq.c +++ b/libipq/libipq.c @@ -206,7 +206,7 @@ static char *ipq_strerror(int errcode) /* * Create and initialise an ipq handle. */ -struct ipq_handle *ipq_create_handle(u_int32_t flags, u_int32_t protocol) +struct ipq_handle *ipq_create_handle(uint32_t flags, uint32_t protocol) { int status; struct ipq_handle *h; @@ -267,7 +267,7 @@ int ipq_destroy_handle(struct ipq_handle *h) } int ipq_set_mode(const struct ipq_handle *h, - u_int8_t mode, size_t range) + uint8_t mode, size_t range) { struct { struct nlmsghdr nlh; |