* libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
* libc/machine/spu/sys/sched.h: Likewise.
* libc/machine/spu/sys/syscall.h: Likewise.
+
+2008-06-16 Ken Werner <ken.werner@de.ibm.com>
+
+ * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
+ * libc/machine/spu/sys/sched.h: Likewise.
+ * libc/machine/spu/sys/syscall.h: Likewise.
+
2008-06-16 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/mk_syscalls: Provide .type and .size directives
*/
#ifndef _SYS_DIRENT_H
#define _SYS_DIRENT_H
+#ifdef __cplusplus
+extern "C" {
+#endif
#define MAXNAMLEN 255
void rewinddir(DIR *);
void seekdir(DIR *dir, off_t offset);
off_t telldir(DIR *dir);
+#ifdef __cplusplus
+}
+#endif
#endif
#ifndef _SYS_SCHED_H
#define _SYS_SCHED_H
+#ifdef __cplusplus
+extern "C" {
+#endif
int sched_yield(void);
+#ifdef __cplusplus
+}
+#endif
#endif
#ifndef _SYS_SYSCALL_H
#define _SYS_SYSCALL_H
+#ifdef __cplusplus
+extern "C" {
+#endif
int __send_to_ppe(unsigned int signalcode, unsigned int opcode, void *data);
+#ifdef __cplusplus
+}
+#endif
#endif