Browse Source

* move define to header

master
Alex 'AdUser' Z 9 years ago
parent
commit
c1fa8c3f54
  1. 2
      src/log.c
  2. 2
      src/log.h

2
src/log.c

@ -1,8 +1,6 @@
#include "common.h" #include "common.h"
#include "log.h" #include "log.h"
#define LOGLINE_MAX 1024
static log_msgtype_t minlevel = log_info; static log_msgtype_t minlevel = log_info;
static const char *loglevels[] = { static const char *loglevels[] = {

2
src/log.h

@ -1,6 +1,8 @@
#ifndef F2B_LOG_H_ #ifndef F2B_LOG_H_
#define F2B_LOG_H_ #define F2B_LOG_H_
#define LOGLINE_MAX 1024
typedef enum { typedef enum {
log_debug = 0, log_debug = 0,
log_info = 1, log_info = 1,

Loading…
Cancel
Save