merge from gcc
This commit is contained in:
parent
84c84759cb
commit
758d77bec1
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-03-07 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
|
||||||
|
prototypes.
|
||||||
|
(main): Initialize style.
|
||||||
|
|
||||||
2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
|
2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
|
||||||
|
|
||||||
* cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
|
* cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
|
||||||
|
|
|
@ -26,6 +26,12 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "libiberty.h"
|
#include "libiberty.h"
|
||||||
#include "demangle.h"
|
#include "demangle.h"
|
||||||
|
#ifdef HAVE_STRING_H
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
|
#if HAVE_STDLIB_H
|
||||||
|
# include <stdlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct line
|
struct line
|
||||||
{
|
{
|
||||||
|
@ -119,7 +125,7 @@ main(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
{
|
{
|
||||||
enum demangling_styles style;
|
enum demangling_styles style = auto_demangling;
|
||||||
int no_params;
|
int no_params;
|
||||||
int is_v3_ctor;
|
int is_v3_ctor;
|
||||||
int is_v3_dtor;
|
int is_v3_dtor;
|
||||||
|
|
Loading…
Reference in a new issue