Refactored how operations are carried out
This commit is contained in:
@@ -40,11 +40,6 @@
|
||||
#define IO_ERROR_READ "read"
|
||||
#define IO_ERROR_WRITE "write to"
|
||||
|
||||
void io_error(const char* error, const char* type, const char* name);
|
||||
void io_error_2(const char* error, const char* type, const char* name, const char* name2);
|
||||
void io_error_3(const char* error, const char* type, const char* name, const char* name2, const char* name3);
|
||||
|
||||
|
||||
extern int return_value;
|
||||
|
||||
struct string_array{
|
||||
@@ -53,7 +48,11 @@ struct string_array{
|
||||
};
|
||||
void free_string_array(struct string_array* s);
|
||||
|
||||
void io_error(const char* error, const char* type, const char* name);
|
||||
void io_error_2(const char* error, const char* type, const char* name, const char* name2);
|
||||
void io_error_3(const char* error, const char* type, const char* name, const char* name2, const char* name3);
|
||||
void mem_error(void);
|
||||
|
||||
_Noreturn void version(void);
|
||||
_Noreturn void usage(int exit_val);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user