[asterisk-commits] mjordan: trunk r391732 - /trunk/utils/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 13 16:53:47 CDT 2013
Author: mjordan
Date: Thu Jun 13 16:53:45 2013
New Revision: 391732
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=391732
Log:
Make the utils directory compile... again.
Utils is a source folder that lies,
eventually all developers will cry,
"I know I must maintain it,
But really with this last commit
I can kiss my software ethics good-bye."
Modified:
trunk/utils/ael_main.c
trunk/utils/check_expr.c
trunk/utils/conf2ael.c
trunk/utils/refcounter.c
Modified: trunk/utils/ael_main.c
URL: http://svnview.digium.com/svn/asterisk/trunk/utils/ael_main.c?view=diff&rev=391732&r1=391731&r2=391732
==============================================================================
--- trunk/utils/ael_main.c (original)
+++ trunk/utils/ael_main.c Thu Jun 13 16:53:45 2013
@@ -20,6 +20,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+#include "asterisk/backtrace.h"
#include "asterisk/channel.h"
#include "asterisk/ast_expr.h"
#include "asterisk/module.h"
@@ -621,12 +622,12 @@
{
}
-int ast_bt_get_addresses(struct ast_bt *bt)
+int __ast_bt_get_addresses(struct ast_bt *bt)
{
return 0;
}
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
{
char **foo = calloc(num_frames, sizeof(char *) + 1);
if (foo) {
Modified: trunk/utils/check_expr.c
URL: http://svnview.digium.com/svn/asterisk/trunk/utils/check_expr.c?view=diff&rev=391732&r1=391731&r2=391732
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Thu Jun 13 16:53:45 2013
@@ -71,14 +71,14 @@
/* 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)
+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;
}
-char **ast_bt_get_symbols(void **addresses, size_t num_frames);
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames);
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
{
char **foo = calloc(num_frames, sizeof(char *) + 1);
if (foo) {
Modified: trunk/utils/conf2ael.c
URL: http://svnview.digium.com/svn/asterisk/trunk/utils/conf2ael.c?view=diff&rev=391732&r1=391731&r2=391732
==============================================================================
--- trunk/utils/conf2ael.c (original)
+++ trunk/utils/conf2ael.c Thu Jun 13 16:53:45 2013
@@ -750,12 +750,12 @@
{
}
-int ast_bt_get_addresses(struct ast_bt *bt)
+int __ast_bt_get_addresses(struct ast_bt *bt)
{
return 0;
}
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
{
char **foo = calloc(num_frames, sizeof(char *) + 1);
if (foo) {
Modified: trunk/utils/refcounter.c
URL: http://svnview.digium.com/svn/asterisk/trunk/utils/refcounter.c?view=diff&rev=391732&r1=391731&r2=391732
==============================================================================
--- trunk/utils/refcounter.c (original)
+++ trunk/utils/refcounter.c Thu Jun 13 16:53:45 2013
@@ -280,20 +280,20 @@
{
}
#ifdef HAVE_BKTR
-struct ast_bt *ast_bt_create(void);
-struct ast_bt *ast_bt_create(void)
+struct ast_bt *__ast_bt_create(void);
+struct ast_bt *__ast_bt_create(void)
{
return NULL;
}
-int ast_bt_get_addresses(struct ast_bt *bt);
-int ast_bt_get_addresses(struct ast_bt *bt)
+int __ast_bt_get_addresses(struct ast_bt *bt);
+int __ast_bt_get_addresses(struct ast_bt *bt)
{
return 0;
}
-char **ast_bt_get_symbols(void **addresses, size_t num_frames);
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames);
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
{
char **foo = calloc(num_frames, sizeof(char *) + 1);
if (foo) {
@@ -305,8 +305,8 @@
return foo;
}
-void *ast_bt_destroy(struct ast_bt *bt);
-void *ast_bt_destroy(struct ast_bt *bt)
+void *__ast_bt_destroy(struct ast_bt *bt);
+void *__ast_bt_destroy(struct ast_bt *bt)
{
return NULL;
}
More information about the asterisk-commits
mailing list