summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile2
-rw-r--r--utils/refcounter.c9
2 files changed, 10 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index e60917b6a..11905fb5c 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -180,7 +180,7 @@ threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c
$(CMD_PREFIX) cp "$<" "$@"
-refcounter: refcounter.o md5.o hashtab.o lock.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o version.o
+refcounter: refcounter.o md5.o hashtab.o lock.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o version.o astobj2.o
refcounter.o: _ASTCFLAGS+=-O0
extconf.o: extconf.c
diff --git a/utils/refcounter.c b/utils/refcounter.c
index fab906c50..2f17b9c85 100644
--- a/utils/refcounter.c
+++ b/utils/refcounter.c
@@ -310,4 +310,13 @@ void *__ast_bt_destroy(struct ast_bt *bt)
{
return NULL;
}
+
+void ast_log_backtrace(void)
+{
+}
+
+int ast_register_atexit(void (*func)(void))
+{
+ return 0;
+}
#endif