mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
tipc: rename struct subscription to struct tipc_subscription
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:
parent
4584310b4a
commit
fead39098b
4 changed files with 27 additions and 26 deletions
|
@ -251,8 +251,8 @@ static struct publication *tipc_nameseq_insert_publ(struct name_seq *nseq,
|
|||
u32 type, u32 lower, u32 upper,
|
||||
u32 scope, u32 node, u32 port, u32 key)
|
||||
{
|
||||
struct subscription *s;
|
||||
struct subscription *st;
|
||||
struct tipc_subscription *s;
|
||||
struct tipc_subscription *st;
|
||||
struct publication *publ;
|
||||
struct sub_seq *sseq;
|
||||
struct name_info *info;
|
||||
|
@ -381,7 +381,7 @@ static struct publication *tipc_nameseq_remove_publ(struct name_seq *nseq, u32 i
|
|||
struct sub_seq *sseq = nameseq_find_subseq(nseq, inst);
|
||||
struct name_info *info;
|
||||
struct sub_seq *free;
|
||||
struct subscription *s, *st;
|
||||
struct tipc_subscription *s, *st;
|
||||
int removed_subseq = 0;
|
||||
|
||||
if (!sseq)
|
||||
|
@ -448,7 +448,8 @@ found:
|
|||
* sequence overlapping with the requested sequence
|
||||
*/
|
||||
|
||||
static void tipc_nameseq_subscribe(struct name_seq *nseq, struct subscription *s)
|
||||
static void tipc_nameseq_subscribe(struct name_seq *nseq,
|
||||
struct tipc_subscription *s)
|
||||
{
|
||||
struct sub_seq *sseq = nseq->sseqs;
|
||||
|
||||
|
@ -739,7 +740,7 @@ int tipc_nametbl_withdraw(u32 type, u32 lower, u32 ref, u32 key)
|
|||
* tipc_nametbl_subscribe - add a subscription object to the name table
|
||||
*/
|
||||
|
||||
void tipc_nametbl_subscribe(struct subscription *s)
|
||||
void tipc_nametbl_subscribe(struct tipc_subscription *s)
|
||||
{
|
||||
u32 type = s->seq.type;
|
||||
struct name_seq *seq;
|
||||
|
@ -763,7 +764,7 @@ void tipc_nametbl_subscribe(struct subscription *s)
|
|||
* tipc_nametbl_unsubscribe - remove a subscription object from name table
|
||||
*/
|
||||
|
||||
void tipc_nametbl_unsubscribe(struct subscription *s)
|
||||
void tipc_nametbl_unsubscribe(struct tipc_subscription *s)
|
||||
{
|
||||
struct name_seq *seq;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue