]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Don't use structure names which easily globally conflict.
authorDavid S. Miller <davem@davemloft.net>
Wed, 3 Sep 2008 06:38:32 +0000 (23:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Sep 2008 06:38:32 +0000 (23:38 -0700)
commit6e93f773d215525f7edbf90b06c2ae91b33c69c6
tree10a99e61740723be45ba056b2edd623d237c0207
parentf408824566197ac9dc5dce1762158ed2e689b1ae
tipc: Don't use structure names which easily globally conflict.

Andrew Morton reported a build failure on sparc32, because TIPC
uses names like "struct node" and there is a like named data
structure defined in linux/node.h

This just regexp replaces "struct node*" to "struct tipc_node*"
to avoid this and any future similar problems.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 files changed:
net/tipc/bcast.c
net/tipc/bcast.h
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/cluster.c
net/tipc/cluster.h
net/tipc/discover.c
net/tipc/link.c
net/tipc/link.h
net/tipc/name_table.h
net/tipc/net.c
net/tipc/net.h
net/tipc/node.c
net/tipc/node.h
net/tipc/node_subscr.c
net/tipc/node_subscr.h
net/tipc/port.h
net/tipc/zone.c
net/tipc/zone.h