mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 17:46:50 +08:00
[mpp_log]: Fix compile warning
Change-Id: I482df8722b111df7981f1bd4d7f337f497eadfee Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include "os_log.h"
|
||||
|
||||
#define LINE_SZ 1024
|
||||
|
||||
|
@@ -42,7 +42,8 @@ static RK_U32 mpp_log_flag = 0;
|
||||
static const char *msg_log_warning = "log message is long\n";
|
||||
static const char *msg_log_nothing = "\n";
|
||||
|
||||
void __mpp_log(mpp_log_callback func, const char *tag, const char *fmt, const char *fname, va_list args)
|
||||
static void __mpp_log(mpp_log_callback func, const char *tag, const char *fmt,
|
||||
const char *fname, va_list args)
|
||||
{
|
||||
char msg[MPP_LOG_MAX_LEN + 1];
|
||||
char *tmp = msg;
|
||||
|
Reference in New Issue
Block a user