Various changes/fixes to get configs/stm32f4discovery/kostest working after the big configuration renaming (and after a long period of bit rot)

This commit is contained in:
Gregory Nutt
2014-08-29 16:23:46 -06:00
parent faf16f229c
commit 0f5dc2fc65
9 changed files with 229 additions and 102 deletions
+16 -1
View File
@@ -90,9 +90,24 @@
uint32_t syscall_clock_systimer(void);
/****************************************************************************
* Pre-processor definitions
* Pre-processor Definitions
****************************************************************************/
/* Errno access is awkward. We need to generate get_errno() and set_errno()
* interfaces to support the system calls, even though we don't use them
* ourself.
*
* The "normal" protoypes for these functions is in errno.h. The following
* must agree exactly.
*/
#ifdef __DIRECT_ERRNO_ACCESS
# undef set_errno
# undef get_errno
void set_errno(int errcode);
int get_errno(void);
#endif
/****************************************************************************
* Public Data
****************************************************************************/