summaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-27 13:16:59 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-27 13:16:59 +0000
commit4c7b1e388f166871b8c8978016f97a84fd3bc87c (patch)
treefa64f6cafd780002c7a3e891c0d512ba9cabb532 /gcc/ada/adaint.h
parenta8b52821f6b4a27533903ea3cf8f0e776e844a03 (diff)
downloadgcc-4c7b1e388f166871b8c8978016f97a84fd3bc87c.tar.gz
* init.c (__gnat_error_handler): Make msg const.
* gmem.c (convert_addresses): Move declaration ... * adaint.h: ... here. * adaint.c (convert_addresses): Adapt addrs type to match prototype. * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r--gcc/ada/adaint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h
index 2b5f01a7427..d65be6d729e 100644
--- a/gcc/ada/adaint.h
+++ b/gcc/ada/adaint.h
@@ -134,6 +134,9 @@ extern void __gnat_set_binary_mode PARAMS ((int));
extern void __gnat_set_text_mode PARAMS ((int));
extern char *__gnat_ttyname PARAMS ((int));
+extern void convert_addresses PARAMS ((char *[], int,
+ void *, int *));
+
#ifdef IN_RTS
/* Portable definition of strdup, which is not available on all systems. */
#define xstrdup(S) strcpy ((char *) malloc (strlen (S) + 1), S)