X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fllc%2Fllc_conn.c;h=9dd0f26a1534dc924a75ac0fbbacaefb3d487c92;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=075364466ac144e17cf13e43b5bbefb2c24244d9;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/llc/llc_conn.c b/net/llc/llc_conn.c index 075364466..9dd0f26a1 100644 --- a/net/llc/llc_conn.c +++ b/net/llc/llc_conn.c @@ -503,7 +503,8 @@ found: * local mac, and local sap. Returns pointer for parent socket found, * %NULL otherwise. */ -struct sock *llc_lookup_listener(struct llc_sap *sap, struct llc_addr *laddr) +static struct sock *llc_lookup_listener(struct llc_sap *sap, + struct llc_addr *laddr) { struct sock *rc; struct hlist_node *node; @@ -546,7 +547,7 @@ u8 llc_data_accept_state(u8 state) * Finds offset of next category of transitions in transition table. * Returns the start index of next category. */ -u16 find_next_offset(struct llc_conn_state *state, u16 offset) +static u16 find_next_offset(struct llc_conn_state *state, u16 offset) { u16 cnt = 0; struct llc_conn_state_trans **next_trans; @@ -785,7 +786,7 @@ out_kfree_skb: * * Initializes a socket with default llc values. */ -int llc_sk_init(struct sock* sk) +static int llc_sk_init(struct sock* sk) { struct llc_opt *llc = kmalloc(sizeof(*llc), GFP_ATOMIC); int rc = -ENOMEM;