* [-mm patch] net/core/scm.c: make scm_detach_fds() static
[not found] <20060318044056.350a2931.akpm@osdl.org>
@ 2006-03-18 18:45 ` Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-03-18 18:45 UTC (permalink / raw)
To: Andrew Morton, davem; +Cc: linux-kernel, netdev
On Sat, Mar 18, 2006 at 04:40:56AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc6-mm1:
>...
> git-net.patch
>...
> git trees.
>...
We can now make scm_detach_fds() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/net/scm.h | 1 -
net/core/scm.c | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
--- linux-2.6.16-rc6-mm2-full/include/net/scm.h.old 2006-03-18 18:48:20.000000000 +0100
+++ linux-2.6.16-rc6-mm2-full/include/net/scm.h 2006-03-18 18:48:25.000000000 +0100
@@ -24,7 +24,6 @@
unsigned long seq; /* Connection seqno */
};
-extern void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
extern void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
extern void __scm_destroy(struct scm_cookie *scm);
extern struct scm_fp_list * scm_fp_dup(struct scm_fp_list *fpl);
--- linux-2.6.16-rc6-mm2-full/net/core/scm.c.old 2006-03-18 18:48:35.000000000 +0100
+++ linux-2.6.16-rc6-mm2-full/net/core/scm.c 2006-03-18 18:48:46.000000000 +0100
@@ -210,7 +210,7 @@
return err;
}
-void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm)
+static void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm)
{
struct cmsghdr __user *cm = (struct cmsghdr __user*)msg->msg_control;
@@ -329,5 +329,4 @@
EXPORT_SYMBOL(scm_send);
EXPORT_SYMBOL(scm_recv);
EXPORT_SYMBOL(put_cmsg);
-EXPORT_SYMBOL(scm_detach_fds);
EXPORT_SYMBOL(scm_fp_dup);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-18 18:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060318044056.350a2931.akpm@osdl.org>
2006-03-18 18:45 ` [-mm patch] net/core/scm.c: make scm_detach_fds() static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).