diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-03-02 17:23:03 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-03-02 17:23:03 +0000 |
commit | 9b2aa728c95a43261940b0f8cf75f242f5607b14 (patch) | |
tree | 920711e37193849ee3bb44c523fb70e837e915bf | |
parent | 7ae0fb8b98cbb1b1f2f16650d9768f8ad6e2b57a (diff) | |
download | xine-lib-9b2aa728c95a43261940b0f8cf75f242f5607b14.tar.gz xine-lib-9b2aa728c95a43261940b0f8cf75f242f5607b14.tar.bz2 |
err, i never see such thing
CVS patchset: 4322
CVS date: 2003/03/02 17:23:03
-rw-r--r-- | src/xine-utils/xineutils.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index c2ceeeec2..72fbbfdf0 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.38 2003/03/02 17:13:03 f1rmb Exp $ + * $Id: xineutils.h,v 1.39 2003/03/02 17:23:03 f1rmb Exp $ * */ #ifndef XINEUTILS_H @@ -797,9 +797,7 @@ extern int v_b_table[256]; /* Obtain a backtrace and print it to stdout. */ -static void -print_trace (void) -{ +void print_trace (void) { #if HAVE_BACKTRACE /* Code Taken from GNU C Library manual */ void *array[10]; @@ -831,7 +829,7 @@ print_trace (void) #define XINE_ASSERT(exp, desc, args...) \ do { \ if (!(exp)) { \ - printf("%s:%s:%d: assertion `" #exp "' failed. " desc "\n\n", \ + printf("%s:%s:%d: assertion failed. " desc "\n\n", \ __FILE__, __XINE_FUNCTION__, __LINE__, ##args); \ print_trace(); \ abort(); \ @@ -846,7 +844,7 @@ print_trace (void) #define XINE_ASSERT(exp, desc, args...) \ do { \ if (!(exp)) { \ - printf("%s:%s:%d: assertion `" #exp "' failed. ", \ + printf("%s:%s:%d: assertion failed. ", \ __FILE__, __XINE_FUNCTION__, __LINE__); \ printf(desc, ##args); \ printf("\n\n"); \ @@ -859,7 +857,7 @@ print_trace (void) #define XINE_ASSERT(exp, ...) \ do { \ if (!(exp)) { \ - printf("%s:%s:%d: assertion `" #exp "' failed. ", \ + printf("%s:%s:%d: assertion failed. ", \ __FILE__, __XINE_FUNCTION__, __LINE__); \ printf(__VA_ARGS__); \ printf("\n\n"); \ |