summaryrefslogtreecommitdiff
path: root/net/llc/af_llc.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-09-22 05:14:33 -0300
committerArnaldo Carvalho de Melo <acme@mandriva.com>2005-09-22 05:14:33 -0300
commit2928c19e1086e2f1e90d05931437ab6f1e4cfdc8 (patch)
tree47bd56109e8d6b0792735c01108a4df685539459 /net/llc/af_llc.c
parent0519d8fbabc4eb215a8263f29143ccd86c328157 (diff)
downloadlwn-2928c19e1086e2f1e90d05931437ab6f1e4cfdc8.tar.gz
lwn-2928c19e1086e2f1e90d05931437ab6f1e4cfdc8.zip
[LLC]: Fix sparse warnings
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r--net/llc/af_llc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index 3361ae900e2b..7aa51eb79b13 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -555,7 +555,7 @@ static int llc_ui_wait_for_busy_core(struct sock *sk, long timeout)
return rc;
}
-int llc_wait_data(struct sock *sk, long timeo)
+static int llc_wait_data(struct sock *sk, long timeo)
{
int rc;
@@ -1003,9 +1003,6 @@ static struct proto_ops llc_ui_ops = {
.sendpage = sock_no_sendpage,
};
-extern void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb);
-extern void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb);
-
static char llc_proc_err_msg[] __initdata =
KERN_CRIT "LLC: Unable to register the proc_fs entries\n";
static char llc_sysctl_err_msg[] __initdata =