1 |
/* jfs.c - JFS. */ |
/* jfs.c - JFS. */ |
2 |
/* |
/* |
3 |
* GRUB -- GRand Unified Bootloader |
* GRUB -- GRand Unified Bootloader |
4 |
* Copyright (C) 2004 Free Software Foundation, Inc. |
* Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
5 |
* |
* |
6 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
7 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
870 |
.next = 0 |
.next = 0 |
871 |
}; |
}; |
872 |
|
|
873 |
#ifdef GRUB_UTIL |
GRUB_MOD_INIT(jfs) |
|
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 |
|
874 |
{ |
{ |
875 |
grub_fs_register (&grub_jfs_fs); |
grub_fs_register (&grub_jfs_fs); |
876 |
|
#ifndef GRUB_UTIL |
877 |
my_mod = mod; |
my_mod = mod; |
878 |
|
#endif |
879 |
} |
} |
880 |
|
|
881 |
GRUB_MOD_FINI |
GRUB_MOD_FINI(jfs) |
882 |
{ |
{ |
883 |
grub_fs_unregister (&grub_jfs_fs); |
grub_fs_unregister (&grub_jfs_fs); |
884 |
} |
} |
|
#endif /* ! GRUB_UTIL */ |
|