aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-08 00:22:23 +0000
commit60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch)
tree29d9258b64874c6c9838757a9c67ef62a6a0868c /ports
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2
Use (void) in no-arguments function definitions.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.ia645
-rw-r--r--ports/ChangeLog.m68k5
-rw-r--r--ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c2
-rw-r--r--ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c2
4 files changed, 12 insertions, 2 deletions
diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64
index 09cb121..7f9fd3c 100644
--- a/ports/ChangeLog.ia64
+++ b/ports/ChangeLog.ia64
@@ -1,3 +1,8 @@
+2013-06-08 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): Use
+ (void) in function definition.
+
2013-06-07 Joseph Myers <joseph@codesourcery.com>
* sysdeps/ia64/bits/byteswap-16.h [__GNUC__ && __GNUC__ >= 2]
diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k
index e7ddd46..2cd6a6a 100644
--- a/ports/ChangeLog.m68k
+++ b/ports/ChangeLog.m68k
@@ -1,3 +1,8 @@
+2013-06-08 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): Use
+ (void) in function definition.
+
2013-06-05 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/m68k/socket.S: Remove trailing
diff --git a/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c b/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c
index da82423..8c2a60b 100644
--- a/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c
+++ b/ports/sysdeps/unix/sysv/linux/ia64/getpagesize.c
@@ -29,7 +29,7 @@
as mmap and friends. --davidm 99/11/30 */
int
-__getpagesize ()
+__getpagesize (void)
{
assert (GLRO(dl_pagesize) != 0);
return GLRO(dl_pagesize);
diff --git a/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c b/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c
index aa11d1a..4752770 100644
--- a/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c
+++ b/ports/sysdeps/unix/sysv/linux/m68k/getpagesize.c
@@ -26,7 +26,7 @@
/* Return the system page size. */
int
-__getpagesize ()
+__getpagesize (void)
{
#ifdef __NR_getpagesize
int result;