summaryrefslogtreecommitdiff
path: root/nuttx/include/errno.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-21 21:55:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-21 21:55:16 +0000
commitefc2cf23a849f7be1d65c4cdd7767f88917c46a7 (patch)
treefbe3518a364d6b9d811e00f7201e082d50ead7e3 /nuttx/include/errno.h
parent94e5b72f50f3096b83fe50c7b57324a08e318f29 (diff)
downloadpx4-nuttx-efc2cf23a849f7be1d65c4cdd7767f88917c46a7.tar.gz
px4-nuttx-efc2cf23a849f7be1d65c4cdd7767f88917c46a7.tar.bz2
px4-nuttx-efc2cf23a849f7be1d65c4cdd7767f88917c46a7.zip
Progress toward clean SDCC compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@18 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/errno.h')
-rw-r--r--nuttx/include/errno.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/include/errno.h b/nuttx/include/errno.h
index 50fddfc9f..d189ccaa0 100644
--- a/nuttx/include/errno.h
+++ b/nuttx/include/errno.h
@@ -188,8 +188,16 @@ extern "C" {
#define EXTERN extern
#endif
+/* Return a pointer to the thread specifid errno */
+
extern int *get_errno_ptr(void);
+#ifndef CONFIG_CAN_CAST_POINTERS
+/* Return the value ERROR cast to (void*) */
+
+extern void *get_errorptr(void);
+#endif
+
#undef EXTERN
#if defined(__cplusplus)
}