* [trivial] Use __init and __exit for sctp_init and sctp_exit
@ 2002-12-10 13:25 Ravikiran G Thirumalai
0 siblings, 0 replies; only message in thread
From: Ravikiran G Thirumalai @ 2002-12-10 13:25 UTC (permalink / raw)
To: David S. Miller ; +Cc: netdev, linux-kernel
These module_init and module_exit routines should have been marked
__init and __exit like every where else I guess...
Please apply
Thanks,
Kiran
diff -ruN -X dontdiff linux-2.5.51/net/sctp/protocol.c sctp_fix-2.5.51/net/sctp/protocol.c
--- linux-2.5.51/net/sctp/protocol.c Tue Dec 10 08:16:10 2002
+++ sctp_fix-2.5.51/net/sctp/protocol.c Tue Dec 10 18:48:07 2002
@@ -598,7 +598,7 @@
}
/* Initialize the universe into something sensible. */
-int sctp_init(void)
+int __init sctp_init(void)
{
int i;
int status = 0;
@@ -751,7 +751,7 @@
}
/* Exit handler for the SCTP protocol. */
-void sctp_exit(void)
+void __exit sctp_exit(void)
{
/* BUG. This should probably do something useful like clean
* up all the remaining associations and all that memory.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-10 13:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-10 13:25 [trivial] Use __init and __exit for sctp_init and sctp_exit Ravikiran G Thirumalai
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).