tipc: rename struct port_list to struct tipc_port_list

Make this rename so that it is consistent with the majority
of the other tipc structs and to assist in removing any
ambiguity with other similar names in other subsystems.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
Paul Gortmaker
2011-12-29 20:33:30 -05:00
parent 358a0d1c9e
commit 4584310b4a
6 changed files with 19 additions and 19 deletions
+5 -5
View File
@@ -893,9 +893,9 @@ static void tipc_nmap_diff(struct tipc_node_map *nm_a,
* tipc_port_list_add - add a port to a port list, ensuring no duplicates
*/
void tipc_port_list_add(struct port_list *pl_ptr, u32 port)
void tipc_port_list_add(struct tipc_port_list *pl_ptr, u32 port)
{
struct port_list *item = pl_ptr;
struct tipc_port_list *item = pl_ptr;
int i;
int item_sz = PLSIZE;
int cnt = pl_ptr->count;
@@ -927,10 +927,10 @@ void tipc_port_list_add(struct port_list *pl_ptr, u32 port)
*
*/
void tipc_port_list_free(struct port_list *pl_ptr)
void tipc_port_list_free(struct tipc_port_list *pl_ptr)
{
struct port_list *item;
struct port_list *next;
struct tipc_port_list *item;
struct tipc_port_list *next;
for (item = pl_ptr->next; item; item = next) {
next = item->next;