Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit 72d273dae8f33af65524a27077bd3ef95086b218 Author: Raniconduh <clagv.randomgames@gmail.com> Date: Thu Nov 18 20:29:30 2021 +0000 fixed header guards diff --git a/include/commands.h b/include/commands.h index 78d7810..ad8e314 100644 --- a/include/commands.h +++ b/include/commands.h @@ -17 +17 @@  #ifndef COMMANDS_H  #define COMMANDS_H -#endif    void ext_open(char *);  long search_file(long, char *);   +#endif /* COMMANDS_H */ diff --git a/include/dir.h b/include/dir.h index b3d5ff7..bcf4c3b 100644 --- a/include/dir.h +++ b/include/dir.h @@ -16 +15 @@  #ifndef DIR_H  #define DIR_H -#endif    #include <stdbool.h>   @@ -403 +395 @@ extern char * cwd;    extern bool show_dot_files;  extern bool permission_denied; + +#endif /* DIR_H */ diff --git a/include/io.h b/include/io.h index 1d3cf0c..4acf2d5 100644 --- a/include/io.h +++ b/include/io.h @@ -16 +15 @@  #ifndef IO_H  #define IO_H -#endif    #include <stdbool.h>  #include <stdio.h> @@ -403 +395 @@ void mark_all(void);  extern bool print_path;  extern int stdout_back;  extern size_t n_marked_files; + +#endif /* IO_H */ diff --git a/include/main.h b/include/main.h index 1de18af..900331c 100644 --- a/include/main.h +++ b/include/main.h @@ -16 +16 @@  #ifndef MAIN_H  #define MAIN_H -#endif    #define LAST_F (n_dir_entries > ((unsigned)LINES - 6) ? ((unsigned)LINES - 6) : n_dir_entries)   +#endif /* MAIN_H */