Skip to content

Commit

Permalink
tipc: rename struct bclink to struct tipc_bclink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Dec 30, 2011
1 parent 11f9990 commit 6765fd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions net/tipc/bcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct bcbearer {
};

/**
* struct bclink - link used for broadcast messages
* struct tipc_bclink - link used for broadcast messages
* @link: (non-standard) broadcast link structure
* @node: (non-standard) node structure representing b'cast link's peer node
* @bcast_nodes: map of broadcast-capable nodes
Expand All @@ -93,18 +93,18 @@ struct bcbearer {
* Handles sequence numbering, fragmentation, bundling, etc.
*/

struct bclink {
struct tipc_bclink {
struct link link;
struct tipc_node node;
struct tipc_node_map bcast_nodes;
struct tipc_node *retransmit_to;
};

static struct bcbearer bcast_bearer;
static struct bclink bcast_link;
static struct tipc_bclink bcast_link;

static struct bcbearer *bcbearer = &bcast_bearer;
static struct bclink *bclink = &bcast_link;
static struct tipc_bclink *bclink = &bcast_link;
static struct link *bcl = &bcast_link.link;

static DEFINE_SPINLOCK(bc_lock);
Expand Down

0 comments on commit 6765fd6

Please sign in to comment.