summaryrefslogtreecommitdiffstats
path: root/usr.bin/openssl/ecparam.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-08-22 16:36:05 +0000
committerjsing <jsing@openbsd.org>2015-08-22 16:36:05 +0000
commit20c6dab5ef5c8a30bc199e86a177139c92daa8b5 (patch)
tree19d360172daf040f7842985c0a863daea37d2b1b /usr.bin/openssl/ecparam.c
parentAdd cwd context to syslog entry. (diff)
downloadwireguard-openbsd-20c6dab5ef5c8a30bc199e86a177139c92daa8b5.tar.xz
wireguard-openbsd-20c6dab5ef5c8a30bc199e86a177139c92daa8b5.zip
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/ecparam.c')
-rw-r--r--usr.bin/openssl/ecparam.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/openssl/ecparam.c b/usr.bin/openssl/ecparam.c
index 1410d89f4e0..b0b46a145d4 100644
--- a/usr.bin/openssl/ecparam.c
+++ b/usr.bin/openssl/ecparam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecparam.c,v 1.11 2015/07/20 21:56:47 doug Exp $ */
+/* $OpenBSD: ecparam.c,v 1.12 2015/08/22 16:36:05 jsing Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
@@ -259,8 +259,6 @@ ecparam_usage(void)
options_usage(ecparam_options);
}
-int ecparam_main(int, char **);
-
int
ecparam_main(int argc, char **argv)
{