OSDN Git Service

2003-08-13 Aldy Hernandez <aldyh@redhat.com>
authorjjohnstn <jjohnstn>
Wed, 13 Aug 2003 17:45:31 +0000 (17:45 +0000)
committerjjohnstn <jjohnstn>
Wed, 13 Aug 2003 17:45:31 +0000 (17:45 +0000)
        * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
        extern "C".

newlib/ChangeLog
newlib/libc/machine/powerpc/machine/stdlib.h

index 4c45647..8136a77 100644 (file)
@@ -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
index 03a5319..1cf1837 100644 (file)
@@ -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__ */