hide queue vars, remove legacy name in log.h

This commit is contained in:
2019-01-12 17:46:04 +02:00
parent 59604b5b66
commit a36e3a02f4
2 changed files with 6 additions and 6 deletions

View File

@@ -24,8 +24,8 @@
#include "sql.h" #include "sql.h"
#include "job_queue.h" #include "job_queue.h"
struct msg_t **slot; static struct msg_t **slot;
int total_queues; static int total_queues;
int start_msg_queue(void) int start_msg_queue(void)
{ {

View File

@@ -19,11 +19,11 @@
* along with RMPS. If not, see <http://www.gnu.org/licenses/>. * along with RMPS. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef LOG_TRACE_H #ifndef LOGGING
#define LOG_TRACE_H #define LOGGING
#undef log #undef log
#define log log_trace #define log logging
enum LOG_LEVEL { enum LOG_LEVEL {
ERROR = 1, /* Errors only */ ERROR = 1, /* Errors only */
@@ -35,5 +35,5 @@ enum LOG_LEVEL {
void log_ssl(void); void log_ssl(void);
void log(enum LOG_LEVEL lvl, char *fmt, ...); void log(enum LOG_LEVEL lvl, char *fmt, ...);
#endif /* LOG_TRACE_H */ #endif /* LOGGING */