summaryrefslogtreecommitdiff
path: root/gcc/ada/adadecode.c
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-22 15:13:23 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-22 15:13:23 +0000
commit40ed870090215fbedef46c2176763bf273f6e148 (patch)
tree65d7f0e739dcdf60e4b2300d57a90316c6f89435 /gcc/ada/adadecode.c
parent6b64c28e44627c234ce9383b632c5f5a13364790 (diff)
downloadgcc-40ed870090215fbedef46c2176763bf273f6e148.tar.gz
2009-07-22 Ed Falis <falis@adacore.com>
* s-vxwext-kernel.adb, s-vxwext-kernel.ads: Replace use of taskStop with taskSuspend. 2009-07-22 Arnaud Charlet <charlet@adacore.com> * adadecode.c: Make this file compilable outside of GCC. 2009-07-22 Thomas Quinot <quinot@adacore.com> * g-socket.adb, g-socket.ads (Check_Selector): Make sure that (partially) default-initialized socket sets are handled properly by clearing their Set component. 2009-07-22 Bob Duff <duff@adacore.com> * gnat_ugn.texi: Clarify the -gnatVx (validity checking) switches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149939 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adadecode.c')
-rw-r--r--gcc/ada/adadecode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/adadecode.c b/gcc/ada/adadecode.c
index a6b528b1c8e..86216fcfe7d 100644
--- a/gcc/ada/adadecode.c
+++ b/gcc/ada/adadecode.c
@@ -33,6 +33,7 @@
#include "config.h"
#include "system.h"
#else
+#include <string.h>
#include <stdio.h>
#include <ctype.h>
#define ISDIGIT(c) isdigit(c)
@@ -324,6 +325,7 @@ __gnat_decode (const char *coded_name, char *ada_name, int verbose)
}
}
+#ifdef IN_GCC
char *
ada_demangle (const char *coded_name)
{
@@ -332,6 +334,7 @@ ada_demangle (const char *coded_name)
__gnat_decode (coded_name, ada_name, 0);
return xstrdup (ada_name);
}
+#endif
void
get_encoding (const char *coded_name, char *encoding)