hide queue vars, remove legacy name in log.h
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
#include "sql.h"
|
||||
#include "job_queue.h"
|
||||
|
||||
struct msg_t **slot;
|
||||
int total_queues;
|
||||
static struct msg_t **slot;
|
||||
static int total_queues;
|
||||
|
||||
int start_msg_queue(void)
|
||||
{
|
||||
|
||||
@@ -19,11 +19,11 @@
|
||||
* along with RMPS. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LOG_TRACE_H
|
||||
#define LOG_TRACE_H
|
||||
#ifndef LOGGING
|
||||
#define LOGGING
|
||||
|
||||
#undef log
|
||||
#define log log_trace
|
||||
#define log logging
|
||||
|
||||
enum LOG_LEVEL {
|
||||
ERROR = 1, /* Errors only */
|
||||
@@ -35,5 +35,5 @@ enum LOG_LEVEL {
|
||||
void log_ssl(void);
|
||||
void log(enum LOG_LEVEL lvl, char *fmt, ...);
|
||||
|
||||
#endif /* LOG_TRACE_H */
|
||||
#endif /* LOGGING */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user