Commit 307361a5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

What is add_password_inner supposed to be, except a reinvention of add_string_inner?

parent 8f9a8755
......@@ -264,10 +264,6 @@ VLC_EXPORT(const char *, config_GetDataDir, ( void ));
add_typename_inner( type, name, text, longtext, advc, cb ); \
p_config[i_config].value.psz = v
#define add_password_inner( type, name, text, longtext, advc, cb, v ) \
add_typename_inner( type, name, text, longtext, advc, cb ); \
p_config[i_config].value.psz = v
#define add_int_inner( type, name, text, longtext, advc, cb, v ) \
add_typename_inner( type, name, text, longtext, advc, cb ); \
p_config[i_config].value.i = v
......@@ -300,7 +296,7 @@ VLC_EXPORT(const char *, config_GetDataDir, ( void ));
add_string_inner( CONFIG_ITEM_STRING, name, text, longtext, advc, p_callback, value )
#define add_password( name, value, p_callback, text, longtext, advc ) \
add_password_inner( CONFIG_ITEM_PASSWORD, name, text, longtext, advc, p_callback, value )
add_string_inner( CONFIG_ITEM_PASSWORD, name, text, longtext, advc, p_callback, value )
#define add_file( name, value, p_callback, text, longtext, advc ) \
add_string_inner( CONFIG_ITEM_FILE, name, text, longtext, advc, p_callback, value )
......
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