diff --git a/CMakeLists.txt b/CMakeLists.txt index a2d04ab..46280a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ endif() add_executable(FileEncryptor src/main.c src/macros.h - src/input.h src/input.c + src/dinput.h src/dinput.c src/Encryptors/xorencryptor.h src/Encryptors/xorencryptor.c src/Customs/cstmio.h src/Customs/cstmio.c src/Customs/cstmstr.h src/Customs/cstmstr.c) \ No newline at end of file diff --git a/src/input.c b/src/dinput.c similarity index 98% rename from src/input.c rename to src/dinput.c index 4a848bc..825eadf 100644 --- a/src/input.c +++ b/src/dinput.c @@ -1,4 +1,4 @@ -#include "input.h" +#include "dinput.h" #include "macros.h" #include "Customs/cstmio.h" #include "Customs/cstmstr.h" diff --git a/src/input.h b/src/dinput.h similarity index 79% rename from src/input.h rename to src/dinput.h index cd5f7e3..08d06d2 100644 --- a/src/input.h +++ b/src/dinput.h @@ -1,5 +1,5 @@ -#ifndef _INPUT_H -#define _INPUT_H +#ifndef _DINPUT_H +#define _DINPUT_H char* input_path(char* forPath, int pathLength, const char* fileMode); int input_encrypt_mode(int* encMode); @@ -7,4 +7,4 @@ int input_key_mode(int* keyMode); char* input_key(char* forKey, int size); int input_exit_symbol(int* ch); -#endif // _INPUT_H \ No newline at end of file +#endif // _DINPUT_H \ No newline at end of file diff --git a/src/macros.h b/src/macros.h index 7472d29..f1393ad 100644 --- a/src/macros.h +++ b/src/macros.h @@ -1,5 +1,5 @@ -#ifndef _macros_H -#define _macros_H +#ifndef _MACROS_H +#define _MACROS_H #include "Customs/cstmio.h" @@ -28,4 +28,4 @@ #define INPUT_KEY_MESSAGE "Input the encryption key:\n" #define INPUT_EXIT_SYMBOL_MESSAGE "Input a symbol: " -#endif // _macros_H +#endif // _MACROS_H diff --git a/src/main.c b/src/main.c index 3a0a26f..8afd85f 100644 --- a/src/main.c +++ b/src/main.c @@ -1,7 +1,7 @@ #include #include -#include "input.h" +#include "dinput.h" #include "macros.h" #include "Customs/cstmio.h" #include "Customs/cstmstr.h"