jehanne: ansification + upstream update

This commit is contained in:
Giacomo Tesio 2018-11-26 03:04:32 +01:00
parent a000564873
commit 266d2c4d34
2 changed files with 22 additions and 22 deletions

2
config.sub vendored
View File

@ -1376,7 +1376,7 @@ case $os in
| powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
| skyos* | haiku* | rdos* | toppers* | drops* | es* \ | skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | -jehanne*) | midnightbsd* | jehanne* )
# Remember, each alternative MUST END IN *, to match a version number. # Remember, each alternative MUST END IN *, to match a version number.
;; ;;
qnx*) qnx*)

View File

@ -144,38 +144,38 @@ struct stat
#define UTIME_OMIT -1L #define UTIME_OMIT -1L
#endif #endif
int _EXFUN(chmod,( const char *__path, mode_t __mode )); int chmod(const char *__path, mode_t __mode);
int _EXFUN(fchmod,(int __fd, mode_t __mode)); int fchmod(int __fd, mode_t __mode);
int _EXFUN(fstat,( int __fd, struct stat *__sbuf )); int fstat(int __fd, struct stat *__sbuf);
int _EXFUN(mkdir,( const char *_path, mode_t __mode )); int mkdir(const char *_path, mode_t __mode);
int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); int mkfifo(const char *__path, mode_t __mode);
int _EXFUN(stat,( const char *__restrict __path, struct stat *__restrict __sbuf )); int stat(const char *__restrict __path, struct stat *__restrict __sbuf);
mode_t _EXFUN(umask,( mode_t __mask )); mode_t umask(mode_t __mask);
int _EXFUN(lstat,( const char *__restrict __path, struct stat *__restrict __buf )); int lstat(const char *__restrict __path, struct stat *__restrict __buf);
int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); int mknod(const char *__path, mode_t __mode, dev_t __dev);
int _EXFUN(fchmodat, (int, const char *, mode_t, int)); int fchmodat(int, const char *, mode_t, int);
int _EXFUN(fstatat, (int, const char *__restrict , struct stat *__restrict, int)); int fstatat(int, const char *__restrict , struct stat *__restrict, int);
int _EXFUN(mkdirat, (int, const char *, mode_t)); int mkdirat(int, const char *, mode_t);
int _EXFUN(mkfifoat, (int, const char *, mode_t)); int mkfifoat(int, const char *, mode_t);
int _EXFUN(mknodat, (int, const char *, mode_t, dev_t)); int mknodat(int, const char *, mode_t, dev_t);
int _EXFUN(utimensat, (int, const char *, const struct timespec *, int)); int utimensat(int, const char *, const struct timespec *, int);
#if __POSIX_VISIBLE >= 200809 && !defined(__INSIDE_CYGWIN__) #if __POSIX_VISIBLE >= 200809 && !defined(__INSIDE_CYGWIN__)
int _EXFUN(futimens, (int, const struct timespec *)); int futimens(int, const struct timespec *);
#endif #endif
/* Provide prototypes for most of the _<systemcall> names that are /* Provide prototypes for most of the _<systemcall> names that are
provided in newlib for some compilers. */ provided in newlib for some compilers. */
#ifdef _COMPILING_NEWLIB #ifdef _COMPILING_NEWLIB
int _EXFUN(_fstat,( int __fd, struct stat *__sbuf )); int _fstat(int __fd, struct stat *__sbuf);
int _EXFUN(_stat,( const char *__restrict __path, struct stat *__restrict __sbuf )); int _stat(const char *__restrict __path, struct stat *__restrict __sbuf);
int _EXFUN(_mkdir,( const char *_path, mode_t __mode )); int _mkdir(const char *_path, mode_t __mode);
#ifdef __LARGE64_FILES #ifdef __LARGE64_FILES
struct stat64; struct stat64;
int _EXFUN(_stat64,( const char *__restrict __path, struct stat64 *__restrict __sbuf )); int _stat64(const char *__restrict __path, struct stat64 *__restrict __sbuf);
int _EXFUN(_fstat64,( int __fd, struct stat64 *__sbuf )); int _fstat64(int __fd, struct stat64 *__sbuf);
#endif #endif
#endif #endif