diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-12 04:49:24 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-09-15 13:56:57 -0400 |
commit | 20351c53dd0232b4344cc9ae448002c3f5a97c72 (patch) | |
tree | fa0e893137a5e95ec8e31392732463aefa028563 /support/include/conffile.h | |
parent | 082613db48898d7e95139ecc3af9607c815b0e2f (diff) | |
download | nfs-utils-20351c53dd0232b4344cc9ae448002c3f5a97c72.tar.gz nfs-utils-20351c53dd0232b4344cc9ae448002c3f5a97c72.tar.xz nfs-utils-20351c53dd0232b4344cc9ae448002c3f5a97c72.zip |
conffile: use standard uint*_t and unsigned char
Use the standard integer types. This fixes compiling errors with musl libc.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/conffile.h')
-rw-r--r-- | support/include/conffile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/include/conffile.h b/support/include/conffile.h index 05ea5d2..a6d5846 100644 --- a/support/include/conffile.h +++ b/support/include/conffile.h @@ -35,6 +35,7 @@ #include <sys/queue.h> #include <ctype.h> +#include <stdint.h> struct conf_list_node { TAILQ_ENTRY(conf_list_node) link; @@ -49,7 +50,7 @@ struct conf_list { extern char *conf_path; extern int conf_begin(void); -extern int conf_decode_base64(u_int8_t *, u_int32_t *, u_char *); +extern int conf_decode_base64(uint8_t *, uint32_t *, unsigned char *); extern int conf_end(int, int); extern void conf_free_list(struct conf_list *); extern struct sockaddr *conf_get_address(char *, char *); |