Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-08-13 21:45:31 +0400
committerJeff Johnston <jjohnstn@redhat.com>2003-08-13 21:45:31 +0400
commitdb979bb4cfb8aa6d35a3627dc15044a7c4528cad (patch)
tree4f5da67347af53c9e5c80099f0407b556e52c0bc /newlib/libc/machine/powerpc
parent6efbdc7da5cbccd7fa8cae14e6759868ce92bc44 (diff)
2003-08-13 Aldy Hernandez <aldyh@redhat.com>
* libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in extern "C".
Diffstat (limited to 'newlib/libc/machine/powerpc')
-rw-r--r--newlib/libc/machine/powerpc/machine/stdlib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/machine/powerpc/machine/stdlib.h b/newlib/libc/machine/powerpc/machine/stdlib.h
index 03a5319fd..1cf18371a 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__ */