aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--readme.txt1
-rw-r--r--src/include/ch.h47
2 files changed, 1 insertions, 47 deletions
diff --git a/readme.txt b/readme.txt
index 4f5e701cb..8d5db6ccc 100644
--- a/readme.txt
+++ b/readme.txt
@@ -85,6 +85,7 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
- New benchmark added to the test suite.
- Added the C++ wrapper entries to the documentation.
- Fixed the documentation entry for the chThdCreate() API.
+- Removed redundant ifdefs from the ch.h header.
*** 0.6.6 ***
- NEW: Improved test suite, now the suite is divided in modules and the code
diff --git a/src/include/ch.h b/src/include/ch.h
index 2dd44e786..cafcf2f75 100644
--- a/src/include/ch.h
+++ b/src/include/ch.h
@@ -27,69 +27,22 @@
#define _CHIBIOS_RT_
-#ifndef _CHCONF_H_
#include <chconf.h>
-#endif
-
-#ifndef _CHTYPES_H_
#include <chtypes.h>
-#endif
-
-#ifndef _LISTS_H_
#include "lists.h"
-#endif
-
-#ifndef _CHCORE_H_
#include <chcore.h>
-#endif
-
-#ifndef _DELTA_H_
#include "delta.h"
-#endif
-
-#ifndef _SCHEDULER_H_
#include "scheduler.h"
-#endif
-
-#ifndef _SEMAPHORES_H_
#include "semaphores.h"
-#endif
-
-#ifndef _MUTEXES_H_
#include "mutexes.h"
-#endif
-
-#ifndef _EVENTS_H_
#include "events.h"
-#endif
-
-#ifndef _MESSAGES_H_
#include "messages.h"
-#endif
-
-#ifndef _THREADS_H_
#include "threads.h"
-#endif
-
-#ifndef _INLINE_H_
#include "inline.h"
-#endif
-
-#ifndef _SLEEP_H_
#include "sleep.h"
-#endif
-
-#ifndef _QUEUES_H_
#include "queues.h"
-#endif
-
-#ifndef _SERIAL_H_
#include "serial.h"
-#endif
-
-#ifndef _DEBUG_H_
#include "debug.h"
-#endif
/*
* Common values.