[asterisk-commits] mmichelson: branch mmichelson/lock_backtraces r115475 - /team/mmichelson/lock...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 6 15:18:46 CDT 2008


Author: mmichelson
Date: Tue May  6 15:18:46 2008
New Revision: 115475

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115475
Log:
Bizarre change that allows for compilation to succeed when MALLOC_DEBUG is turned on


Modified:
    team/mmichelson/lock_backtraces/include/asterisk/logger.h

Modified: team/mmichelson/lock_backtraces/include/asterisk/logger.h
URL: http://svn.digium.com/view/asterisk/team/mmichelson/lock_backtraces/include/asterisk/logger.h?view=diff&rev=115475&r1=115474&r2=115475
==============================================================================
--- team/mmichelson/lock_backtraces/include/asterisk/logger.h (original)
+++ team/mmichelson/lock_backtraces/include/asterisk/logger.h Tue May  6 15:18:46 2008
@@ -217,6 +217,8 @@
 	} \
 } while (0)
 
+#ifndef _LOGGER_BACKTRACE_H
+#define _LOGGER_BACKTRACE_H
 #ifdef HAVE_BKTR
 #define AST_MAX_BT_FRAMES 32
 /* I'd like to call this ast_backtrace, but that name is already taken by a function */
@@ -237,6 +239,7 @@
 void *ast_bt_destroy(struct ast_bt *bt);
 
 #endif /* HAVE_BKTR */
+#endif /* _LOGGER_BACKTRACE_H */
 
 #if defined(__cplusplus) || defined(c_plusplus)
 }




More information about the asterisk-commits mailing list