aboutsummaryrefslogtreecommitdiff
path: root/libio/genops.c
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 /libio/genops.c
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2
Use (void) in no-arguments function definitions.
Diffstat (limited to 'libio/genops.c')
-rw-r--r--libio/genops.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libio/genops.c b/libio/genops.c
index e5c5d5c..a5fe137 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -873,7 +873,7 @@ _IO_flush_all_lockp (int do_lock)
int
-_IO_flush_all ()
+_IO_flush_all (void)
{
/* We want locking. */
return _IO_flush_all_lockp (1);
@@ -881,7 +881,7 @@ _IO_flush_all ()
libc_hidden_def (_IO_flush_all)
void
-_IO_flush_all_linebuffered ()
+_IO_flush_all_linebuffered (void)
{
struct _IO_FILE *fp;
int last_stamp;
@@ -1006,7 +1006,7 @@ libc_freeres_fn (buffer_free)
int
-_IO_cleanup ()
+_IO_cleanup (void)
{
/* We do *not* want locking. Some threads might use streams but
that is their problem, we flush them underneath them. */
@@ -1266,14 +1266,14 @@ _IO_default_imbue (fp, locale)
}
_IO_ITER
-_IO_iter_begin()
+_IO_iter_begin (void)
{
return (_IO_ITER) _IO_list_all;
}
libc_hidden_def (_IO_iter_begin)
_IO_ITER
-_IO_iter_end()
+_IO_iter_end (void)
{
return NULL;
}
@@ -1296,7 +1296,7 @@ _IO_iter_file(iter)
libc_hidden_def (_IO_iter_file)
void
-_IO_list_lock()
+_IO_list_lock (void)
{
#ifdef _IO_MTSAFE_IO
_IO_lock_lock (list_all_lock);
@@ -1305,7 +1305,7 @@ _IO_list_lock()
libc_hidden_def (_IO_list_lock)
void
-_IO_list_unlock()
+_IO_list_unlock (void)
{
#ifdef _IO_MTSAFE_IO
_IO_lock_unlock (list_all_lock);
@@ -1314,7 +1314,7 @@ _IO_list_unlock()
libc_hidden_def (_IO_list_unlock)
void
-_IO_list_resetlock()
+_IO_list_resetlock (void)
{
#ifdef _IO_MTSAFE_IO
_IO_lock_init (list_all_lock);