* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated

int.
* libc/sys/linux/sys/unistd.h: Ditto.
This commit is contained in:
Christopher Faylor 2009-09-19 02:30:51 +00:00
parent 7b9f3ce02c
commit 4945cb2af0
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-09-18 Christopher Faylor <me+cygwin@cgf.cx>
* libc/include/sys/unistd.h: Declare getpagesize as returning
POSIX-mandated int.
* libc/sys/linux/sys/unistd.h: Ditto.
2009-08-31 Takaki Makino <t@snowelm.com>
* libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with

View File

@ -81,7 +81,7 @@ char _EXFUN(*getlogin, (void ));
int _EXFUN(getlogin_r, (char *name, size_t namesize) );
#endif
char _EXFUN(*getpass, (const char *__prompt));
size_t _EXFUN(getpagesize, (void));
int _EXFUN(getpagesize, (void));
#if defined(__CYGWIN__)
int _EXFUN(getpeereid, (int, uid_t *, gid_t *));
#endif

View File

@ -54,7 +54,7 @@ char _EXFUN(*getlogin, (void ));
int _EXFUN(getlogin_r, (char *name, size_t namesize) );
#endif
char _EXFUN(*getpass, (__const char *__prompt));
size_t _EXFUN(getpagesize, (void));
int _EXFUN(getpagesize, (void));
pid_t _EXFUN(getpgid, (pid_t));
pid_t _EXFUN(getpgrp, (void ));
pid_t _EXFUN(getpid, (void ));