diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 17:15:23 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-23 17:15:23 +0000 |
commit | 62a7522f316acf205715a3585b9e4ce260062823 (patch) | |
tree | 98fa0486b684840d6e1aa29f3388bbcbaa38af9a /res/res_features.c | |
parent | 398097da5064c5b7fe408eb4ff4b5896df83d9f4 (diff) |
backport some mutex initialization and linked list handling fixes from trunk
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@29732 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_features.c')
-rw-r--r-- | res/res_features.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/res_features.c b/res/res_features.c index 885f4a7d7..a122abf5f 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -866,7 +866,7 @@ struct ast_call_feature builtin_features[] = }; -static AST_LIST_HEAD(feature_list,ast_call_feature) feature_list; +static AST_LIST_HEAD_STATIC(feature_list,ast_call_feature); /* register new feature into feature_list*/ void ast_register_feature(struct ast_call_feature *feature) @@ -2145,7 +2145,6 @@ int load_module(void) { int res; - AST_LIST_HEAD_INIT(&feature_list); memset(parking_ext, 0, sizeof(parking_ext)); memset(parking_con, 0, sizeof(parking_con)); |