/* jfs.c - JFS. */
/*
* GRUB -- GRand Unified Bootloader
- * Copyright (C) 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2004, 2005 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
.next = 0
};
-#ifdef GRUB_UTIL
-void
-grub_jfs_init (void)
-{
- grub_fs_register (&grub_jfs_fs);
-}
-
-void
-grub_jfs_fini (void)
-{
- grub_fs_unregister (&grub_jfs_fs);
-}
-#else /* ! GRUB_UTIL */
-GRUB_MOD_INIT
+GRUB_MOD_INIT(jfs)
{
grub_fs_register (&grub_jfs_fs);
+#ifndef GRUB_UTIL
my_mod = mod;
+#endif
}
-GRUB_MOD_FINI
+GRUB_MOD_FINI(jfs)
{
grub_fs_unregister (&grub_jfs_fs);
}
-#endif /* ! GRUB_UTIL */