summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-11-04 12:29:36 +0000
committerphintuka <phintuka>2008-11-04 12:29:36 +0000
commita1b03a2da29867e833f676652c531c434c24d7a3 (patch)
tree5c12d4c54d6c9d1b188be985fc8bc059fe789028
parent224d07cfbad5b71dc6f81bda8800b7639e2736ad (diff)
downloadxineliboutput-a1b03a2da29867e833f676652c531c434c24d7a3.tar.gz
xineliboutput-a1b03a2da29867e833f676652c531c434c24d7a3.tar.bz2
Moved LogToSysLog from xine_frontend.c to logdefs.c
-rw-r--r--logdefs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/logdefs.c b/logdefs.c
index 444af5ce..063e1924 100644
--- a/logdefs.c
+++ b/logdefs.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: logdefs.c,v 1.1 2008-11-04 11:55:42 phintuka Exp $
+ * $Id: logdefs.c,v 1.2 2008-11-04 12:29:36 phintuka Exp $
*
*/
@@ -19,7 +19,8 @@
# include <linux/unistd.h> /* syscall(__NR_gettid) */
#endif
-extern int LogToSysLog; /* xine_frontend.c, log to syslog instead of console */
+/* next symbol is dynamically linked from input plugin */
+int LogToSysLog __attribute__((visibility("default"))) = 1; /* log to syslog instead of console */
void x_syslog(int level, const char *module, const char *fmt, ...)
{