Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79463
b: refs/heads/master
c: 40fee36
h: refs/heads/master
i:
  79461: 8bea9b2
  79459: 09dc53b
  79455: 029c748
v: v3
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Jan 28, 2008
1 parent 2d43be8 commit 0e52029
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e8b9df6e8786e4d5ee5ac951240cb2eaaac3014
refs/heads/master: 40fee36e11b49f92bc7c385bd45d7805c0127a34
20 changes: 10 additions & 10 deletions trunk/net/ipv6/addrlabel.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ u32 ipv6_addr_label(const struct in6_addr *addr, int type, int ifindex)
}

/* allocate one entry */
struct ip6addrlbl_entry *ip6addrlbl_alloc(const struct in6_addr *prefix,
int prefixlen, int ifindex,
u32 label)
static struct ip6addrlbl_entry *ip6addrlbl_alloc(const struct in6_addr *prefix,
int prefixlen, int ifindex,
u32 label)
{
struct ip6addrlbl_entry *newp;
int addrtype;
Expand Down Expand Up @@ -216,7 +216,7 @@ struct ip6addrlbl_entry *ip6addrlbl_alloc(const struct in6_addr *prefix,
}

/* add a label */
int __ip6addrlbl_add(struct ip6addrlbl_entry *newp, int replace)
static int __ip6addrlbl_add(struct ip6addrlbl_entry *newp, int replace)
{
int ret = 0;

Expand Down Expand Up @@ -257,8 +257,8 @@ int __ip6addrlbl_add(struct ip6addrlbl_entry *newp, int replace)
}

/* add a label */
int ip6addrlbl_add(const struct in6_addr *prefix, int prefixlen,
int ifindex, u32 label, int replace)
static int ip6addrlbl_add(const struct in6_addr *prefix, int prefixlen,
int ifindex, u32 label, int replace)
{
struct ip6addrlbl_entry *newp;
int ret = 0;
Expand All @@ -282,8 +282,8 @@ int ip6addrlbl_add(const struct in6_addr *prefix, int prefixlen,
}

/* remove a label */
int __ip6addrlbl_del(const struct in6_addr *prefix, int prefixlen,
int ifindex)
static int __ip6addrlbl_del(const struct in6_addr *prefix, int prefixlen,
int ifindex)
{
struct ip6addrlbl_entry *p = NULL;
struct hlist_node *pos, *n;
Expand All @@ -308,8 +308,8 @@ int __ip6addrlbl_del(const struct in6_addr *prefix, int prefixlen,
return ret;
}

int ip6addrlbl_del(const struct in6_addr *prefix, int prefixlen,
int ifindex)
static int ip6addrlbl_del(const struct in6_addr *prefix, int prefixlen,
int ifindex)
{
struct in6_addr prefix_buf;
int ret;
Expand Down

0 comments on commit 0e52029

Please sign in to comment.