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

Diff of /grub2/fs/iso9660.c

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

revision 1.1 by marco_g, Mon Nov 1 16:14:16 2004 UTC revision 1.2 by marco_g, Sun Nov 13 15:47:09 2005 UTC
# Line 2  Line 2 
2     SUSP, Rock Ridge.  */     SUSP, Rock Ridge.  */
3  /*  /*
4   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
5   *  Copyright (C) 2004  Free Software Foundation, Inc.   *  Copyright (C) 2004, 2005  Free Software Foundation, Inc.
6   *   *
7   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
8   *  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 764  static struct grub_fs grub_iso9660_fs = Line 764  static struct grub_fs grub_iso9660_fs =
764      .next = 0      .next = 0
765    };    };
766    
767  #ifdef GRUB_UTIL  GRUB_MOD_INIT(iso9660)
 void  
 grub_iso9660_init (void)  
 {  
   grub_fs_register (&grub_iso9660_fs);  
 }  
   
 void  
 grub_iso9660_fini (void)  
 {  
   grub_fs_unregister (&grub_iso9660_fs);  
 }  
 #else /* ! GRUB_UTIL */  
 GRUB_MOD_INIT  
768  {  {
769    grub_fs_register (&grub_iso9660_fs);    grub_fs_register (&grub_iso9660_fs);
770    #ifndef GRUB_UTIL
771    my_mod = mod;    my_mod = mod;
772    #endif
773  }  }
774    
775  GRUB_MOD_FINI  GRUB_MOD_FINI(iso9660)
776  {  {
777    grub_fs_unregister (&grub_iso9660_fs);    grub_fs_unregister (&grub_iso9660_fs);
778  }  }
 #endif /* ! GRUB_UTIL */  

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

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