summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/prime.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-08-22 16:36:06 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-08-22 16:36:06 +0000
commite1892f81b8a1c924d40606784458d569e3f68eea (patch)
treee593e162274c6c52a0df078254c49fb7d523a487 /usr.bin/openssl/prime.c
parent07a15b2cdf29c0d2880e4dfcc270506c47323228 (diff)
Remove all duplicate prototypes for *_main functions (these are already
provided by progs.h). Also, move the FUNCTION type (and flags) into openssl.c since that is the only place of use. Lastly, remove pointless 'extern' from the prototypes and use char **argv instead of char *argv[] (the former is used elsewhere). ok deraadt@ doug@
Diffstat (limited to 'usr.bin/openssl/prime.c')
-rw-r--r--usr.bin/openssl/prime.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/openssl/prime.c b/usr.bin/openssl/prime.c
index c597110d543..673abc24055 100644
--- a/usr.bin/openssl/prime.c
+++ b/usr.bin/openssl/prime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prime.c,v 1.6 2015/02/11 03:19:37 doug Exp $ */
+/* $OpenBSD: prime.c,v 1.7 2015/08/22 16:36:05 jsing Exp $ */
/* ====================================================================
* Copyright (c) 2004 The OpenSSL Project. All rights reserved.
*
@@ -109,8 +109,6 @@ prime_usage()
options_usage(prime_options);
}
-int prime_main(int, char **);
-
int
prime_main(int argc, char **argv)
{