changed typedef enum to enum

This commit is contained in:
Aaro Koivukangas
2025-05-10 16:56:15 +03:00
parent 33170f46c0
commit a63188d903
+2 -2
View File
@@ -1,12 +1,12 @@
#ifndef ERROR_H
#define ERROR_H
typedef enum {
enum {
VARIABLE_NULL=1,
SWITCH_NOT_MATCHED,
PARSE_ERROR,
FILE_ERROR,
ALLOC_FAILED
} error_t;
};
#endif