Commit 2ccae1f9 authored by Christoph Mallon's avatar Christoph Mallon Committed by Christoph Mallon
Browse files

all: Remove unnecessary #include.

parent 7088053c
......@@ -11,7 +11,8 @@
#ifndef FIRM_ADT_HASHPTR_H
#define FIRM_ADT_HASHPTR_H
#include <stdlib.h>
#include <stddef.h>
#include "../begin.h"
/**
......
......@@ -5,8 +5,6 @@
#ifndef FIRM_ADT_LIST_H
#define FIRM_ADT_LIST_H
#include <stdlib.h>
#include "../begin.h"
/**
......@@ -117,8 +115,8 @@ static inline void __list_del(struct list_head * prev, struct list_head * next)
static inline void list_del(struct list_head *entry)
{
__list_del(entry->prev, entry->next);
entry->next = NULL;
entry->prev = NULL;
entry->next = 0;
entry->prev = 0;
}
......
......@@ -12,9 +12,9 @@
#ifndef FIRM_DEBUG_DBGINFO_H
#define FIRM_DEBUG_DBGINFO_H
#include <stdlib.h>
#include <stddef.h>
#include "firm_types.h"
#include "ident.h"
#include "begin.h"
/**
......@@ -158,7 +158,7 @@ FIRM_API void ir_set_debug_retrieve(retrieve_dbg_func func);
/**
* The type of the type debug info retrieve function.
* Prints a human readable source representation of a type to an obstack.
* Prints a human readable source representation of a type to a buffer.
* (Used for generating debug info like stabs or dwarf)
*/
typedef void (*retrieve_type_dbg_func)(char *buffer, size_t buffer_size,
......
......@@ -14,7 +14,6 @@
#include <stdio.h>
#include "firm_types.h"
#include "ident.h"
#include "begin.h"
/**
......
......@@ -11,7 +11,6 @@
#ifndef FIRM_IR_IRPRINTF_H
#define FIRM_IR_IRPRINTF_H
#include <stddef.h>
#include <stdarg.h>
#include <stdio.h>
#include "begin.h"
......
......@@ -10,8 +10,6 @@
#ifndef FIRM_TIMING_H
#define FIRM_TIMING_H
#include <stdlib.h>
#include "begin.h"
/**
......
......@@ -10,7 +10,8 @@
#ifndef FIRM_TYPEREP_H
#define FIRM_TYPEREP_H
#include <stdlib.h>
#include <stddef.h>
#include "firm_types.h"
#include "begin.h"
......
......@@ -12,7 +12,6 @@
#ifndef FIRM_ADT_UTIL_H
#define FIRM_ADT_UTIL_H
#include <stddef.h>
#include <string.h>
/**
......
......@@ -41,8 +41,6 @@ typedef struct timeval ir_timer_val_t;
#endif /* _Win32 */
#include <stddef.h>
static inline void _time_reset(ir_timer_val_t *val);
/**
......
......@@ -8,7 +8,6 @@
* @brief Entry point to the representation of procedure code.
* @author Martin Trapp, Christian Schaefer, Goetz Lindenmaier, Michael Beck
*/
#include <stddef.h>
#include "xmalloc.h"
#include "ircons_t.h"
......
......@@ -9,7 +9,6 @@
* @author Martin Trapp, Christian Schaefer, Goetz Lindenmaier, Mathias Heil
*/
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include "irprog_t.h"
......
......@@ -11,7 +11,6 @@
*/
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
#include <string.h>
#include <assert.h>
......
......@@ -11,7 +11,6 @@
#ifndef _LIBCORE_LC_PRINTF_H
#define _LIBCORE_LC_PRINTF_H
#include <stddef.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
......
......@@ -9,7 +9,6 @@
* @author Martin Trapp, Christian Schaefer, Goetz Lindenmaier, Michael Beck
*/
#include <stdlib.h>
#include <stddef.h>
#include "xmalloc.h"
#include "entity_t.h"
......
#ifndef REGEX_H
#define REGEX_H
#include <stddef.h>
#include <stdlib.h>
/* naive and wrong regex stubs */
......
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