add protection to headers

This commit is contained in:
Chris Cromer 2021-06-19 20:23:49 -04:00
parent a1febd2f68
commit 819b618e0f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#ifndef _MYSHELLIN_LOOP
#define _MYSHELLIN_LOOP
void remove_new_line(char *line); void remove_new_line(char *line);
void print_input_line(); void print_input_line();
void loop(); void loop();
#endif

View File

@ -1 +1,4 @@
#ifndef _MYSHELLIN_USER
#define _MYSHELLIN_USER
char *get_user(); char *get_user();
#endif