about summary refs log tree commit diff
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.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.xz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
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 09cb121fa1..7f9fd3c36e 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 e7ddd463d0..2cd6a6a06b 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 da8242351d..8c2a60bc73 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 aa11d1a80e..47527700b6 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;