summaryrefslogtreecommitdiff
path: root/lib/libiniparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libiniparser.c')
-rw-r--r--lib/libiniparser.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/libiniparser.c b/lib/libiniparser.c
index 898f57f..ba70c08 100644
--- a/lib/libiniparser.c
+++ b/lib/libiniparser.c
@@ -316,28 +316,6 @@ int iniparser_getint(dictionary * d, const char * key, int notfound)
/*-------------------------------------------------------------------------*/
/**
- @brief Get the string associated to a key, convert to a double
- @param d Dictionary to search
- @param key Key string to look for
- @param notfound Value to return in case of error
- @return double
-
- This function queries a dictionary for a key. A key as read from an
- ini file is given as "section:key". If the key cannot be found,
- the notfound value is returned.
- */
-/*--------------------------------------------------------------------------*/
-double iniparser_getdouble(dictionary * d, char * key, double notfound)
-{
- char * str ;
-
- str = iniparser_getstring(d, key, INI_INVALID_KEY);
- if (str==INI_INVALID_KEY) return notfound ;
- return atof(str);
-}
-
-/*-------------------------------------------------------------------------*/
-/**
@brief Get the string associated to a key, convert to a boolean
@param d Dictionary to search
@param key Key string to look for