@@ -16,14 +16,17 @@ static inline void mput_char(char c, unsigned int num)
1616 putchar (c );
1717}
1818
19- void load_command_list (const char * prefix ,
20- struct cmdnames * main_cmds ,
21- struct cmdnames * other_cmds );
22- void add_cmdname (struct cmdnames * cmds , const char * name , int len );
19+ extern void list_common_cmds_help (void );
20+ extern const char * help_unknown_cmd (const char * cmd );
21+ extern void load_command_list (const char * prefix ,
22+ struct cmdnames * main_cmds ,
23+ struct cmdnames * other_cmds );
24+ extern void add_cmdname (struct cmdnames * cmds , const char * name , int len );
2325/* Here we require that excludes is a sorted list. */
24- void exclude_cmds (struct cmdnames * cmds , struct cmdnames * excludes );
25- int is_in_cmdlist (struct cmdnames * c , const char * s );
26- void list_commands (const char * title , struct cmdnames * main_cmds ,
27- struct cmdnames * other_cmds );
26+ extern void exclude_cmds (struct cmdnames * cmds , struct cmdnames * excludes );
27+ extern int is_in_cmdlist (struct cmdnames * cmds , const char * name );
28+ extern void list_commands (const char * title ,
29+ struct cmdnames * main_cmds ,
30+ struct cmdnames * other_cmds );
2831
2932#endif /* HELP_H */
0 commit comments