1 |
/* ufs.c - Unix File System */ |
/* ufs.c - Unix File System */ |
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 |
668 |
.next = 0 |
.next = 0 |
669 |
}; |
}; |
670 |
|
|
671 |
#ifdef GRUB_UTIL |
GRUB_MOD_INIT(ufs) |
|
void |
|
|
grub_ufs_init (void) |
|
|
{ |
|
|
grub_fs_register (&grub_ufs_fs); |
|
|
} |
|
|
|
|
|
void |
|
|
grub_ufs_fini (void) |
|
|
{ |
|
|
grub_fs_unregister (&grub_ufs_fs); |
|
|
} |
|
|
#else /* ! GRUB_UTIL */ |
|
|
GRUB_MOD_INIT |
|
672 |
{ |
{ |
673 |
grub_fs_register (&grub_ufs_fs); |
grub_fs_register (&grub_ufs_fs); |
674 |
|
#ifndef GRUB_UTIL |
675 |
my_mod = mod; |
my_mod = mod; |
676 |
|
#endif |
677 |
} |
} |
678 |
|
|
679 |
GRUB_MOD_FINI |
GRUB_MOD_FINI(ufs) |
680 |
{ |
{ |
681 |
grub_fs_unregister (&grub_ufs_fs); |
grub_fs_unregister (&grub_ufs_fs); |
682 |
} |
} |
683 |
#endif /* ! GRUB_UTIL */ |
|