summaryrefslogtreecommitdiffstats
path: root/support/include
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-12 04:49:24 -0400
committerSteve Dickson <steved@redhat.com>2014-09-15 13:56:57 -0400
commit20351c53dd0232b4344cc9ae448002c3f5a97c72 (patch)
treefa0e893137a5e95ec8e31392732463aefa028563 /support/include
parent082613db48898d7e95139ecc3af9607c815b0e2f (diff)
downloadnfs-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')
-rw-r--r--support/include/conffile.h3
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 *);