From 104ee954f4ebfcb00868d3bc642b21d55f1c864a Mon Sep 17 00:00:00 2001 From: gandc Date: Thu, 27 Feb 2025 20:32:33 +0300 Subject: [PATCH] remove old files --- src/error_handling.c | 11 ----------- src/error_handling.h | 5 ----- src/logging.c | 11 ----------- src/logging.h | 5 ----- 4 files changed, 32 deletions(-) delete mode 100644 src/error_handling.c delete mode 100644 src/error_handling.h delete mode 100644 src/logging.c delete mode 100644 src/logging.h diff --git a/src/error_handling.c b/src/error_handling.c deleted file mode 100644 index 8abf375..0000000 --- a/src/error_handling.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "error_handling.h" -#include - -FILE *open_error_file(const char *path) { - FILE *file = fopen(path, "w"); - if (!file) { - fprintf(stderr, "Error: Cannot open error file %s\n", path); - return NULL; - } - return file; -} \ No newline at end of file diff --git a/src/error_handling.h b/src/error_handling.h deleted file mode 100644 index 281c628..0000000 --- a/src/error_handling.h +++ /dev/null @@ -1,5 +0,0 @@ -#ifndef ERROR_HANDLING_H -#define ERROR_HANDLING_H -#include -FILE *open_error_file(const char *path); -#endif \ No newline at end of file diff --git a/src/logging.c b/src/logging.c deleted file mode 100644 index b30e807..0000000 --- a/src/logging.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "logging.h" -#include - -FILE *open_log_file(const char *path) { - FILE *file = fopen(path, "w"); - if (!file) { - fprintf(stderr, "Error: Cannot open log file %s\n", path); - return NULL; - } - return file; -} \ No newline at end of file diff --git a/src/logging.h b/src/logging.h deleted file mode 100644 index bde64f3..0000000 --- a/src/logging.h +++ /dev/null @@ -1,5 +0,0 @@ -#ifndef LOGGING_H -#define LOGGING_H -#include -FILE *open_log_file(const char *path); -#endif \ No newline at end of file