--- embedaddon/mpd/src/log.h 2013/07/22 08:44:29 1.1.1.1 +++ embedaddon/mpd/src/log.h 2021/03/17 00:39:23 1.1.1.2 @@ -14,6 +14,10 @@ #ifndef _LG_H_ #define _LG_H_ +#include "mbuf.h" + +#include + /* * DEFINITIONS */ @@ -147,7 +151,7 @@ extern void LogPrintf(const char *fmt, ...) __printflike(1, 2); extern void vLogPrintf(const char *fmt, va_list args); extern void LogPrintf2(const char *fmt, ...) __printflike(1, 2); - extern int LogCommand(Context ctx, int ac, char *av[], void *arg); + extern int LogCommand(Context ctx, int ac, const char *const av[], const void *arg); extern void LogDumpBuf2(const u_char *buf, int len, const char *fmt, ...) __printflike(3, 4); extern void LogDumpBp2(Mbuf bp, const char *fmt, ...)