Moved struct def for dbg strs to header
So it is now accessable from outside. FossilOrigin-Name: a3ccfa9828660f39f17cd6211298dd0c1fd484cf33dc8b988231a4d3e7c2c0f1
This commit is contained in:
parent
f6ae42736a
commit
f8d42ca207
@ -146,4 +146,15 @@ extern int cw_log_str2dbglevel(const char * str);
|
|||||||
|
|
||||||
extern const char * cw_log_name;
|
extern const char * cw_log_name;
|
||||||
|
|
||||||
|
struct cw_dbg_cfgstrs
|
||||||
|
{
|
||||||
|
const char *name;
|
||||||
|
int level;
|
||||||
|
};
|
||||||
|
|
||||||
|
extern struct cw_dbg_cfgstrs cw_dbg_cfgstrs[];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -22,12 +22,6 @@
|
|||||||
#include "cw_log.h"
|
#include "cw_log.h"
|
||||||
|
|
||||||
|
|
||||||
struct cw_dbg_cfgstrs
|
|
||||||
{
|
|
||||||
const char *name;
|
|
||||||
int level;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct cw_dbg_cfgstrs cw_dbg_cfgstrs[] = {
|
struct cw_dbg_cfgstrs cw_dbg_cfgstrs[] = {
|
||||||
|
|
||||||
{"info",DBG_CW_INFO},
|
{"info",DBG_CW_INFO},
|
||||||
|
Loading…
Reference in New Issue
Block a user