X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fciniparser%2Fciniparser.h;h=b61c1d6eaa48650dbe70c9de3a35c9abd0ac3cd0;hp=f61b357627fe50582d7a212995c312e0033b4418;hb=HEAD;hpb=28f7279805d3c9378362003031ae537a32d9bec4 diff --git a/ccan/ciniparser/ciniparser.h b/ccan/ciniparser/ciniparser.h index f61b3576..b61c1d6e 100644 --- a/ccan/ciniparser/ciniparser.h +++ b/ccan/ciniparser/ciniparser.h @@ -151,7 +151,7 @@ int ciniparser_getint(dictionary *d, const char *key, int notfound); * ini file is given as "section:key". If the key cannot be found, * the notfound value is returned. */ -double ciniparser_getdouble(dictionary *d, char *key, double notfound); +double ciniparser_getdouble(dictionary *d, const char *key, double notfound); /** * @brief Get the string associated to a key, convert to a boolean