diff options
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/machine/powerpc/machine/stdlib.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 4c45647..8136a77 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-08-13 Aldy Hernandez <aldyh@redhat.com> + + * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in + extern "C". + 2003-08-13 Jeff Johnston <jjohnstn@redhat.com> * libc/include/math.h: Add prototypes for __signbitf and diff --git a/newlib/libc/machine/powerpc/machine/stdlib.h b/newlib/libc/machine/powerpc/machine/stdlib.h index 03a5319..1cf1837 100644 --- a/newlib/libc/machine/powerpc/machine/stdlib.h +++ b/newlib/libc/machine/powerpc/machine/stdlib.h @@ -21,6 +21,9 @@ _PTR _EXFUN(_vec_realloc_r,(struct _reent *, _PTR __r, size_t __size)); #define __need_inttypes #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#endif __int16_t _EXFUN(atosfix16,(const char *__str)); __int16_t _EXFUN(_atosfix16_r,(struct _reent *, const char *__str)); __int32_t _EXFUN(atosfix32,(const char *__str)); @@ -54,6 +57,9 @@ __uint32_t _EXFUN(_strtoufix32_r,(struct _reent *, const char *__str, __uint64_t _EXFUN(strtoufix64,(const char *__str, char **__endptr)); __uint64_t _EXFUN(_strtoufix64_r,(struct _reent *, const char *__str, char **__endptr)); +#ifdef __cplusplus +} +#endif # endif /* __SPE__ */ |