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

Diff of /grub2/fs/jfs.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  /* jfs.c - JFS.  */  /* jfs.c - JFS.  */
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 870  static struct grub_fs grub_jfs_fs = Line 870  static struct grub_fs grub_jfs_fs =
870      .next = 0      .next = 0
871    };    };
872    
873  #ifdef GRUB_UTIL  GRUB_MOD_INIT(jfs)
 void  
 grub_jfs_init (void)  
 {  
   grub_fs_register (&grub_jfs_fs);  
 }  
   
 void  
 grub_jfs_fini (void)  
 {  
   grub_fs_unregister (&grub_jfs_fs);  
 }  
 #else /* ! GRUB_UTIL */  
 GRUB_MOD_INIT  
874  {  {
875    grub_fs_register (&grub_jfs_fs);    grub_fs_register (&grub_jfs_fs);
876    #ifndef GRUB_UTIL
877    my_mod = mod;    my_mod = mod;
878    #endif
879  }  }
880    
881  GRUB_MOD_FINI  GRUB_MOD_FINI(jfs)
882  {  {
883    grub_fs_unregister (&grub_jfs_fs);    grub_fs_unregister (&grub_jfs_fs);
884  }  }
 #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