added G_LOG_DOMAIN macros to several libraries
Define the GLib logging domain in the following libraries: conf, daemon, event_pipe, log.
This commit is contained in:
parent
11e680d640
commit
eac2da635d
@ -29,6 +29,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "config"
|
||||
|
||||
#define MAX_STRING_SIZE MPD_PATH_MAX+80
|
||||
|
||||
#define CONF_COMMENT '#'
|
||||
|
@ -35,6 +35,9 @@
|
||||
#include <grp.h>
|
||||
#endif
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "daemon"
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
/** the Unix user name which MPD runs as */
|
||||
|
@ -34,6 +34,9 @@
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "event_pipe"
|
||||
|
||||
static int event_pipe[2];
|
||||
static guint event_pipe_source_id;
|
||||
static GMutex *event_pipe_mutex;
|
||||
|
Loading…
Reference in New Issue
Block a user