aboutsummaryrefslogtreecommitdiff
path: root/time
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 /time
parent2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2
Use (void) in no-arguments function definitions.
Diffstat (limited to 'time')
-rw-r--r--time/clock.c2
-rw-r--r--time/tzset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/time/clock.c b/time/clock.c
index d7a1f14..acd624f 100644
--- a/time/clock.c
+++ b/time/clock.c
@@ -21,7 +21,7 @@
/* Return the time used by the program so far (user time + system time). */
clock_t
-clock ()
+clock (void)
{
__set_errno (ENOSYS);
return (clock_t) -1;
diff --git a/time/tzset.c b/time/tzset.c
index 0064cb0..4f8af8d 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -125,7 +125,7 @@ __tzstring (const char *s)
size_t __tzname_cur_max;
long int
-__tzname_max ()
+__tzname_max (void)
{
__libc_lock_lock (tzset_lock);