diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-06-20 17:30:58 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-06-20 17:30:58 +0000 |
commit | f75c75183f83ea143e9ce10b34d22ab06e401032 (patch) | |
tree | 86dad53737368369013adef0b9033c2faffcdeb7 /newlib/libc/include/sys | |
parent | 38ebd2a6c02c8332005ffbe1c36f0458e4de3cab (diff) | |
download | cygnal-f75c75183f83ea143e9ce10b34d22ab06e401032.tar.gz cygnal-f75c75183f83ea143e9ce10b34d22ab06e401032.tar.bz2 cygnal-f75c75183f83ea143e9ce10b34d22ab06e401032.zip |
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
* libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
* libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
visible.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r-- | newlib/libc/include/sys/stat.h | 2 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h index 516324459..1eb16ecd3 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -124,7 +124,7 @@ int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); int _EXFUN(stat,( const char *__path, struct stat *__sbuf )); mode_t _EXFUN(umask,( mode_t __mask )); -#if defined(__rtems__) || defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) +#if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) int _EXFUN(lstat,( const char *__path, struct stat *__buf )); int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); #endif diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index a43263935..bab8734e9 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -46,7 +46,7 @@ int _EXFUN(execlp, (const char *__file, const char *, ... )); int _EXFUN(execv, (const char *__path, char * const __argv[] )); int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] )); int _EXFUN(execvp, (const char *__file, char * const __argv[] )); -#if defined(__CYGWIN__) || defined(__rtems__) +#if defined(__CYGWIN__) || defined(__rtems__) || defined(__SPU__) int _EXFUN(fchdir, (int __fildes)); #endif int _EXFUN(fchmod, (int __fildes, mode_t __mode )); |