From 307361a5acf71648d0f0b874610f501d62a69fe5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 19 Aug 2007 18:47:09 +0000 Subject: [PATCH] What is add_password_inner supposed to be, except a reinvention of add_string_inner? --- include/vlc_configuration.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/vlc_configuration.h b/include/vlc_configuration.h index 6ced4a5c2f..dc52c37939 100644 --- a/include/vlc_configuration.h +++ b/include/vlc_configuration.h @@ -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 ) -- 2.39.2