@@ -16,14 +16,17 @@ static inline void mput_char(char c, unsigned int num)
16
16
putchar (c );
17
17
}
18
18
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 );
23
25
/* 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 );
28
31
29
32
#endif /* HELP_H */
0 commit comments