Pacify IAR warnings for side-effects.
[bertos.git] / cfg / debug.h
index af5f4f8ae27600c683dfebb2174ca36972fe9ae6..fe8481f02f138ec9a2db4229276bc8e4d98ced26 100755 (executable)
 
 /*#*
  *#* $Log$
+ *#* Revision 1.5  2005/11/04 16:09:03  bernie
+ *#* Doxygen workaround.
+ *#*
+ *#* Revision 1.4  2005/07/03 15:18:52  bernie
+ *#* Typo.
+ *#*
+ *#* Revision 1.3  2005/06/27 21:23:55  bernie
+ *#* Rename cfg/config.h to appconfig.h.
+ *#*
+ *#* Revision 1.2  2005/04/11 19:10:27  bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
  *#* Revision 1.1  2005/04/11 19:04:13  bernie
  *#* Move top-level headers to cfg/ subdir.
  *#*
@@ -76,7 +88,7 @@
        #endif
        #endif
 #else /* !OS_HOSTED */
-       #include <compiler.h>
+       #include <cfg/compiler.h>
 #endif /* !OS_HOSTED */
 
 
  * This preprocessor symbol is defined only in debug builds.
  *
  * The build infrastructure must arrange for _DEBUG to
- * be prepredefined for all source files being compiled.
+ * be predefined for all source files being compiled.
  *
  * This is compatible with the Microsoft convention for
  * the default Debug and Release targets.
        /*!
         * This macro can be used to conditionally exclude one or more
         * statements conditioned on \c _DEBUG, avoiding the clutter
-        * of #ifdef/#endif pairs.
+        * of ifdef/endif pairs.
         *
         * \code
         *     struct FooBar
                #define ASSERT_VALID_PTR_OR_NULL(p)  ASSERT((((p) == NULL) || ((unsigned long)(p) >= 0x200)))
        #else /* !OS_HOSTED */
 
-               #include <config.h>  /* CONFIG_KDEBUG_ASSERT_NO_TEXT */
-               #include <cpu.h>  /* CPU_HARVARD */
+               #include <appconfig.h>  /* CONFIG_KDEBUG_ASSERT_NO_TEXT */
+               #include <cfg/cpu.h>  /* CPU_HARVARD */
 
                /* These are implemented in drv/kdebug.c */
                void kdbg_init(void);