aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xexit.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-07-21 20:08:36 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-07-21 20:08:36 +0000
commit838f8562e6f18d9450c8a4c30e2d1cab4c0229a0 (patch)
tree9c6b2d3c7e513a58a41d0e61372b5492764fb4e3 /libiberty/xexit.c
parent058ef853fd5adbde3d5a0bd6fae3d6df7db446ea (diff)
downloadgcc-838f8562e6f18d9450c8a4c30e2d1cab4c0229a0.zip
gcc-838f8562e6f18d9450c8a4c30e2d1cab4c0229a0.tar.gz
gcc-838f8562e6f18d9450c8a4c30e2d1cab4c0229a0.tar.bz2
Warning fixes:
* cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. * setenv.c (setenv): Initialize variable `ep'. * sigsetmask.c (abort): Prototype. * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not __STDC__ for stdarg.h include. (int_vasprintf): Prototype. (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in definition. Cast `global_total_width' in comparison. (main): Prototype. Return a value. * vfork.c (fork): Prototype. * xexit.c: Include config.h. From-SVN: r35178
Diffstat (limited to 'libiberty/xexit.c')
-rw-r--r--libiberty/xexit.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libiberty/xexit.c b/libiberty/xexit.c
index 7aa52ac..e8b1ed1 100644
--- a/libiberty/xexit.c
+++ b/libiberty/xexit.c
@@ -17,13 +17,15 @@ License along with libiberty; see the file COPYING.LIB. If not, write
to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include "ansidecl.h"
-#include "libiberty.h"
-
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+#include "libiberty.h"
+
/* This variable is set by xatexit if it is called. This way, xmalloc
doesn't drag xatexit into the link. */