Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-09-19 06:30:51 +0400
committerChristopher Faylor <me@cgf.cx>2009-09-19 06:30:51 +0400
commit4945cb2af0c264afdc44bc87b15da1b302a28a8b (patch)
treee79954af029f3133378555d13b33ae8ef07f12fc /newlib/libc/sys/linux
parent7b9f3ce02cfd0147efa0aeea0ab4119810696259 (diff)
* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated
int. * libc/sys/linux/sys/unistd.h: Ditto.
Diffstat (limited to 'newlib/libc/sys/linux')
-rw-r--r--newlib/libc/sys/linux/sys/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/sys/unistd.h b/newlib/libc/sys/linux/sys/unistd.h
index 18c70dd52..3d3864e2c 100644
--- a/newlib/libc/sys/linux/sys/unistd.h
+++ b/newlib/libc/sys/linux/sys/unistd.h
@@ -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 ));