/[grub]/grub2/hello/hello.c
ViewVC logotype

Diff of /grub2/hello/hello.c

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

revision 1.3 by okuji, Sun Apr 4 13:46:00 2004 UTC revision 1.4 by marco_g, Sun Nov 13 15:47:09 2005 UTC
# Line 35  grub_cmd_hello (struct grub_arg_list *st Line 35  grub_cmd_hello (struct grub_arg_list *st
35    return 0;    return 0;
36  }  }
37    
38  GRUB_MOD_INIT  GRUB_MOD_INIT(hello)
39  {  {
40    (void)mod;                    /* To stop warning. */    (void)mod;                    /* To stop warning. */
41    grub_register_command ("hello", grub_cmd_hello, GRUB_COMMAND_FLAG_BOTH,    grub_register_command ("hello", grub_cmd_hello, GRUB_COMMAND_FLAG_BOTH,
42                           "hello", "Say hello", 0);                           "hello", "Say hello", 0);
43  }  }
44    
45  GRUB_MOD_FINI  GRUB_MOD_FINI(hello)
46  {  {
47    grub_unregister_command ("hello");    grub_unregister_command ("hello");
48  }  }

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