OSDN Git Service

2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
authorjjohnstn <jjohnstn>
Wed, 20 Jun 2007 17:30:58 +0000 (17:30 +0000)
committerjjohnstn <jjohnstn>
Wed, 20 Jun 2007 17:30:58 +0000 (17:30 +0000)
        * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
        * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
        visible.

newlib/ChangeLog
newlib/libc/include/sys/stat.h
newlib/libc/include/sys/unistd.h

index 0de1bfc..0ea203a 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2007-06-15  Patrick Mansfield  <patmans@us.ibm.com>
 
        * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
index 5163244..1eb16ec 100644 (file)
@@ -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
index a432639..bab8734 100644 (file)
@@ -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 ));