diff options
Diffstat (limited to 'gcc/ada/argv.c')
-rw-r--r-- | gcc/ada/argv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/argv.c b/gcc/ada/argv.c index 29f163972ea..ebca8bbc09c 100644 --- a/gcc/ada/argv.c +++ b/gcc/ada/argv.c @@ -42,10 +42,6 @@ main program, and these routines are accessed from the Ada.Command_Line.Environment package. */ -#ifdef __cplusplus -extern "C" { -#endif - #ifdef IN_RTS #include "tconfig.h" #include "tsystem.h" @@ -57,6 +53,10 @@ extern "C" { #include "adaint.h" +#ifdef __cplusplus +extern "C" { +#endif + /* argc and argv of the main program are saved under gnat_argc and gnat_argv, envp of the main program is saved under gnat_envp. */ |