/[grub]/grub2/fs/ufs.c
ViewVC logotype

Diff of /grub2/fs/ufs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by marco_g, Mon Nov 1 16:14:16 2004 UTC revision 1.3 by marco_g, Sun Nov 13 15:47:09 2005 UTC
# Line 1  Line 1 
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
# Line 668  static struct grub_fs grub_ufs_fs = Line 668  static struct grub_fs grub_ufs_fs =
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 */  

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26