/* Register a preference with a file name (string) value.  */
void prefs_register_filename_preference(module_t *module, const char *name, const char *title, const char *description, const char **var)
/* Register a preference with a file name (string) value.  */
void prefs_register_filename_preference(module_t *module, const char *name, const char *title, const char *description, const char **var)
{
DIAG_OFF(cast-qual)
    register_string_like_preference(module, name, title, description,
                                    (char **)var, PREF_FILENAME, NULL, FALSE);
DIAG_ON(cast-qual)
}