1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-02-26 16:23:35 +00:00

Workaround removed newlib private macros

This commit is contained in:
Gyorgy Szombathelyi
2018-12-18 22:37:46 +01:00
parent c327172626
commit c1380e88bb

View File

@@ -4,7 +4,6 @@
// http://balau82.wordpress.com/2011/09/03/using-codesourcery-bare-metal-toolchain-for-cortex-m3/
#include <_ansi.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/fcntl.h>
@@ -22,6 +21,10 @@
#include "swi.h"
#include "cdc_control.h"
#ifndef _PARAMS
#define _PARAMS(paramlist) paramlist
#endif
/* Forward prototypes. */
int _system _PARAMS ((const char *));
int _rename _PARAMS ((const char *, const char *));
@@ -63,7 +66,7 @@ register char * stack_ptr asm ("sp");
/* following is copied from libc/stdio/local.h to check std streams */
extern void _EXFUN(__sinit,(struct _reent *));
extern void __sinit (struct _reent *);
#define CHECK_INIT(ptr) \
do \
{ \