Protoization.

This commit is contained in:
Kevin Buettner
2000-07-30 01:48:28 +00:00
parent 29e6d33b03
commit fba45db2fa
284 changed files with 5720 additions and 13265 deletions

View File

@@ -120,10 +120,7 @@ static void set_demangling_command (char *, int, struct cmd_list_element *);
a malloc'd string, even if it is a null-string. */
static void
set_demangling_command (ignore, from_tty, c)
char *ignore;
int from_tty;
struct cmd_list_element *c;
set_demangling_command (char *ignore, int from_tty, struct cmd_list_element *c)
{
const struct demangler *dem;
@@ -184,8 +181,7 @@ set_demangling_command (ignore, from_tty, c)
/* Fake a "set demangle-style" command. */
void
set_demangling_style (style)
char *style;
set_demangling_style (char *style)
{
if (current_demangling_style_string != NULL)
{
@@ -215,14 +211,13 @@ static char cplus_markers[] =
{CPLUS_MARKER, '.', '$', '\0'};
int
is_cplus_marker (c)
int c;
is_cplus_marker (int c)
{
return c && strchr (cplus_markers, c) != NULL;
}
void
_initialize_demangler ()
_initialize_demangler (void)
{
struct cmd_list_element *set, *show;