diff options
Diffstat (limited to 'utils/conf2ael.c')
-rw-r--r-- | utils/conf2ael.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/conf2ael.c b/utils/conf2ael.c index 48a18392c..538818b25 100644 --- a/utils/conf2ael.c +++ b/utils/conf2ael.c @@ -724,6 +724,18 @@ int ast_bt_get_addresses(struct ast_bt *bt) return 0; } +char **ast_bt_get_symbols(void **addresses, size_t num_frames) +{ + char **foo = calloc(num_frames, sizeof(char *) + 1); + if (foo) { + int i; + for (i = 0; i < num_frames; i++) { + foo[i] = (char *) foo + sizeof(char *) * num_frames; + } + } + return foo; +} + #else void ast_remove_lock_info(void *lock_addr) { |