diff options
Diffstat (limited to 'gcc/ada/final.c')
-rw-r--r-- | gcc/ada/final.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ada/final.c b/gcc/ada/final.c index bfd519e..b49b3de 100644 --- a/gcc/ada/final.c +++ b/gcc/ada/final.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 1992-2009 Free Software Foundation, Inc. * + * Copyright (C) 1992-2011, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -29,14 +29,22 @@ * * ****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + extern void __gnat_finalize (void); /* This routine is called at the extreme end of execution of an Ada program (the call is generated by the binder). The standard routine does nothing at all, the intention is that this be replaced by system specific code - where finalization is required. */ + where finalization is required. */ void __gnat_finalize (void) { } + +#ifdef __cplusplus +} +#endif |