X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fconf-parser.c;fp=src%2Fshared%2Fconf-parser.c;h=60da8ca8dce49f5e6d23686f5908ef6e280e2bb7;hb=f8b903a5947589b91ccfbc5a87ee3f8c5726c354;hp=8e6fffe1876addb2b85490761d82513293f0c46f;hpb=3c4743e938878986b5fd89119d1d050658b8024e;p=elogind.git diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 8e6fffe18..60da8ca8d 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -459,6 +459,7 @@ int config_parse_many(const char *conf_file, DEFINE_PARSER(int, int, safe_atoi); DEFINE_PARSER(long, long, safe_atoli); +DEFINE_PARSER(uint16, uint16_t, safe_atou16); DEFINE_PARSER(uint32, uint32_t, safe_atou32); DEFINE_PARSER(uint64, uint64_t, safe_atou64); DEFINE_PARSER(unsigned, unsigned, safe_atou);