/[grub]/grub2/commands/cmp.c
ViewVC logotype

Diff of /grub2/commands/cmp.c

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

revision 1.3 by subdino, Sat Jul 9 16:29:02 2005 UTC revision 1.4 by okuji, Sun Jul 17 20:26:07 2005 UTC
# Line 1  Line 1 
1  /* cmd.c - command to cmp an operating system */  /* cmd.c - command to cmp an operating system */
2  /*  /*
3   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
4   *  Copyright (C) 2003  Free Software Foundation, Inc.   *  Copyright (C) 2003,2005  Free Software Foundation, Inc.
5   *   *
6   *  GRUB is free software; you can redistribute it and/or modify   *  GRUB 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 106  void Line 106  void
106  grub_cmp_init (void)  grub_cmp_init (void)
107  {  {
108    grub_register_command ("cmp", grub_cmd_cmp, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("cmp", grub_cmd_cmp, GRUB_COMMAND_FLAG_BOTH,
109                           "cmp FILE1 FILE2", "Compare two files", 0);                           "cmp FILE1 FILE2", "Compare two files.", 0);
110  }  }
111    
112  void  void
# Line 117  grub_cmp_fini (void) Line 117  grub_cmp_fini (void)
117  #else /* ! GRUB_UTIL */  #else /* ! GRUB_UTIL */
118  GRUB_MOD_INIT  GRUB_MOD_INIT
119  {  {
120    (void)mod;                    /* To stop warning. */    (void) mod;                   /* To stop warning. */
121    grub_register_command ("cmp", grub_cmd_cmp, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("cmp", grub_cmd_cmp, GRUB_COMMAND_FLAG_BOTH,
122                           "cmp FILE1 FILE2", "Compare two files", 0);                           "cmp FILE1 FILE2", "Compare two files.", 0);
123  }  }
124    
125  GRUB_MOD_FINI  GRUB_MOD_FINI

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