aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorM.Gergő2020-05-28 01:59:35 +0200
committerM.Gergő2020-05-28 01:59:35 +0200
commit579773bfcec4939c22b638ac39ea2b03861f511d (patch)
tree465641e3cce941e00a292349a53bafae8c175451 /src
parent4e61cb8382b91b2639461a543d33207d6f417208 (diff)
downloadlightconfini-master.tar.gz
lightconfini-master.zip
Header updateHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/inirw_internal.h4
-rw-r--r--src/lightconfini.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/inirw_internal.h b/src/inirw_internal.h
index 8bab129..3b67b14 100644
--- a/src/inirw_internal.h
+++ b/src/inirw_internal.h
@@ -1,5 +1,5 @@
-#ifndef INI_READ_H_INCLUDED
-#define INI_READ_H_INCLUDED
+#ifndef INI_RWINT_H_INCLUDED
+#define INI_RWINT_H_INCLUDED
#include <stdint.h> /* int64_t*/
#include "lightconfini.h"
diff --git a/src/lightconfini.h b/src/lightconfini.h
index 44929db..66f17f1 100644
--- a/src/lightconfini.h
+++ b/src/lightconfini.h
@@ -27,11 +27,11 @@ typedef struct lcini_data {
struct lcini_data *next;
} lcini_data;
-
+typedef enum lcini_shortretType{lcini_shortretOK, lcini_shortretERROR, lcini_shortretEMPTY} lcini_shortretType;
typedef struct lcini_shortret{
char *ret;
int retlen;
- enum retType{lcini_shortretOK, lcini_shortretERROR, lcini_shortretEMPTY} retType;
+ lcini_shortretType retType;
} lcini_shortret;
/* Ha maga függvény van átpakolva, nevestül, testestül */