netdev
[Top] [All Lists]

[PATCH]: Remove duplicate declarations from netlink.h

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: [PATCH]: Remove duplicate declarations from netlink.h
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Fri, 27 Aug 2004 14:59:55 +0200
Cc: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5
This patch removes some duplicate delarations from netlink.h.

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/08/27 14:35:59+02:00 kaber@xxxxxxxxxxxx 
#   [NETLINK]: Remove duplicate declarations
#   
#   Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>
# 
# include/linux/netlink.h
#   2004/08/27 14:35:21+02:00 kaber@xxxxxxxxxxxx +0 -7
#   [NETLINK]: Remove duplicate declarations
# 
diff -Nru a/include/linux/netlink.h b/include/linux/netlink.h
--- a/include/linux/netlink.h   2004-08-27 14:46:19 +02:00
+++ b/include/linux/netlink.h   2004-08-27 14:46:19 +02:00
@@ -134,13 +134,6 @@
 void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
 int netlink_sendskb(struct sock *sk, struct sk_buff *skb, int protocol);
 
-/* finegrained unicast helpers: */
-struct sock *netlink_getsockbypid(struct sock *ssk, u32 pid);
-struct sock *netlink_getsockbyfilp(struct file *filp);
-int netlink_attachskb(struct sock *sk, struct sk_buff *skb, int nonblock, long 
timeo);
-void netlink_detachskb(struct sock *sk, struct sk_buff *skb);
-int netlink_sendskb(struct sock *sk, struct sk_buff *skb, int protocol);
-
 /*
  *     skb should fit one page. This choice is good for headerless malloc.
  *
<Prev in Thread] Current Thread [Next in Thread>