aboutsummaryrefslogtreecommitdiffstats
path: root/src/dblayer.h
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-25 12:38:34 +0300
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-25 12:38:34 +0300
commitd29c929e444d69ea7d4ce146f67f4c8df36baa95 (patch)
tree7f79ce61f0826b151ee4a1108c4b307afc953d15 /src/dblayer.h
parent041274604961bc5633c70f9c3db90f46117c508e (diff)
downloadck-d29c929e444d69ea7d4ce146f67f4c8df36baa95.tar.gz
ck-d29c929e444d69ea7d4ce146f67f4c8df36baa95.tar.bz2
ck-d29c929e444d69ea7d4ce146f67f4c8df36baa95.zip
Don't forward declare enumerations
Diffstat (limited to 'src/dblayer.h')
-rw-r--r--src/dblayer.h2
1 files changed, 1 insertions, 1 deletions
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 {