summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-01-14 22:03:35 +0000
committerTim-Philipp Müller <tim@centricular.com>2016-01-14 22:03:35 +0000
commit4fa498bdebaac3544632b61aff260ad675a7c98a (patch)
tree3189d3f9f3178485c2b24907f8365328df327e02
parent7c6ba5e4758f58eeb0c889f81745b9dcd2d98f34 (diff)
gss-log: fix another duplicate symbol build error
duplicate symbol __gss_error_quark in: .libs/libgss_1.0_la-gss-server.o .libs/libgss_1.0_la-gss-config.o duplicate symbol __gss_error_quark in: .libs/libgss_1.0_la-gss-server.o .libs/libgss_1.0_la-gss-log.o ..
-rw-r--r--gst-streaming-server/gss-log.c2
-rw-r--r--gst-streaming-server/gss-log.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/gst-streaming-server/gss-log.c b/gst-streaming-server/gss-log.c
index bf9ba07..a561a08 100644
--- a/gst-streaming-server/gss-log.c
+++ b/gst-streaming-server/gss-log.c
@@ -21,6 +21,8 @@
static int gss_log_verbosity = 0;
+GQuark _gss_error_quark = 0;
+
static void log_handler (GstDebugCategory * category, GstDebugLevel level,
const gchar * file, const gchar * function, gint line, GObject * object,
GstDebugMessage * message, gpointer data);
diff --git a/gst-streaming-server/gss-log.h b/gst-streaming-server/gss-log.h
index 5fee94d..9a785b3 100644
--- a/gst-streaming-server/gss-log.h
+++ b/gst-streaming-server/gss-log.h
@@ -30,7 +30,7 @@ typedef enum {
GSS_ERROR_FILE_READ
} GssErrorEnum;
-GQuark _gss_error_quark;
+extern GQuark _gss_error_quark;
void gss_log_init (void);
void gss_log_set_verbosity (int level);