Add missing prototypes.
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 1 Sep 2011 14:02:35 +0000 (16:02 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 1 Sep 2011 14:02:35 +0000 (16:02 +0200)
From-SVN: r178419

gcc/ada/adaint.c
gcc/ada/adaint.h

index e470369443cdcd5aacd7e8e58d72b3d0c05a0380..7e701f53c14ed08499e54f1417163e87c4da976e 100644 (file)
@@ -3856,6 +3856,7 @@ void __gnat_cpu_set (int cpu, size_t count ATTRIBUTE_UNUSED, cpu_set_t *set)
   CPU_SET (cpu - 1, set);
 }
 #endif
+#endif
 
 #ifdef __cplusplus
 }
index 5f18095cbb349a4f9ae67ee83991066cdf2f5da5..12e671f2f11c921c883b883cc04bc9e0a4b32b76 100644 (file)
@@ -245,6 +245,11 @@ extern int    __gnat_number_of_cpus                (void);
 
 extern void   __gnat_os_filename                   (char *, char *, char *,
                                                    int *, char *, int *);
+
+extern char * __gnat_locate_executable_file        (char *, char *);
+extern char * __gnat_locate_file_with_predicate    (char *, char *,
+                                                   int (*)(char*));
+
 #if defined (linux)
 extern void   *__gnat_lwp_self                    (void);