diff options
Diffstat (limited to 'newlib/libc/include/stdlib.h')
-rw-r--r-- | newlib/libc/include/stdlib.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index e2dab04d8..d7401ec57 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -5,9 +5,6 @@ */ #ifndef _STDLIB_H_ -#ifdef __cplusplus -extern "C" { -#endif #define _STDLIB_H_ #include "_ansi.h" @@ -22,6 +19,8 @@ extern "C" { #include <alloca.h> #endif +_BEGIN_STD_C + typedef struct { int quot; /* quotient */ @@ -176,7 +175,6 @@ int _EXFUN(_system_r,(struct _reent *, const char *)); _VOID _EXFUN(__eprintf,(const char *, const char *, unsigned int, const char *)); -#ifdef __cplusplus -} -#endif +_END_STD_C + #endif /* _STDLIB_H_ */ |