From 8afd02aa6b640b7098bf40bbda3e72a14d3f07b3 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 21 Dec 2012 12:32:31 +0000 Subject: 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 --- gcc/ada/targext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/ada/targext.c') 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; -- cgit v1.1