summaryrefslogtreecommitdiffstats
path: root/ini
diff options
context:
space:
mode:
Diffstat (limited to 'ini')
-rw-r--r--ini/elapi_ini.c4
-rw-r--r--ini/elapi_ini.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/ini/elapi_ini.c b/ini/elapi_ini.c
index acea402..ed6b4c7 100644
--- a/ini/elapi_ini.c
+++ b/ini/elapi_ini.c
@@ -590,14 +590,12 @@ int get_value_from_config(void *value,
int type,
char *section,
char *name,
- struct collection_item *ini_config,
- int &found)
+ struct collection_item *ini_config)
{
int error = EOK;
struct collection_item *section_handle = (struct collection_item *)(NULL);
char *to_find;
char default_section[] = INI_DEFAULT_SECTION;
- struct val_extruct pass_in;
DEBUG_STRING("get_value_from_config", "Entry");
diff --git a/ini/elapi_ini.h b/ini/elapi_ini.h
index 450105b..10460f7 100644
--- a/ini/elapi_ini.h
+++ b/ini/elapi_ini.h
@@ -19,8 +19,7 @@ int get_value_from_config(void *value, /* Pointer to th
int type, /* Expected type of the result */
char *section, /* Section to search in */
char *name, /* Value to look for */
- struct collection_item *ini_config, /* Config handle */
- int *found); /* Will update the provided location with 1 in the property was found. */
+ struct collection_item *ini_config); /* Config handle */
/* read ini file and create collection out of it factoring in the env variables */
/* int ini_to_collection_env(char *filename, struct collection_item **ini_config, char *ENV prefix); */