From d29c929e444d69ea7d4ce146f67f4c8df36baa95 Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Thu, 25 Oct 2018 12:38:34 +0300 Subject: Don't forward declare enumerations --- src/dblayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dblayer.h') diff --git a/src/dblayer.h b/src/dblayer.h index c99f143..94ef7ea 100644 --- a/src/dblayer.h +++ b/src/dblayer.h @@ -19,7 +19,6 @@ #include "actions.h" -typedef enum SqlErrors SqlError; enum SqlErrors { SQL_NO_ERR = 0, SQL_ERR_NO_DB_FILE, @@ -28,6 +27,7 @@ enum SqlErrors { SQL_CONFIG_PATH_EXISTS, SQL_ERR_PRIMARY_REDEFINITION }; +typedef enum SqlErrors SqlError; typedef struct DBstruct DB; struct DBstruct { -- cgit v1.2.3