diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/demangle.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/demangle.c')
-rw-r--r-- | gdb/demangle.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/gdb/demangle.c b/gdb/demangle.c index b0fd138..b4a76a1 100644 --- a/gdb/demangle.c +++ b/gdb/demangle.c @@ -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; |