diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-08-02 14:08:34 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-08-02 14:08:34 +0000 |
commit | 41d6be2432a77cf9da5dbb3f0590a74340a2c54e (patch) | |
tree | 50fe2992b81e196c5efc84d71fdd00a90ebf8a01 /utils | |
parent | f8622e7c5cbdda91a5efad230a9e3af593378c7c (diff) |
Move ast_str_container_alloc and friends
This moves ast_str_container_alloc, ast_str_container_add,
ast_str_container_remove, and related private functions into
strings.c/h since they really don't belong in astobj2.c/h.
As a result of this move, utils also had to be updated.
Review: https://reviewboard.asterisk.org/r/2719/
(closes issue ASTERISK-22041)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Makefile | 2 | ||||
-rw-r--r-- | utils/refcounter.c | 9 |
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 |