standardize format
This commit is contained in:
parent
f963198fdf
commit
53e3c1e276
@ -29,5 +29,4 @@ void insert_string_array(StringArray *string_array, char *string);
|
||||
void delete_string_array(StringArray *string_array, int index);
|
||||
|
||||
void free_string_array(StringArray *string_array);
|
||||
|
||||
#endif
|
||||
|
@ -19,6 +19,8 @@
|
||||
#ifndef _MYSHELLIN_BUILTINS
|
||||
#define _MYSHELLIN_BUILTINS
|
||||
bool is_builtin(char *command);
|
||||
|
||||
void run_builtin(StringArray *string_array);
|
||||
|
||||
void exit_shell(StringArray *string_array);
|
||||
#endif
|
||||
|
@ -16,6 +16,8 @@
|
||||
#ifndef _MYSHELLIN_CONSOLE_LINE
|
||||
#define _MYSHELLIN_CONSOLE_LINE
|
||||
char *get_user();
|
||||
|
||||
char *get_working_directory();
|
||||
|
||||
void print_input_line();
|
||||
#endif
|
||||
|
@ -16,5 +16,6 @@
|
||||
#ifndef _MYSHELLIN_LOOP
|
||||
#define _MYSHELLIN_LOOP
|
||||
void remove_new_line(char *line);
|
||||
|
||||
void loop();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user