Remove some compile time warnings about duplicate definitions.
[official-gcc.git] / gcc / ada / exit.c
blob85bc863fccc7489bfdf4fbad9fcf5164ed33f5d8
1 /****************************************************************************
2 * *
3 * GNAT COMPILER COMPONENTS *
4 * *
5 * E X I T *
6 * *
7 * C Implementation File *
8 * *
9 * $Revision: 1.1 $
10 * *
11 * Copyright (C) 1992-2001 Free Software Foundation, Inc. *
12 * *
13 * GNAT is free software; you can redistribute it and/or modify it under *
14 * terms of the GNU General Public License as published by the Free Soft- *
15 * ware Foundation; either version 2, or (at your option) any later ver- *
16 * sion. GNAT is distributed in the hope that it will be useful, but WITH- *
17 * OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
18 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License *
19 * for more details. You should have received a copy of the GNU General *
20 * Public License distributed with GNAT; see file COPYING. If not, write *
21 * to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, *
22 * MA 02111-1307, USA. *
23 * *
24 * As a special exception, if you link this file with other files to *
25 * produce an executable, this file does not by itself cause the resulting *
26 * executable to be covered by the GNU General Public License. This except- *
27 * ion does not however invalidate any other reasons why the executable *
28 * file might be covered by the GNU Public License. *
29 * *
30 * GNAT was originally developed by the GNAT team at New York University. *
31 * It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). *
32 * *
33 ****************************************************************************/
35 #ifdef __alpha_vxworks
36 #include "vxWorks.h"
37 #endif
39 #ifdef IN_RTS
40 #include "tconfig.h"
41 #include "tsystem.h"
42 #include <sys/stat.h>
43 #else
44 #include "config.h"
45 #include "system.h"
46 #endif
48 #include "adaint.h"
50 /* Routine used by Ada.Command_Line.Set_Exit_Status */
52 int gnat_exit_status = 0;
54 void
55 __gnat_set_exit_status (i)
56 int i;
58 gnat_exit_status = i;