* [2.6 patch] drivers/net/ppp_deflate.c: make 2 structs static
@ 2005-02-18 23:56 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-02-18 23:56 UTC (permalink / raw)
To: jgarzik, paulus; +Cc: linux-ppp, linux-net, linux-kernel
This patch makes two needlessly global structs static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/net/ppp_deflate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.11-rc3-mm2-full/drivers/net/ppp_deflate.c.old 2005-02-16 18:06:29.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/net/ppp_deflate.c 2005-02-16 18:06:45.000000000 +0100
@@ -600,7 +600,7 @@
/*
* Procedures exported to if_ppp.c.
*/
-struct compressor ppp_deflate = {
+static struct compressor ppp_deflate = {
.compress_proto = CI_DEFLATE,
.comp_alloc = z_comp_alloc,
.comp_free = z_comp_free,
@@ -618,7 +618,7 @@
.owner = THIS_MODULE
};
-struct compressor ppp_deflate_draft = {
+static struct compressor ppp_deflate_draft = {
.compress_proto = CI_DEFLATE_DRAFT,
.comp_alloc = z_comp_alloc,
.comp_free = z_comp_free,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-18 23:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-18 23:56 [2.6 patch] drivers/net/ppp_deflate.c: make 2 structs 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).