summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2004-10-25 06:29:14 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-10-25 06:29:14 -0700
commitc3efef68bd08fbef3c9160e29af37a1c0828af05 (patch)
treeb42b5ceec27035fa105eaa8166af5c137f74abaf /include
parentf380f123e93d090d5fb83bde4fa6163b2d93fd46 (diff)
[NET]: Remove dead socket layer exports.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/net.h1
-rw-r--r--include/net/sock.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index 2c4572f630a1..368b0f9d3006 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -176,7 +176,6 @@ struct kvec;
extern int sock_wake_async(struct socket *sk, int how, int band);
extern int sock_register(struct net_proto_family *fam);
extern int sock_unregister(int family);
-extern struct socket *sock_alloc(void);
extern int sock_create(int family, int type, int proto,
struct socket **res);
extern int sock_create_kern(int family, int type, int proto,
diff --git a/include/net/sock.h b/include/net/sock.h
index 563096ab673a..bfad716ce409 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -746,7 +746,6 @@ extern void sk_send_sigurg(struct sock *sk);
* Functions to fill in entries in struct proto_ops when a protocol
* does not implement a particular function.
*/
-extern int sock_no_release(struct socket *);
extern int sock_no_bind(struct socket *,
struct sockaddr *, int);
extern int sock_no_connect(struct socket *,
@@ -1275,7 +1274,6 @@ static inline void sk_eat_skb(struct sock *sk, struct sk_buff *skb)
extern atomic_t netstamp_needed;
extern void sock_enable_timestamp(struct sock *sk);
-extern void sock_disable_timestamp(struct sock *sk);
static inline void net_timestamp(struct timeval *stamp)
{