[asterisk-commits] seanbright: trunk r118911 - /trunk/utils/check_expr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 29 07:12:08 CDT 2008
Author: seanbright
Date: Thu May 29 07:12:07 2008
New Revision: 118911
URL: http://svn.digium.com/view/asterisk?view=rev&rev=118911
Log:
Avoid build warning when execinfo.h isn't available.
(closes issue #12751)
Reported by: ys
Patches:
check_expr.diff uploaded by ys (license 281)
Modified:
trunk/utils/check_expr.c
Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=118911&r1=118910&r2=118911
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Thu May 29 07:12:07 2008
@@ -100,6 +100,13 @@
{
/* not a lot to do in a standalone w/o threading! */
}
+
+int ast_bt_get_addresses(struct ast_bt *bt);
+int ast_bt_get_addresses(struct ast_bt *bt)
+{
+ /* Suck it, you stupid utils directory! */
+ return 0;
+}
#else
void ast_store_lock_info(enum ast_lock_type type, const char *filename,
int line_num, const char *func, const char *lock_name, void *lock_addr);
@@ -122,13 +129,6 @@
/* not a lot to do in a standalone w/o threading! */
}
#endif
-
-int ast_bt_get_addresses(struct ast_bt *bt);
-int ast_bt_get_addresses(struct ast_bt *bt)
-{
- /* Suck it, you stupid utils directory! */
- return 0;
-}
static int global_lineno = 1;
static int global_expr_count=0;
More information about the asterisk-commits
mailing list