diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-01-31 07:51:40 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-01-31 07:51:40 +0000 |
commit | b536f7caaf5c8944b1a79c2913d3f569ccd8853d (patch) | |
tree | 6fbc33c60e21ec0c9d1f9ada1e7719ea6cd1f4ad /include | |
parent | 1b1f64d04e89df034a15f9ebee0174b3ce12e638 (diff) |
Use the non-specific API aliases, to avoid a problem with building the utils directory.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@305040 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 07522684f..fbcbecccf 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -443,7 +443,7 @@ static inline void ast_reentrancy_init(struct ast_lock_track **plt) struct ast_lock_track *lt = *plt; if (!lt) { - lt = *plt = (struct ast_lock_track *) ast_calloc(1, sizeof(*lt)); + lt = *plt = (struct ast_lock_track *) calloc(1, sizeof(*lt)); } for (i = 0; i < AST_MAX_REENTRANCY; i++) { @@ -470,7 +470,7 @@ static inline void delete_reentrancy_cs(struct ast_lock_track **plt) if (*plt) { lt = *plt; pthread_mutex_destroy(<->reentr_mutex); - ast_free(lt); + free(lt); *plt = NULL; } } |