aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-10-22 20:58:56 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-10-22 20:58:56 +0000
commitfc062ac6da332b5efa74673c0502dd94df1f8b58 (patch)
tree17bfff3bc8cc22093ec12bf6257df103bcc22c52 /gdb/symtab.c
parent81c0587e038d92c4ffcfb434d365c0c9af7d8eaf (diff)
downloadgdb-fc062ac6da332b5efa74673c0502dd94df1f8b58.zip
gdb-fc062ac6da332b5efa74673c0502dd94df1f8b58.tar.gz
gdb-fc062ac6da332b5efa74673c0502dd94df1f8b58.tar.bz2
* symtab.c (symbol_search_name): Minor reformatting.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 8ed6d9e..7c90c50 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -684,7 +684,9 @@ symbol_demangled_name (struct general_symbol_info *gsymbol)
linkage name of the symbol, depending on how it will be searched for.
If there is no distinct demangled name, then returns the same value
(same pointer) as SYMBOL_LINKAGE_NAME. */
-char *symbol_search_name (const struct general_symbol_info *gsymbol) {
+char *
+symbol_search_name (const struct general_symbol_info *gsymbol)
+{
if (gsymbol->language == language_ada)
return gsymbol->name;
else