It is now safe to put NULL for function name.
Change-Id: I83afc47e38b823e924ae8dab60a7a24065ae0ef6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
static void old_vverbose_cb(void *closure, int level, const char *file, int line, const char *fmt, va_list args)
{
static void old_vverbose_cb(void *closure, int level, const char *file, int line, const char *fmt, va_list args)
{
- vverbose_cb(closure, level, file, line, "?", fmt, args);
+ vverbose_cb(closure, level, file, line, NULL, fmt, args);
}
static struct afb_event event_make_cb(void *closure, const char *name)
}
static struct afb_event event_make_cb(void *closure, const char *name)
static void hooked_old_vverbose_cb(void *closure, int level, const char *file, int line, const char *fmt, va_list args)
{
static void hooked_old_vverbose_cb(void *closure, int level, const char *file, int line, const char *fmt, va_list args)
{
- hooked_vverbose_cb(closure, level, file, line, "?", fmt, args);
+ hooked_vverbose_cb(closure, level, file, line, NULL, fmt, args);
}
static struct afb_event hooked_event_make_cb(void *closure, const char *name)
}
static struct afb_event hooked_event_make_cb(void *closure, const char *name)