|
From: <sv...@va...> - 2005-11-11 13:46:54
|
Author: tom
Date: 2005-11-11 13:46:52 +0000 (Fri, 11 Nov 2005)
New Revision: 5086
Log:
Fix compiler warnings.
Modified:
trunk/coregrind/m_demangle/cp-demangle.c
Modified: trunk/coregrind/m_demangle/cp-demangle.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_demangle/cp-demangle.c 2005-11-11 13:13:01 UTC (rev=
5085)
+++ trunk/coregrind/m_demangle/cp-demangle.c 2005-11-11 13:46:52 UTC (rev=
5086)
@@ -235,6 +235,14 @@
PARAMS ((demangling_t));
static string_list_t result_pop
PARAMS ((demangling_t));
+static int result_get_caret
+ PARAMS ((demangling_t));
+static void result_set_caret
+ PARAMS ((demangling_t, int));
+static void result_shift_caret
+ PARAMS ((demangling_t, int));
+static int result_previous_char_is_space
+ PARAMS ((demangling_t));
static int substitution_start
PARAMS ((demangling_t));
static status_t substitution_add
@@ -3890,11 +3898,11 @@
=20
#endif /* IN_LIBGCC2 */
=20
+#if 0
=20
/* Demangle NAME in the G++ V3 ABI demangling style, and return either
zero, indicating that some error occurred, or a demangling_t
holding the results. */
-__attribute__((unused))
static demangling_t
demangle_v3_with_details (name)
const char *name;
@@ -3940,7 +3948,6 @@
- '1' if NAME is a complete object constructor,
- '2' if NAME is a base object constructor, or
- '3' if NAME is a complete object allocating constructor. */
-/*
enum gnu_v3_ctor_kinds
is_gnu_v3_mangled_ctor (name)
const char *name;
@@ -3956,7 +3963,6 @@
else
return 0;
}
-*/
=20
=20
/* Return non-zero iff NAME is the mangled form of a destructor name
@@ -3964,7 +3970,6 @@
- '0' if NAME is a deleting destructor,
- '1' if NAME is a complete object destructor, or
- '2' if NAME is a base object destructor. */
-/*
enum gnu_v3_dtor_kinds
is_gnu_v3_mangled_dtor (name)
const char *name;
@@ -3980,8 +3985,9 @@
else
return 0;
}
-*/
=20
+#endif
+
#ifdef STANDALONE_DEMANGLER
=20
#include "getopt.h"
|