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

Diff of /grub2/fs/ext2.c

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

revision 1.11 by marco_g, Mon Dec 13 17:26:17 2004 UTC revision 1.12 by marco_g, Sun Nov 13 15:47:09 2005 UTC
# Line 1  Line 1 
1  /* ext2.c - Second Extended filesystem */  /* ext2.c - Second Extended filesystem */
2  /*  /*
3   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
4   *  Copyright (C) 2003, 2004  Free Software Foundation, Inc.   *  Copyright (C) 2003, 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 633  static struct grub_fs grub_ext2_fs = Line 633  static struct grub_fs grub_ext2_fs =
633      .next = 0      .next = 0
634    };    };
635    
636  #ifdef GRUB_UTIL  GRUB_MOD_INIT(ext2)
 void  
 grub_ext2_init (void)  
 {  
   grub_fs_register (&grub_ext2_fs);  
 }  
   
 void  
 grub_ext2_fini (void)  
 {  
   grub_fs_unregister (&grub_ext2_fs);  
 }  
 #else /* ! GRUB_UTIL */  
 GRUB_MOD_INIT  
637  {  {
638    grub_fs_register (&grub_ext2_fs);    grub_fs_register (&grub_ext2_fs);
639    #ifndef GRUB_UTIL
640    my_mod = mod;    my_mod = mod;
641    #endif
642  }  }
643    
644  GRUB_MOD_FINI  GRUB_MOD_FINI(ext2)
645  {  {
646    grub_fs_unregister (&grub_ext2_fs);    grub_fs_unregister (&grub_ext2_fs);
647  }  }
 #endif /* ! GRUB_UTIL */  

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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