Get rid of some unnecessary casts and add a necessary one.
[oweals/openssl.git] / apps / gendsa.c
index db641da5036ababc0c48e2a5ce1d4bac5f9ba77c..da43245f8b0a74aee49d5570ddf0dd7a3751fd12 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_DSA
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
 #undef PROG
 #define PROG gendsa_main
 
-#ifndef NOPROTO
 static long dsa_load_rand(char *names);
-#else
-static long dsa_load_rand();
-#endif
-
 int MAIN(int argc, char **argv)
        {
        char buffer[200];
@@ -233,5 +229,4 @@ static long dsa_load_rand(char *name)
                }
        return(tot);
        }
-
-
+#endif