From: Adrian Bunk <bunk@stusta.de>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [2.6 patch] net/ipv6/sit.c: make 2 functions static
Date: Fri, 17 Nov 2006 18:02:32 +0100 [thread overview]
Message-ID: <20061117170232.GH31879@stusta.de> (raw)
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/net/ipip.h | 4 ----
net/ipv6/sit.c | 4 ++--
2 files changed, 2 insertions(+), 6 deletions(-)
--- linux-2.6.19-rc5-mm2/include/net/ipip.h.old 2006-11-17 16:58:59.000000000 +0100
+++ linux-2.6.19-rc5-mm2/include/net/ipip.h 2006-11-17 16:59:06.000000000 +0100
@@ -44,8 +44,4 @@
} \
} while (0)
-
-extern int sit_init(void);
-extern void sit_cleanup(void);
-
#endif
--- linux-2.6.19-rc5-mm2/net/ipv6/sit.c.old 2006-11-17 16:37:49.000000000 +0100
+++ linux-2.6.19-rc5-mm2/net/ipv6/sit.c 2006-11-17 16:38:53.000000000 +0100
@@ -809,7 +809,7 @@
}
}
-void __exit sit_cleanup(void)
+static void __exit sit_cleanup(void)
{
inet_del_protocol(&sit_protocol, IPPROTO_IPV6);
@@ -819,7 +819,7 @@
rtnl_unlock();
}
-int __init sit_init(void)
+static int __init sit_init(void)
{
int err;
next reply other threads:[~2006-11-17 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 17:02 Adrian Bunk [this message]
2006-11-21 0:56 ` [2.6 patch] net/ipv6/sit.c: make 2 functions static David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061117170232.GH31879@stusta.de \
--to=bunk@stusta.de \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.