From 8792c1a698a2e71c61b96941a76466cd4d928277 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 2 Mar 2003 17:28:55 +0000 Subject: fix multiple definition (me) and unused warning (not me ;) ) CVS patchset: 4323 CVS date: 2003/03/02 17:28:55 --- src/xine-utils/xineutils.h | 6 ++++-- 1 file 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 -- cgit v1.2.3