remove old files

This commit is contained in:
gandc 2025-02-27 20:32:33 +03:00
parent 1216c17b87
commit 104ee954f4
Signed by: gandc
GPG Key ID: 9F77B03D43C42CB4
4 changed files with 0 additions and 32 deletions

View File

@ -1,11 +0,0 @@
#include "error_handling.h"
#include <stdio.h>
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;
}

View File

@ -1,5 +0,0 @@
#ifndef ERROR_HANDLING_H
#define ERROR_HANDLING_H
#include <stdio.h>
FILE *open_error_file(const char *path);
#endif

View File

@ -1,11 +0,0 @@
#include "logging.h"
#include <stdio.h>
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;
}

View File

@ -1,5 +0,0 @@
#ifndef LOGGING_H
#define LOGGING_H
#include <stdio.h>
FILE *open_log_file(const char *path);
#endif