summaryrefslogtreecommitdiffstats
path: root/nuttx/include/debug.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-12-14 23:32:23 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-12-14 23:32:23 +0000
commit87263bd73cc83defe8b9970532acf807b2b17ace (patch)
treed3969c50e49cd742124e05349431556344a93f54 /nuttx/include/debug.h
parent7b6b7d8fe4cae381127e6bf09bec5f8789c3803e (diff)
Switching to C99 stdint.h types
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2340 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include/debug.h')
-rw-r--r--nuttx/include/debug.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/nuttx/include/debug.h b/nuttx/include/debug.h
index 10b30df423..e3c6edc476 100644
--- a/nuttx/include/debug.h
+++ b/nuttx/include/debug.h
@@ -42,10 +42,11 @@
#include <nuttx/config.h>
#include <nuttx/compiler.h>
-#include <sys/types.h>
+
+#include <stdint.h>
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Debug macros to runtime filter the debug messages sent to the console. In
@@ -496,15 +497,16 @@ extern "C" {
* on or the other of the following.
*/
-EXTERN int lib_rawprintf(const char *format, ...);
+EXTERN int lib_rawprintf(FAR const char *format, ...);
#ifdef CONFIG_ARCH_LOWPUTC
-EXTERN int lib_lowprintf(const char *format, ...);
+EXTERN int lib_lowprintf(FAR const char *format, ...);
#endif
/* Dump a buffer of data */
-EXTERN void lib_dumpbuffer(FAR const char *msg, FAR const ubyte *buffer, unsigned int buflen);
+EXTERN void lib_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer,
+ unsigned int buflen);
/* If the cross-compiler's pre-processor does not support variable
* length arguments, then these additional APIs will be built.