Commit 4b1dbb7f authored by Kamil Rytarowski's avatar Kamil Rytarowski Committed by Jean-Baptiste Kempf

config: Rename strtoi() to vlc_strtoi()

strtoi(3) is a function in the Standard C Library of NetBSD.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 41caaa08
......@@ -138,7 +138,7 @@ static FILE *config_OpenConfigFile( vlc_object_t *p_obj )
}
static int64_t strtoi (const char *str)
static int64_t vlc_strtoi (const char *str)
{
char *end;
long long l;
......@@ -223,7 +223,7 @@ int config_LoadConfigFile( vlc_object_t *p_this )
int64_t l;
errno = 0;
l = strtoi (psz_option_value);
l = vlc_strtoi (psz_option_value);
if ((l > item->max.i) || (l < item->min.i))
errno = ERANGE;
if (errno)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment