mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
varlink: use int for log level
This commit is contained in:
@@ -1190,13 +1190,13 @@ bool varlink_idl_interface_name_is_valid(const char *name) {
|
||||
return true;
|
||||
}
|
||||
|
||||
static int varlink_idl_symbol_consistent(const VarlinkInterface *interface, const VarlinkSymbol *symbol, bool level);
|
||||
static int varlink_idl_symbol_consistent(const VarlinkInterface *interface, const VarlinkSymbol *symbol, int level);
|
||||
|
||||
static int varlink_idl_field_consistent(
|
||||
const VarlinkInterface *interface,
|
||||
const VarlinkSymbol *symbol,
|
||||
const VarlinkField *field,
|
||||
bool level) {
|
||||
int level) {
|
||||
|
||||
const char *symbol_name;
|
||||
int r;
|
||||
@@ -1288,7 +1288,7 @@ static bool varlink_symbol_is_empty(const VarlinkSymbol *symbol) {
|
||||
static int varlink_idl_symbol_consistent(
|
||||
const VarlinkInterface *interface,
|
||||
const VarlinkSymbol *symbol,
|
||||
bool level) {
|
||||
int level) {
|
||||
|
||||
_cleanup_(set_freep) Set *input_set = NULL, *output_set = NULL;
|
||||
const char *symbol_name;
|
||||
@@ -1325,7 +1325,7 @@ static int varlink_idl_symbol_consistent(
|
||||
return 0;
|
||||
}
|
||||
|
||||
int varlink_idl_consistent(const VarlinkInterface *interface, bool level) {
|
||||
int varlink_idl_consistent(const VarlinkInterface *interface, int level) {
|
||||
_cleanup_(set_freep) Set *name_set = NULL;
|
||||
int r;
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ bool varlink_idl_field_name_is_valid(const char *name);
|
||||
bool varlink_idl_symbol_name_is_valid(const char *name);
|
||||
bool varlink_idl_interface_name_is_valid(const char *name);
|
||||
|
||||
int varlink_idl_consistent(const VarlinkInterface *interface, bool level);
|
||||
int varlink_idl_consistent(const VarlinkInterface *interface, int level);
|
||||
|
||||
const VarlinkSymbol* varlink_idl_find_symbol(const VarlinkInterface *interface, VarlinkSymbolType type, const char *name);
|
||||
const VarlinkField* varlink_idl_find_field(const VarlinkSymbol *symbol, const char *name);
|
||||
|
||||
Reference in New Issue
Block a user