@@ -91,8 +91,7 @@ int bus_parse_unit_info(sd_bus_message *message, UnitInfo *u) {
|
||||
return bus_log_create_error(r); \
|
||||
\
|
||||
return 1; \
|
||||
} \
|
||||
struct __useless_struct_to_allow_trailing_semicolon__
|
||||
}
|
||||
|
||||
#define DEFINE_BUS_APPEND_PARSE(bus_type, parse_func) \
|
||||
static int bus_append_##parse_func( \
|
||||
@@ -113,8 +112,7 @@ int bus_parse_unit_info(sd_bus_message *message, UnitInfo *u) {
|
||||
return bus_log_create_error(r); \
|
||||
\
|
||||
return 1; \
|
||||
} \
|
||||
struct __useless_struct_to_allow_trailing_semicolon__
|
||||
}
|
||||
|
||||
DEFINE_BUS_APPEND_PARSE("b", parse_boolean);
|
||||
DEFINE_BUS_APPEND_PARSE("i", ioprio_class_from_string);
|
||||
|
||||
@@ -150,8 +150,7 @@ int bus_log_create_error(int r);
|
||||
return r; \
|
||||
\
|
||||
return 1; \
|
||||
} \
|
||||
struct __useless_struct_to_allow_trailing_semicolon__
|
||||
}
|
||||
|
||||
#define BUS_PROPERTY_DUAL_TIMESTAMP(name, offset, flags) \
|
||||
SD_BUS_PROPERTY(name, "t", bus_property_get_usec, (offset) + offsetof(struct dual_timestamp, realtime), (flags)), \
|
||||
|
||||
@@ -515,8 +515,7 @@ int config_parse_many(
|
||||
#type, rvalue); \
|
||||
\
|
||||
return 0; \
|
||||
} \
|
||||
struct __useless_struct_to_allow_trailing_semicolon__
|
||||
}
|
||||
|
||||
DEFINE_PARSER(int, int, safe_atoi);
|
||||
DEFINE_PARSER(long, long, safe_atoli);
|
||||
|
||||
Reference in New Issue
Block a user