diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-08-22 16:36:06 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-08-22 16:36:06 +0000 |
commit | e1892f81b8a1c924d40606784458d569e3f68eea (patch) | |
tree | e593e162274c6c52a0df078254c49fb7d523a487 /usr.bin/openssl/errstr.c | |
parent | 07a15b2cdf29c0d2880e4dfcc270506c47323228 (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/errstr.c')
-rw-r--r-- | usr.bin/openssl/errstr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/openssl/errstr.c b/usr.bin/openssl/errstr.c index 9a9c844c6a2..9cf7bfba4b7 100644 --- a/usr.bin/openssl/errstr.c +++ b/usr.bin/openssl/errstr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errstr.c,v 1.3 2015/04/14 10:54:40 jsing Exp $ */ +/* $OpenBSD: errstr.c,v 1.4 2015/08/22 16:36:05 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -89,8 +89,6 @@ errstr_usage() options_usage(errstr_options); } -int errstr_main(int, char **); - int errstr_main(int argc, char **argv) { |