Use the linkedlists.h macros for the manager action list.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-08-07 22:13:40 +00:00
parent d8965ddabe
commit 218241f174
2 changed files with 40 additions and 39 deletions

View File

@@ -113,7 +113,7 @@ struct manager_action {
/*! Function to be called */
int (*func)(struct mansession *s, const struct message *m);
/*! For easy linking */
struct manager_action *next;
AST_RWLIST_ENTRY(manager_action) list;
};
/* External routines may register/unregister manager callbacks this way */