summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpctl/parser.h
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-05-23 19:01:08 +0000
committerrenato <renato@openbsd.org>2016-05-23 19:01:08 +0000
commit6c1e7e28caec19957d8ac846b841ab8d9d6f5a17 (patch)
tree9141cf58a1c9324957c2723bc38e4ea2157491c4 /usr.sbin/ldpctl/parser.h
parentTrim trailing whitespace from man.conf lines. OK schwarze@. (diff)
downloadwireguard-openbsd-6c1e7e28caec19957d8ac846b841ab8d9d6f5a17.tar.xz
wireguard-openbsd-6c1e7e28caec19957d8ac846b841ab8d9d6f5a17.zip
Change ldpctl(8) to use C99-style fixed-width integers.
Diffstat (limited to 'usr.sbin/ldpctl/parser.h')
-rw-r--r--usr.sbin/ldpctl/parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpctl/parser.h b/usr.sbin/ldpctl/parser.h
index 843391881ab..3cb816c04ee 100644
--- a/usr.sbin/ldpctl/parser.h
+++ b/usr.sbin/ldpctl/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.7 2015/07/21 05:44:50 renato Exp $ */
+/* $OpenBSD: parser.h,v 1.8 2016/05/23 19:01:08 renato Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -49,12 +49,12 @@ struct parse_result {
char ifname[IF_NAMESIZE];
int flags;
enum actions action;
- u_int8_t prefixlen;
+ uint8_t prefixlen;
};
struct parse_result *parse(int, char *[]);
int parse_addr(const char *, struct in_addr *);
int parse_prefix(const char *, struct in_addr *,
- u_int8_t *);
+ uint8_t *);
#endif /* _PARSER_H_ */