patch-2.3.99-pre1 linux/fs/nls/nls_iso8859-14.c
Next file: linux/fs/nls/nls_iso8859-15.c
Previous file: linux/fs/nls/nls_iso8859-1.c
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
Mon Mar 13 10:23:36 2000
- Orig file:
v2.3.51/linux/fs/nls/nls_iso8859-14.c
- Orig date:
Wed Dec 8 14:11:27 1999
diff -u --recursive --new-file v2.3.51/linux/fs/nls/nls_iso8859-14.c linux/fs/nls/nls_iso8859-14.c
@@ -291,46 +291,27 @@
0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xaf, /* 0xf8-0xff */
};
-
-static void inc_use_count(void)
-{
- MOD_INC_USE_COUNT;
-}
-
-static void dec_use_count(void)
-{
- MOD_DEC_USE_COUNT;
-}
-
static struct nls_table table = {
"iso8859-14",
page_uni2charset,
charset2uni,
charset2lower,
charset2upper,
- inc_use_count,
- dec_use_count,
- NULL
+ THIS_MODULE,
};
-int init_nls_iso8859_14(void)
+static int __init init_nls_iso8859_14(void)
{
return register_nls(&table);
}
-#ifdef MODULE
-int init_module(void)
+static void __exit exit_nls_iso8859_14(void)
{
- return init_nls_iso8859_14();
-}
-
-
-void cleanup_module(void)
-{
unregister_nls(&table);
- return;
}
-#endif
+
+module_init(init_nls_iso8859_14)
+module_exit(exit_nls_iso8859_14)
/*
* Overrides for Emacs so that we follow Linus's tabbing style.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)