diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-05-16 18:00:18 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-05-16 18:00:18 +0000 |
commit | 2d175b7e8f133a0b830564e1a4147906d65f1bb0 (patch) | |
tree | 758414063682903e7c3e84291d38144392a38e5c /include/asterisk/astobj2.h | |
parent | d4fa095a647a0a8d472f0fd66c8728cb920a0138 (diff) |
Remove missed idx parameter to some ao2 global holder macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@366700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/astobj2.h')
-rw-r--r-- | include/asterisk/astobj2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/astobj2.h b/include/asterisk/astobj2.h index 9a3234ee9..fe53f1357 100644 --- a/include/asterisk/astobj2.h +++ b/include/asterisk/astobj2.h @@ -649,7 +649,7 @@ void __ao2_global_obj_release(struct ao2_global_obj *holder, const char *tag, co */ #define ao2_t_global_obj_replace(holder, obj, tag) \ __ao2_global_obj_replace(&holder, (obj), (tag), __FILE__, __LINE__, __PRETTY_FUNCTION__, #holder) -#define ao2_global_obj_replace(holder, idx, obj) \ +#define ao2_global_obj_replace(holder, obj) \ __ao2_global_obj_replace(&holder, (obj), "", __FILE__, __LINE__, __PRETTY_FUNCTION__, #holder) void *__ao2_global_obj_replace(struct ao2_global_obj *holder, void *obj, const char *tag, const char *file, int line, const char *func, const char *name); @@ -688,7 +688,7 @@ int __ao2_global_obj_replace_unref(struct ao2_global_obj *holder, void *obj, con */ #define ao2_t_global_obj_ref(holder, tag) \ __ao2_global_obj_ref(&holder, (tag), __FILE__, __LINE__, __PRETTY_FUNCTION__, #holder) -#define ao2_global_obj_ref(holder, idx) \ +#define ao2_global_obj_ref(holder) \ __ao2_global_obj_ref(&holder, "", __FILE__, __LINE__, __PRETTY_FUNCTION__, #holder) void *__ao2_global_obj_ref(struct ao2_global_obj *holder, const char *tag, const char *file, int line, const char *func, const char *name); |