<<< Date Index >>>     <<< Thread Index >>>

[PATCH] Drop declaration for unused argv/argc parameters



# HG changeset patch
# User Matthias Andree <matthias.andree@xxxxxx>
# Date 1281122572 -7200
# Branch HEAD
# Node ID 221f5024197fde2c43f5e83ecad562b2fb0796d2
# Parent  317338b0d4908fe45c9ef8c07ea3b5ef81f11bf8
Drop declaration for unused argv/argc parameters.

Fixes GCC warning with -Wextra.

diff --git a/md5.c b/md5.c
--- a/md5.c
+++ b/md5.c
@@ -456,7 +456,7 @@
 
 #ifdef MD5UTIL
 /* local md5 equivalent for header cache versioning */
-int main(int argc, char** argv)
+int main(void)
 {
   unsigned char r[16];
   int rc;