'curr_language' argument to 'lang'; use in body.
+2011-02-22 Tom Tromey <tromey@redhat.com>
+
+ * language.c (language_class_name_from_physname): Rename
+ 'curr_language' argument to 'lang'; use in body.
+
2011-02-22 Michael Snyder <msnyder@vmware.com>
* cli/cli-utils.c (number_is_in_list): Check for zero return.
/* Return class name from physname or NULL. */
char *
-language_class_name_from_physname (const struct language_defn *curr_language,
+language_class_name_from_physname (const struct language_defn *lang,
const char *physname)
{
- if (current_language != NULL
- && current_language->la_class_name_from_physname)
- return current_language->la_class_name_from_physname (physname);
+ if (lang != NULL && lang->la_class_name_from_physname)
+ return lang->la_class_name_from_physname (physname);
return NULL;
}