summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-03-02 17:28:55 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-03-02 17:28:55 +0000
commit8792c1a698a2e71c61b96941a76466cd4d928277 (patch)
treeccbb01a4b929ece1df5b4c147772db4ec53bb04e
parent9b2aa728c95a43261940b0f8cf75f242f5607b14 (diff)
downloadxine-lib-8792c1a698a2e71c61b96941a76466cd4d928277.tar.gz
xine-lib-8792c1a698a2e71c61b96941a76466cd4d928277.tar.bz2
fix multiple definition (me) and unused warning (not me ;) )
CVS patchset: 4323 CVS date: 2003/03/02 17:28:55
-rw-r--r--src/xine-utils/xineutils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h
index 72fbbfdf0..f8524e277 100644
--- a/src/xine-utils/xineutils.h
+++ b/src/xine-utils/xineutils.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xineutils.h,v 1.39 2003/03/02 17:23:03 f1rmb Exp $
+ * $Id: xineutils.h,v 1.40 2003/03/02 17:28:55 f1rmb Exp $
*
*/
#ifndef XINEUTILS_H
@@ -797,7 +797,7 @@ extern int v_b_table[256];
/* Obtain a backtrace and print it to stdout. */
-void print_trace (void) {
+static void print_trace (void) {
#if HAVE_BACKTRACE
/* Code Taken from GNU C Library manual */
void *array[10];
@@ -821,6 +821,8 @@ void print_trace (void) {
#endif
}
+#define DUMMY_PRINT_TRACE print_trace
+
/**
* Provide assert like feature with better description of failure
* Thanks to Mark Thomas