chiark / gitweb /
config parser: Introduce config_parse_uint8
[elogind.git] / src / shared / conf-parser.c
index 0f6bf85b0386809443bc3bdb3029b6445ea11ed1..438f1a02fa0c245170bd797756307ab639569d0b 100644 (file)
@@ -508,6 +508,7 @@ int config_parse_many(
 DEFINE_PARSER(int, int, safe_atoi);
 DEFINE_PARSER(long, long, safe_atoli);
 #if 0 /// UNNEEDED by elogind
+DEFINE_PARSER(uint8, uint8_t, safe_atou8);
 DEFINE_PARSER(uint16, uint16_t, safe_atou16);
 DEFINE_PARSER(uint32, uint32_t, safe_atou32);
 #endif // 0