diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-25 20:28:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 20:28:38 -0400 |
commit | d482e676a6a5cc4cbc4099038a42656465887b33 (patch) | |
tree | 6f0151aa6bc0f306d4288bda3facfeef254e72fa /src/shared/conf-parser.c | |
parent | 4ffab21849e6f5ff31545776101661b1157635ce (diff) | |
parent | 4c7bd9cf6becd97101cd25c87853fdd18bdcbb45 (diff) |
Merge pull request #5803 from ssahani/util
config_parser: add util function config_parse_uint8
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r-- | src/shared/conf-parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 265ac83dc0..d8393cbc8d 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -506,6 +506,7 @@ int config_parse_many( DEFINE_PARSER(int, int, safe_atoi); DEFINE_PARSER(long, long, safe_atoli); +DEFINE_PARSER(uint8, uint8_t, safe_atou8); DEFINE_PARSER(uint16, uint16_t, safe_atou16); DEFINE_PARSER(uint32, uint32_t, safe_atou32); DEFINE_PARSER(uint64, uint64_t, safe_atou64); |