aboutsummaryrefslogtreecommitdiff
path: root/crypt
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 /crypt
parentAvoid use of "register" as optimization hint. (diff)
downloadglibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2
glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip
Use (void) in no-arguments function definitions.
Diffstat (limited to 'crypt')
-rw-r--r--crypt/crypt_util.c2
-rw-r--r--crypt/speeds.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index 99ad321b38..2409079894 100644
--- a/crypt/crypt_util.c
+++ b/crypt/crypt_util.c
@@ -553,7 +553,7 @@ small_tables_done:
}
void
-__init_des()
+__init_des (void)
{
__init_des_r(&_ufc_foobar);
}
diff --git a/crypt/speeds.c b/crypt/speeds.c
index 6043eab129..0d55ae83be 100644
--- a/crypt/speeds.c
+++ b/crypt/speeds.c
@@ -42,7 +42,7 @@ struct tms tstart, tfinish;
char *crypt(), *fcrypt();
void
-Stop ()
+Stop (void)
{
double elapsed;
#ifdef NO_ITIMER
@@ -76,7 +76,7 @@ static void clearmem(start, cnt)
*start++ = '\0';
}
-main ()
+main (void)
{
char *s;
#ifdef NO_ITIMER