Clean up md5.c function declarations
authorRemco Rijnders <remco@webconquest.com>
Wed, 16 Sep 2015 09:49:53 +0000 (11:49 +0200)
committerRemco Rijnders <remco@webconquest.com>
Wed, 16 Sep 2015 09:49:53 +0000 (11:49 +0200)
src/md5.c

index ffcf87c4db9dc63ced4086c68f6b0f2890928dad..e0f1f5762f12310800dd74505ac98ccf9aa2c1e9 100644 (file)
--- a/src/md5.c
+++ b/src/md5.c
@@ -51,8 +51,7 @@
  * QUESTION: Replace this with SHA, which as generally received better
  * reviews from the cryptographic community?
  */
-void MD5Init (buf)
-     u_int32_t buf[4];
+void MD5Init (u_int32_t buf[4])
 {
     buf[0] = 0x67452301;
     buf[1] = 0xefcdab89;
@@ -76,9 +75,7 @@ void MD5Init (buf)
  * The core of the MD5 algorithm, this alters an existing MD5 hash to
  * reflect the addition of 16 longwords of new data.
  */
-void MD5Transform (buf, in)
-     u_int32_t buf[4];
-     u_int32_t in[16];
+void MD5Transform (u_int32_t buf[4], u_int32_t in[16])
 {
     u_int32_t a, b, c, d;