@@ -34,6 +34,7 @@
|
||||
#include "log.h"
|
||||
|
||||
#ifdef HAVE_SELINUX
|
||||
_printf_(2,3)
|
||||
static int null_log(int type, const char *fmt, ...) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -932,7 +932,7 @@ fail:
|
||||
}
|
||||
|
||||
char *bus_match_to_string(struct bus_match_component *components, unsigned n_components) {
|
||||
_cleanup_free_ FILE *f = NULL;
|
||||
_cleanup_fclose_ FILE *f = NULL;
|
||||
char *buffer = NULL;
|
||||
size_t size = 0;
|
||||
unsigned i;
|
||||
|
||||
@@ -1092,6 +1092,7 @@ static int method_set_vc_keyboard(sd_bus_message *m, void *userdata, sd_bus_erro
|
||||
}
|
||||
|
||||
#ifdef HAVE_XKBCOMMON
|
||||
_printf_(3, 0)
|
||||
static void log_xkb(struct xkb_context *ctx, enum xkb_log_level lvl, const char *format, va_list args) {
|
||||
const char *fmt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user