diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-12-21 12:32:31 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-12-21 12:32:31 +0000 |
commit | 8afd02aa6b640b7098bf40bbda3e72a14d3f07b3 (patch) | |
tree | 3fbee8135152fc6c25d9a819f2170bfaa73a1e08 /gcc/ada/targext.c | |
parent | d846aac9be9a94adc1be78166db42df57da3490a (diff) | |
download | gcc-8afd02aa6b640b7098bf40bbda3e72a14d3f07b3.zip gcc-8afd02aa6b640b7098bf40bbda3e72a14d3f07b3.tar.gz gcc-8afd02aa6b640b7098bf40bbda3e72a14d3f07b3.tar.bz2 |
adaint.c: Move directive around.
* adaint.c: Move directive around.
* argv.c: Likewise.
* cio.c: Likewise.
* cstreams.c: Likewise.
* env.c: Likewise.
* exit.c: Likewise.
* init.c: Likewise.
* initialize.c: Likewise.
* raise.c: Likewise.
* seh_init.c: Likewise.
* targext.c: Likewise.
From-SVN: r194660
Diffstat (limited to 'gcc/ada/targext.c')
-rw-r--r-- | gcc/ada/targext.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/targext.c b/gcc/ada/targext.c index 6a9f970..a7f3ee9 100644 --- a/gcc/ada/targext.c +++ b/gcc/ada/targext.c @@ -35,10 +35,6 @@ Note that, in order to have access to the TARGET_* macros used below, the file must be compiled with IN_GCC defined, even for the library. */ -#ifdef __cplusplus -extern "C" { -#endif - #ifdef IN_RTS #include "tconfig.h" #include "tsystem.h" @@ -57,6 +53,10 @@ extern "C" { #define TARGET_EXECUTABLE_SUFFIX "" #endif +#ifdef __cplusplus +extern "C" { +#endif + const char *__gnat_target_object_extension = TARGET_OBJECT_SUFFIX; const char *__gnat_target_executable_extension = TARGET_EXECUTABLE_SUFFIX; const char *__gnat_target_debuggable_extension = TARGET_EXECUTABLE_SUFFIX; |