aboutsummaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@stanford.edu>2001-05-08 06:13:58 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-05-08 06:13:58 +0000
commit641b2721c4f7ee9975c059ea2ce62c104be985d3 (patch)
treecb279795efc4e5b734fb92e5aa50763824cde776 /include/demangle.h
parentee2f20b9c54f8638740fcdafecf9bdf776b734cc (diff)
downloadgcc-641b2721c4f7ee9975c059ea2ce62c104be985d3.zip
gcc-641b2721c4f7ee9975c059ea2ce62c104be985d3.tar.gz
gcc-641b2721c4f7ee9975c059ea2ce62c104be985d3.tar.bz2
cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function definition.
* cp-demangle.c (demangle_v3_with_details, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style function definition. * ternary.c: Use K+R style function definitions. Use PTR, not void *. Make arguments constant where possible. * demangle.h: Use PARAMS for all prototypes. * ternary.h: Use PARAMS for all prototypes. Use PTR, not void *. Make arguments constant where possible. From-SVN: r41910
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/demangle.h b/include/demangle.h
index 96f60d7..dc1e1f1 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -139,7 +139,8 @@ enum gnu_v3_ctor_kinds {
in the G++ V3 ABI demangling style. Specifically, return an `enum
gnu_v3_ctor_kinds' value indicating what kind of constructor
it is. */
-extern enum gnu_v3_ctor_kinds is_gnu_v3_mangled_ctor (const char *name);
+extern enum gnu_v3_ctor_kinds
+ is_gnu_v3_mangled_ctor PARAMS ((const char *name));
enum gnu_v3_dtor_kinds {
@@ -152,6 +153,7 @@ enum gnu_v3_dtor_kinds {
in the G++ V3 ABI demangling style. Specifically, return an `enum
gnu_v3_dtor_kinds' value, indicating what kind of destructor
it is. */
-extern enum gnu_v3_dtor_kinds is_gnu_v3_mangled_dtor (const char *name);
+extern enum gnu_v3_dtor_kinds
+ is_gnu_v3_mangled_dtor PARAMS ((const char *name));
#endif /* DEMANGLE_H */