Commit e8418405 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Unconditionally include stdlib.h.

[r24123]
parent edbc82b5
......@@ -91,9 +91,7 @@ char *xstrdup(const char *str);
/* Includes for alloca() */
#if defined(__FreeBSD__)
#include <stdlib.h>
#elif defined(_WIN32)
#ifdef _WIN32
#include <malloc.h>
#endif
#ifdef HAVE_ALLOCA_H
......
......@@ -26,9 +26,7 @@
#include "config.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "array_t.h"
#include "xmalloc.h"
......
......@@ -29,9 +29,7 @@
#ifdef HAVE_STDIO_H
# include <stdio.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
......
......@@ -31,9 +31,7 @@
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "xmalloc.h"
#include "error.h"
......
......@@ -25,9 +25,7 @@
*/
#include "config.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "irouts.h"
#include "irnode_t.h"
......
......@@ -29,9 +29,7 @@
#ifdef HAVE_STRING_H
# include <string.h>
#endif
# ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include "callgraph.h"
......
......@@ -29,9 +29,7 @@
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "irloop_t.h"
#include "irprog_t.h"
......
......@@ -32,9 +32,7 @@
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "irloop_t.h"
......
......@@ -26,9 +26,7 @@
*/
#include "config.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "irnode.h"
#include "debug.h"
......
......@@ -25,9 +25,7 @@
*/
#include "config.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "impl.h"
#include "irprintf.h"
......
......@@ -25,10 +25,6 @@
*/
#include "config.h"
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include "mips_scheduler.h"
#include "../besched_t.h"
......
......@@ -31,13 +31,9 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <stdio.h>
#include <signal.h>
......
......@@ -29,10 +29,7 @@
*/
#include "config.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include <assert.h>
#include "irnode_t.h"
......
......@@ -28,9 +28,7 @@
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <stdarg.h>
#include "firm_common_t.h"
......
......@@ -28,10 +28,7 @@
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <stdarg.h>
#include "irdump_t.h"
......
......@@ -29,9 +29,7 @@
*/
#include "config.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include "irnode_t.h"
#include "irgraph_t.h"
......
......@@ -20,12 +20,11 @@
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#if defined(__FreeBSD__)
#include <stdlib.h>
#elif defined(_WIN32)
#ifdef _WIN32
#include <malloc.h>
#endif
#ifdef HAVE_ALLOCA_H
......
......@@ -15,9 +15,7 @@
#include <stdio.h>
#include <string.h>
#if defined(__FreeBSD__)
#include <stdlib.h>
#elif defined(_WIN32)
#ifdef _WIN32
#include <malloc.h>
#endif
#ifdef HAVE_ALLOCA_H
......
......@@ -29,10 +29,7 @@
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#include <stdlib.h>
#include <assert.h>
#include "error.h"
......
......@@ -28,10 +28,8 @@
#ifdef FIRM_STATISTICS
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
# include <string.h>
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment