/[grub]/grub2/partmap/amiga.c
ViewVC logotype

Diff of /grub2/partmap/amiga.c

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

revision 1.3 by okuji, Thu Aug 18 03:14:39 2005 UTC revision 1.4 by marco_g, Sun Nov 13 15:47:09 2005 UTC
# Line 1  Line 1 
1  /* amiga.c - Read amiga partition tables (RDB).  */  /* amiga.c - Read amiga partition tables (RDB).  */
2  /*  /*
3   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
4   *  Copyright (C) 2002, 2004  Free Software Foundation, Inc.   *  Copyright (C) 2002, 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 211  static struct grub_partition_map grub_am Line 211  static struct grub_partition_map grub_am
211      .get_name = amiga_partition_map_get_name      .get_name = amiga_partition_map_get_name
212    };    };
213    
214  #ifdef GRUB_UTIL  GRUB_MOD_INIT(amiga_partition_map)
 void  
 grub_amiga_partition_map_init (void)  
 {  
   grub_partition_map_register (&grub_amiga_partition_map);  
 }  
   
 void  
 grub_amiga_partition_map_fini (void)  
 {  
   grub_partition_map_unregister (&grub_amiga_partition_map);  
 }  
 #else  
 GRUB_MOD_INIT  
215  {  {
216    grub_partition_map_register (&grub_amiga_partition_map);    grub_partition_map_register (&grub_amiga_partition_map);
217    #ifndef GRUB_UTIL
218    my_mod = mod;    my_mod = mod;
219    #endif
220  }  }
221    
222  GRUB_MOD_FINI  GRUB_MOD_FINI(amiga_partition_map)
223  {  {
224    grub_partition_map_unregister (&grub_amiga_partition_map);    grub_partition_map_unregister (&grub_amiga_partition_map);
225  }  }
 #endif  

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

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