]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/gdb-demangle.c
Rename demangle.c to gdb-demangle.c, and some cleanup
[thirdparty/binutils-gdb.git] / gdb / gdb-demangle.c
similarity index 99%
rename from gdb/demangle.c
rename to gdb/gdb-demangle.c
index d8b03104d780f799ca62389454075b24ce95c5c0..2ed64d4e5b3caccac7801811fd572f73367e05af 100644 (file)
@@ -149,7 +149,7 @@ static char cplus_markers[] = {'$', '.', '\0'};
 
 /* See documentation in gdb-demangle.h.  */
 
-int
+bool
 is_cplus_marker (int c)
 {
   return c && strchr (cplus_markers, c) != NULL;
@@ -213,7 +213,7 @@ demangle_command (const char *args, int from_tty)
 }
 
 void
-_initialize_demangler (void)
+_initialize_gdb_demangle (void)
 {
   int i, ndems;